Configuration required after cloning Linux

Source: Internet
Author: User

1. Modify the/etc/udev/rules.d/70-persistent-net.rules,reboot system , which defines the binding relationship between the network card and the MAC address.

Vi/etc/udev/rules.d/70-persistent-net.rulesreboot

If Max produces a new Max address in VMware, just like Max, the cloned Linux. again to modify.

2, change the/etc/sysconfig/network-scripts/ifcfg-eth3 to Xxx-eth0, modify the information inside, open etc/sysconfig/network-scripts/ Ficfg-eth0 (if this file does not exist, rename it from Xxx-eth3), make sure onboot should be yes

VI Etc/sysconfig/network-scripts/ficfg-eth0


3, check Ficfg-eth0 mac and ifconfig the actual Mac and virtual machine Information page corresponds to the NIC's Mac, and modify the Ficfg-eth0 Mac.

4, modify the/etc/sysconfig/network inside the hostname into a new hostname

3. Restart the Services service network restart.


Configuration required after cloning Linux

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.