1. Install VMware
1.1 Download VMware
1. Go to vmware official website to download;
2. Or search directly on the search engine. There are many shared virtual machine installation packages on the Internet.
1.2 Install VMware
1. Download the file: After installation, this interface will appear.
2. If you click Next and this page appears, it proves that you already have VMware in your computer and can use it directly. If you want to reinstall, just delete it and reopen the installation program to continue the installation.
3. Check [I accept the terms of the license agreement] and click [Next].
4. You can choose the installation location and change it to a drive other than the C drive to prevent the C drive from being full (of course, if your C drive has more space, you can choose not to change it).
5. Then the software is being installed...
6. The installation is completed.
7. Search for the VMware workstation16 key from the search engine, copy one and fill it into the license, and finally click Finish (the corresponding key is not provided in this article). If you click Finish first, just enter the key in the help.
2. Install Ubuntu in a virtual machine
2.1 Download Ubuntu
1. Download the Ubuntu image file.
Enter the Ubuntu official website and click download
2. Click "desktop" -> "download"
2.2 Install Ubuntu operating system (Ubuntu16.04)
1. Create a new folder to store the installed system (it is recommended that the path should not contain Chinese characters)
2. Create 2 folders VM and DATA under the linux folder
3. Copy the Linux system image to the Linux folder
4. Install
5 .Select Custom (Advanced) (C), and then click [Next].
6. Select [Workstation 16.x] and click [Next].
7. Select [Install the operating system later] and click [Next].
8. Select [Linux] and [Ubuntu 64-bit], and then click [Next].
9. Edit the name of the virtual machine. Choose the name as you like. It is best not to contain Chinese characters, and select the VM folder under Linux.
10.1 Here is a step to check how to check the number of cores of your computer. Right-click [WIn] and click on Device Manager;
10.2 For example, as shown in the figure below, this computer has 4 cores.
11. Select the number of processors and the number of cores per processor, and then click [Next].
12. Select the virtual machine memory and click [Next].
13. Select [Use a bridged network], and then click [Next].
14. Select [LSI Logic(L)], and then click [Next].
15. Select [SCSI(S)], and then click [Next].
16. Select [Create a new virtual disk (V)], and then click [Next].
17. Select [Maximum disk size], check [Split virtual disk into multiple files] and click [Next].
18. Select the disk space location and click [Next].
19. Select [Customize Hardware].
20. First click [CD/DVD (SATA)], then select [Use ISO Image File], select the previous Ubuntu image file, and then click [OK].
21. If the situation is the same as the following, click Close and click Finish (if not encountered, ignore this step).
22. Click on the settings option of the virtual machine, and then perform the following operations.
23. After completing the creation of the blank virtual machine, proceed with the installation of Ubuntu and click [Open this virtual machine] (the name of the virtual machine previously set in step 9).
Then press Enter or wait a few seconds and it will automatically jump.
24. Select [Chinese (Simplified)]. Of course, if your English is better, it is better to choose Eglish. Then click [Install ubuntu]
Steps 1~24 are applicable to the installation of most Ubuntu versions (I have only tried the installation of Ubuntu16.04 and Ubuntu22.04. The installation process of the intermediate versions should not be much different. You can refer to the above steps.), Ubuntu22. The subsequent installation steps of 04 (newer version) are slightly different from those of Ubuntu16.04. You can jump directly to the 2.5 Ubuntu22.04 (newer version) installation tutorial.
25. Click the two check boxes as shown below, and then click [Continue].
26. Select [Erase entire disk and install Ubuntu], and then click [Install Now].
27. Click [Continue].
28.InputShanghai, click [Continue]. (Don’t ask why you chose Shanghai, just ask because we are all from Shanghai hhh)
29. Select [Chinese] (both left and right), and then click [Continue].
30. Set the account information, as shown below. Click [Continue] when the setting is completed.
31. Installing the system..., just wait for the installation.
32. When the installation is complete, click [Restart Now].
33. Press the Ctrl+Alt keys simultaneously and release the mouse
. At this point, the installation of the Ubuntu operating system in the virtual machine is completed.
2.3 VM-Tools related tool installation
1.1 Achieve interoperability between two systems – install a tool VM-Tools, and remind you to install tool 1.2 on the lower side. You
can also install it on the following interface
. 2. The interface will pop up automatically.
3. Right-click on a blank space and open it in Terminal.
4. When the command is input. You can enter the first few letters and then press the TAB key on the keyboard to automatically complete them.
sudo cp VMwareTools-10.3.23-16594550.tar.gz /tmp
sudo cd /tmp
sudo tar -xvf VMwareTools-10.3.23-16594550.tar.gz
cd vmware-tools-distrib/
sudo ./vmware-install.pl
Where there is a pause, just press the Enter key.
reboot
To verify that the installation is complete, you can copy and paste a file directly into Ubuntu.
2.4 Set up Ubuntu root user login
sudo passwd root
cd /usr/share/lightdm/lightdm.conf.d/
sudo gedit 50-ubuntu.conf
greeter-show-manual-login=true
Then Ctrl + S to save, Ctrl + Q to exit, and then enter reboot to restart.
reboot
gedit /root/.profile
#mesg n || true
tty -s && mesg n
reboot
If the virtual machine is not in use, we can just click suspend.
We do not use the root account to log in, we use a normal account to log in.
2.5 Ubuntu22.04 (newer version) installation tutorial
Step 1-24 reference2.2 Install Ubuntu operating system (Ubuntu16.04)
25. Select the language as Chinese and click Continue
26. Click Continue by default
27. Click Install Now
28. Click Continue
29. Select the time zone
30. Set the login user and password
31. Wait for the system installation to complete
32: Click [Restart Now]
33. At the same time Press the Ctrl+Alt keys and release the mouse
At this point, the installation of the Ubuntu22.04 operating system in the virtual machine is completed.
[Note] Ubuntu22.04 version does not require manual installation of VM-Tools related tools. The system has already been installed for us when installing the operating system.
3. Uninstall Ubuntu in the virtual machine
1. Right-click the virtual machine->Manage->Delete from disk
2. Click "Yes"
3. Enter the installation document of Ubuntu and delete the iso file downloaded before (you do not need to uninstall it, I will uninstall it to introduce the download steps)
Disclaimer: The configuration process in this article is for learning reference only. If you plan to use it for commercial purposes, please do not purchase and use genuine software! Infringement will be deleted immediately! ! !