linux克隆
1 打开VMware, 在min1上右键-manage-clone
2 选择 create a full clone
3 输入min3,路径修改为g:\Machines\min3
4 点击完成
5 启动虚拟机min3,输入root/hadoop登录
6 网卡设置-min2-IPADDR=192.168.33.62
1:直接修改 vi /etc/sysconfig/network-scripts/ifcfg-eth0
2:删掉UUID HWADDR
3:设置ONBOOT=YES
4:配置静态地址:
BOOTPROTO=none
IPADDR=192.168.33.62
NETMASK=255.255.255.0
GATEWAY=192.168.33.1
DNS1=192.168.33.1
5:然后删除:
rm -rf /etc/udev/rules.d/70-persistent-net.rules
6:修改主机名:
cd /etc/sysconfig
vi network
NETWORKING=yes
HOSTNAME= min2
7:然后 reboot
7 网卡设置-min3-IPADDR=192.168.33.63
1:直接修改 vi /etc/sysconfig/network-scripts/ifcfg-eth0
2:删掉UUID HWADDR
3:设置ONBOOT=YES
4:配置静态地址:
BOOTPROTO=none
IPADDR=192.168.33.63
NETMASK=255.255.255.0
GATEWAY=192.168.33.1
DNS1=192.168.33.1
5:然后删除:
rm -rf /etc/udev/rules.d/70-persistent-net.rules
6:修改主机名:
cd /etc/sysconfig
vi network
NETWORKING=yes
HOSTNAME= min3
7:然后 reboot