搜尋此網誌

2014年8月14日 星期四

Debian Sources List Generator

http://debgen.simplylinux.ch/

真方便~~~


2014年8月12日 星期二

CentOS6.5在VMWare Workstation底下新增HD不用重開

根據
http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-guest.html

1.新增hd,可以看一下/sys/class/scsi_host/
#echo "- - -" > /sys/class/scsi_host/host2/scan
#fdisk -l

2.若要刪除
#echo 1 > /sys/block/sdb/device/delete
#fdisk -l

CentOS 6.5 Clone 後網卡失效

查了一下...

http://chair.twgg.org/2011/07/centos-6-clone.html
http://shaurong.blogspot.tw/2012/12/vmware-image-clone-eth0-eth1.html

最快方式
1.把mac address 註解
#vi /etc/sysconfig/network-scripts/ifcfg-eth0

2.修正eth0與eth1
#vi /etc/udev/rules.d/70-persistent-net.rules
把eth0那行註解,把eth1那行最後的name改成eth0

3.系統重開,搞定!