In linux, vmwarecentos cannot configure a fixed ip address for centos cloned under vmware
1. clone a centos from vmware
2. Go to centos and open the command line and enter ifconfig. After the command is executed, no eth0 is found.
3. Execute the NIC startup command ifconfig eth0 up and then execute ifconfig
4. Configure the fixed ip, run vi/etc/sysconfig/network-scripts/ifcfg-eth0 to edit the file (HWADDR is not edited, is the mac address of the last cloned centos System)
5. restart the configuration file to make it take effect./etc/init. d/network restart
6. re-edit the configuration file vi/etc/sysconfig/network-scripts/ifcfg-eth0
7. restart the configuration file to make it take effect./etc/init. d/network restart
8. fixed ip address configured
9. Conclusion
After cloning the centos System in vmware, the mac address of the NIC of the new system is still the mac address of the NIC of the cloned system. You must specify the mac address of the NIC of the new system correctly.
Centos54 virtual machine cannot be started after cloning
Have all the vmdk files been copied? How do you feel that you have copied fewer vmdk files on the virtual disk?
A virtual machine may have multiple vmdks. During copy, you only need to copy the full vmdk, and then reference the vmdk in the new method ~
How to clone one CentOS to another CentOS in linux
Copy with dd, but be careful. This command is dangerous.