Cloning and network configuration of linux virtual machines, linux virtual machines

Source: Internet
Author: User

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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.