文章

目前顯示的是 2012的文章

COPY別人的LVM回來用時,可能會碰到的問題及需要注意的地方

NIC eth0 is gone Solution: 刪除/etc/udev/rules.d/70-persistent-net.rules後重新開機 # cd /etc/udev/rules.d # cp 70-persistent-net.rules /root/ # rm 70-persistent-net.rules # reboot Configure NIC onboot Update your /etc/sysconfig/networking-scripts/ifcfg-eth0 with eth1 HWaddr (MAC address), enter: # cat /etc/sysconfig/networking-scripts/ifcfg-eth0 Sample outputs: # DEVICE="eth0" # BOOTPROTO="dhcp" # NM_CONTROLLED="yes" # ONBOOT="yes" # HWADDR="00:0C:29:69:0C:4A" Save and close the file. Restart the network service, enter: # service network restart You can verify new settings with the following commands: # ifconfig -a # route -n Change keyboard layout Change keyboard layout to English keyboard # loadkeys us Change default keyboard layout to English keyboard # vi /etc/sysconfig/keyboard // need root permission // vi text editor # KEYTABLE="us" # KEYBOARDTYPE="pc" // type "ESC&q