原创 How To Reset Your Forgotten Root Password On CentOS 7 Servers

Sometimes you forget stuff. I do. I forget important passwords for important websites sometimes. Retrieving your forgott

原创 find whereis locate which

我們經常在linux要查找某個文件,但不知道放在哪裏了,可以使用下面的一些命令來搜索。這些是從網上找到的資料,因爲有時很長時間不會用到,當要用的時候經常弄混了,所以放到這裏方便使用。 which       查看可執行文件的位置 where

原创 .bashrc

~/.bashrc    alias ls='ls --color=auto'    #alias dir='dir --color=auto'    #alias vdir='vdir --color=auto'    #alias gr

原创 Reset root password in CentOS 7 / RHEL 7

There may be some occasion you will end up with requirement to reset the root password, the occasion comes when you forg

原创 CentOS 7 / RHEL 7 : Reset / Recover forgotten root password

CentOS 7 / RHEL 7 : Reset / Recover forgotten root passwordOctober 11, 2014 by sharad chhetri 4 CommentsIn this post we

原创 centos 7 忘記密碼 修改用戶登錄密碼

centos 7是一款開源的基於linux內核的免費系統了,下文我們來看看在centos 7重置密碼的操作步驟,希望下文能幫助到各位。rhel7/centos7 使用了grub2代替了之前的grub引導,由init初始化更換成了system

原创 “intel_rapl: no valid rapl domains” message upon boot blacklist.conf -1

“intel_rapl: no valid rapl domains” message upon bootI install fresh Ubuntu 14. 04 server under ESXI 5.1.0.During my ins

原创 linux exec用法總結

Linux中exec的用法總結先總結一個表:exec命令 作用 exec ls 在shell中執行ls,ls結束後不返回原來的shell中了 exec  將file中的內容作爲exec的標準輸入 exec >file 將file中的內容作爲

原创 Centos的yum源

阿里雲Linux安裝軟件鏡像源阿里雲是最近新出的一個鏡像源。得益與阿里雲的高速發展,這麼大的需求,肯定會推出自己的鏡像源。阿里雲Linux安裝鏡像源地址:http://mirrors.aliyun.com/CentOS系統更換軟件安裝源第一

原创 搬家了

好久沒更新 新家

原创 CENTOS 7 dmesg

[    0.000000] Initializing cgroup subsys cpuset[    0.000000] Initializing cgroup subsys cpu[    0.000000] Initializing

原创 How to Blacklist a Kernel Module in CentOS

How to Blacklist a Kernel Module in CentOSHow to Blacklist a Kernel Module in CentOS is an important piece of knowledge

原创 tar

Linux下常用壓縮格式的壓縮與解壓方法 日期:2005-01-20   來源: LinuxByte   作者: Linux愛好者  .tar 解包: tar xvf FileName.tar 打包:tar cvf FileName.tar

原创 CENTOS 7 udev:renamed network interface eth0 to eth1 eno16777736

將這個/etc/udev/rules.d/70-persistent-net.rules刪除,重啓,網卡eth0成功啓動,並重新生成/etc/udev/rules.d/70-persistent-net.rules文件。[root@loca

原创 查看Centos系統信息命令

Linux下*.tar.gz文件解壓縮命令1.壓縮命令:  命令格式:tar  -zcvf   壓縮文件名.tar.gz   被壓縮文件名      可先切換到當前目錄下。壓縮文件名和被壓縮文件名都可加入路徑。 2.解壓縮命令:  命令格式