1. Install VMware Workstation Pro software
2. Click File, click New Virtual Machine
3. Choose the model, generally just start learning, you can choose the model
4. Choose to install the operating system later
5. According to what you have learned, choose the operating system. The CentOS 7 64-bit installed here, starting from CentOS 7, has no difference between 32/64 bits, all 64-bit.
6. Customize the virtual machine name
7. Choose the installation location of the virtual machine, do not put it on the C drive
8. How much disk capacity is allocated to the virtual machine, if you learn by yourself, generally choose 50G, you can also choose a larger one, but even if you choose a large space, it will not occupy your disk space at once, but will increase as the use increases Big.
Store the virtual disk as a single file, multiple files, the difference between the two is essentially the same, a single file is easy to manage, but if the data becomes larger as you use it, it is not easy to migrate, multiple files : You will see multiple files in the folder where the virtual machine is installed, so that when migrating, it is easy to migrate.
9. The picture below is what you click to finish. The configuration interface you see, the selected memory is 4g, and the disk is 200G.
You can edit the virtual machine settings, according to the configuration of your notebook, set the configuration you need, I configured here 2 core CPU, 4G memory, 200G hard
10. Select the image file and set it to connect at startup. At this point, the device hardware settings have been set, click to start the virtual machine.
Problem handling: When we are using a virtual machine, a xxx.lck directory will appear under the installation directory. This file will automatically disappear after the virtual machine is turned off. When we are using the virtual machine, the power is suddenly turned off This file will not disappear with the shutdown. When we start the virtual machine next time, because of the existence of this file, it will not start. The solution is: delete this folder and you can start normally.
11. Click to open the virtual machine, select the first installation
The first item is: Install Install CentOS 7
The second item is: Test whether there is a problem with the CD image Test this media & install CentOS 7
The third item is: Troubleshooting
1. Virtual machine software:
vmware workstation (charged)
virtualbox (oracle free)
hyper-v (charged with windows)
2. Download address:
System download:
http://mirrors.163.com/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
Reason: CentOS and RHEL gpl (you have to make sure: the open source software you take away will be open source after the second development) Linux itself is a kernel. GNU
3. Installation steps
1. Create a new virtual machine
2. Choose Custom and click Next
3. Edit the virtual machine name
4. Choose the installation location
5. Select version
6. Default selection
7. Choose memory size
8. Default selection, click next
9. Default selection, click next
10. The default selection, click Next
11. Select the hard disk capacity
12. The default selection, click Next
13. Click √ (Edit virtual machine settings before completion), and then click Continue
14. Click on the new CD / DVD, then click on the data storage ISO file, select the system, and tick Connect when turning on the power.
15. After finishing, click Finish and you will see a record of creating a virtual machine.
17. Choose the first installation
The first item is: Install Install CentOS 7
The second item is: Test whether there is a problem with the CD image Test this media & install CentOS 7
The third item is: Troubleshooting
18. Pull down the menu, select Chinese, Simplified Chinese, and click Continue.
19. Choose Minimal Installation
20. Select I want to configure the partition, and then click Finish
21. Select the standard partition, click +
22. Mount point / boot 200MB
swap 4096MB (twice the size of the memory and does not need to exceed 8G)
/ Allocate all remaining space
Click Finish.
23. Choose to accept changes
24. Click to start the installation
25. At this time, the system has been installed, you need to set the password of the root account
26. Enter the password and click Finish. The password setting should be as complicated as possible.
27. Wait for the installation to complete. Click Restart, enter the account and password to install successfully.