[Learning experience] Download, install and create Ubuntu virtual machine of VMware

Python development environment construction in Linux system ①

1. Download and install VMware

1.1 Go to the official website to download the software: https://www.vmware.com/

1.2 Find workstation pro in the tools

1.3 Click on trial version

 

 1.4 Click to download

 1.5 Double-click installation

 1.6 Next step

1.7 Acceptance of License

 1.8 Select a disk with sufficient space for installation, check the enhanced keyboard driver, and add it to the path by default regardless of others

1.9 Cancel product update check and cancel participation in the customer experience improvement program

1.10 Create shortcuts

 1.11 Click to install

 1.12 Installation completed

 1.13 Open after restarting

1.14 Double-click to open and enter the license to use

2. Download the Ubuntu image and create a virtual machine

2.1 Download Ubuntu18 from Alibaba Cloud Mirror Station

https://developer.aliyun.com/mirror/

 

 2.2 Create a new virtual machine and select Customize

 2.3 Compatibility directly defaults to the next step.

 2.4 Choose to install the operating system later

 2.5 Select Linux operating system and Ubuntu 64-bit version

 2.6 Pick a name and specify the installation location

 

 2.7 Allocate CPU resources (it is recommended to occupy half of the physical machine)

 2.8 Allocate memory resources (recommended to account for half of the entity’s local machine)

 2.9 Select NET network type

 2.10 Default I/O controller category, go to the next step

 2.11 Default disk type, go to the next step

IDE disk: traditional disk interface, low performance, used for compatibility with earlier guest OS.

SATA disk: The current mainstream disk interface, with high performance, supports AHCI, and is used in most modern guest OS.

SCSI disk: Server-level interface, high performance, supports advanced functions such as protection, etc., used for enterprise applications.

NVMe disk: SSD interface based on PCIe interface, with the highest performance and used for high-performance applications.

2.12 Create a new virtual disk

 2.13 The default disk capacity is enough, just go to the next step.

 2.14 Just specify the disk file by default and go to the next step.

 2.15 Complete the creation of the virtual machine

 2.16 Select the virtual machine just created and edit the virtual machine settings

2.17 Select CD/DVD in the hardware and use the downloaded ISO image file to install the system

 3. Install Ubuntu system

3.1 Open the virtual machine, wait for a moment, select the Chinese language and click Install

 3.2 Default keyboard layout, continue

 3.3 Default normal installation, continue

 Because I want to have all Ubuntu functions without having to install them myself later.

3.4 Select Clear Disk and Install, click Install Now

 Confirm writing, click to continue

3.5 The default Shanghai time zone does not need to be changed, continue

 3.6 Set user account password

 3.7 Wait a moment

 3.8 After clicking restart, the installation is successful

 3.9 Configure virtual network editor

Click Edit to find the virtual network editor

 3.10 Click Change Settings to obtain administrator privileges

 3.11 Check the network connection of your physical Windows computer

Find the IP and subnet mask of VMnet8. The schematic diagram of NET network mode is as follows

 3.12 Select VMnet8 and click NAT settings

 3.13 Configure the correct gateway IP and check whether the VMnet8 subnet IP and subnet mask are the same as what you queried before

 3.14 Find the .yaml file in the /etc/netplan path in the terminal

 Write a file and set the local IP and gateway IP

Enter the command to make the configuration take effect

 [Note] If there is still no network after configuration, restore the default settings and install and configure the above steps again.

 3.15 Test whether there is internet

Guess you like

Origin blog.csdn.net/qq_39780701/article/details/130730091