Chapter 3 Virtual Machine Clone, Snapshot, Migration and Deletion

1.Clone of virtual machine

If you have already installed a Linux operating system and you want more, there is no need to reinstall it, you just need to clone it
, watch the demo.

  • Method 1, directly copy an installed virtual machine file, and then open the file with the virtual machine
  • Method 2, use vmware's cloning operation. Note that when cloning, you need to shut down the Linux system first.
    Insert image description here
    Insert image description here
    Insert image description here
    Insert image description here
    Insert image description here

2. Snapshot of the virtual machine

If you are using a virtual machine system (such as Linux) and you want to return to a certain original state, that is to say, you are worried that some misoperations may cause system abnormalities and you need to return to an original normal running state. vmware also Providing such a function is called snapshot management

  • Applications
  1. After installing the system, first take a snapshot A
  2. Enter the system and do some operations, such as creating a folder and saving a snapshot B
  3. Return to the state where the system has just been installed, that is, snapshot A
  4. Try it and see if you can return to snapshot B again
    Insert image description here

(1) Create a snapshot

Insert image description here
Insert image description here

(2) Roll back to a certain snapshot

Right-click the corresponding virtual machine system-"Snapshot-"Snapshot Manager.
Insert image description here
Insert image description here
Insert image description here
The same goes for rolling back to other states. Snapshots will occupy a certain amount of memory. Make meaningful snapshots.

3. Migration and deletion of virtual machines

After the virtual system is installed, its essence is a file (placed in a folder). Therefore, the migration of virtual systems is very convenient. You can copy or cut the entire folder of the
installed virtual system to another location for use .

delete

Way 1

Select the virtual machine to be deleted and click as shown below
Insert image description here

Way 2

Just remove it from the virtual machine and then manually delete the folder corresponding to the virtual system.
Insert image description here

Guess you like

Origin blog.csdn.net/wyr1235/article/details/128999946