Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to clone a VMware virtual machine

2025-04-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to clone the VMware virtual machine, which has a certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article.

I. Environment

VMware 14

Cloning system CentOS6.8

2. Start cloning

The cloned system is in the shutdown state. Select Virtual Machine > Management > Clone > next > next (Clone from the current state or existing snapshot) > create a full clone, next > create virtual machine name, save location, finish

III. Modification of new cloned virtual machines

The configuration information of the cloned virtual machine is exactly the same as that of the source virtual machine. Although it is two independent virtual machines, the remote is not available and the ping is different. If you want to use the two virtual machines normally, you need to make some modifications.

1. Click Virtual Machine > Settings > Network Adapter, Advanced > generate (click generate and record the new MAC address)

2. Start the newly cloned virtual machine

Delete the file / etc/udev/rules.d/70-persistent-net.rules (this file records the network card information. After deletion, the network card information will be automatically recognized when the system is rebooted and the file will be regenerated.)

3. Modify the configuration file, update HWADDR to the new MAC value, and set IPADDR to the new IP address.

Vim / etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE= "eth0"

BOOTPROTO= "none"

HWADDR= "00:0C:29:13:E6:20"

IPV6INIT= "yes"

NM_CONTROLLED= "yes"

ONBOOT= "yes"

TYPE= "Ethernet"

UUID= "f9f68f33-cad0-4147-8f7b-decd0c81abdf"

IPADDR=192.168.1.13

4. Modify the hostname: (HOSTNAME= new hostname)

Vim / etc/sysconfig/network

5. Restart the system

Reboot

6. Testing

Thank you for reading this article carefully. I hope the article "how to clone the VMware virtual machine" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report