Cloning and network configuration of linux virtual machines, linux virtual machines
1. On the Vmware page, right-click the virtual machine to be cloned, choose manage> clone> Create a cloned virtual machine.
2. On the Vmware page, enter the cloned Virtual Machine and start configuring the linux network environment.
3. Change the linux mac address
Switch to the terminal. the root user executes the following command: vi/etc/udev/rules. d/70-persistent-net.rules
4. Change the system IP address and mac address.
Run the following command on the terminal: vi/etc/sysconfig/network-scripts/ifcfg-eth0
5. Change ip user name ing
Run the following command on the terminal: vi/etc/hosts
Save and exit.
6. Run the command vi/etc/sysconfig/network.
7. Configure the network
Run service network restart
8. view the Firewall Status
Run service network restart
If the firewall is enabled, execute
1. service iptables stop // disable Firewall
2. chkconfig iptables off
3. Set selinux to disabled in vi/etc/SELINUX/config.
8. Restart the VM,
Execute reboot
9. Change the window local configuration file
Open the hosts file in path C: \ Windows \ System32 \ drivers \ etc \ hosts, and add 192.168.150.110 hmathine_colone (IP + host name separated by spaces) at the end of the file to save and exit.
10. Use secureCRT or filezilla to connect to linux
11. The configuration is complete.