Created
May 16, 2013 01:03
-
-
Save andyyou/5588678 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 安裝完成 CentOS 之後設定 VMWare 網路連線為 Bridge | |
2. vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
3. 編輯內容如下 | |
DEVICE=eth0 | |
TYPE=Ethernet | |
HWADDR=00:0C:29:1B:3C:33 | |
UUID=d1f10f9c-9393-45db-950d-5d8d49c9bf88 | |
ONBOOT=yes | |
BOOTPROTO=static | |
NM_CONTROLLED=yes | |
IPADDR=192.168.100.10 | |
NETMASK=255.255.255.0 | |
GATEWAY=192.168.100.1 | |
BROADCAST=192.168.100.255 | |
NETWORK=192.168.100.0 | |
4. service network restart | |
5. ping google.com (for testing) | |
6. yum update | |
7. Install VMWare Tools | |
yum install gcc kernel-devel perl make openssh-clients | |
cd /tmp | |
mount /dev/cdrom /mnt | |
cp /mnt/VMwareTools-4.0.0-261974.tar.gz . | |
tar zxf VMwareTools-4.0.0-261974.tar.gz | |
cd vmware-tools-distrib/ | |
./vmware-install.pl | |
init 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment