The virtual machine VMware12.0 custom installs the Linux operating system, using the mirrored CentOS 8 mini version

Linux operating system custom installation:

VMware-workstation-full-12.0.0 download
Extraction code: vxqr

CentOS-8.3.2011-x86_64-minimal download
Extraction code: o7mh

Edit>Preferences, select the default storage location, try not to exist in the C drive.
insert image description here
File > New Virtual Machine Wizard, select Custom Mode.
insert image description here
The current version is 12.0, click Next.
insert image description here
Choose to install the operating system later and click Next.
insert image description here
Select the Linux operating system, 64-bit.
insert image description here
Customize the virtual machine name and click Next.
insert image description here
Select the virtual machine processor configuration, customize it reasonably according to the computer configuration, and click Next.
insert image description here
Select the virtual machine memory, customize it reasonably according to the computer configuration, and click Next.
insert image description here
By default, Network Address Translation NAT is used.
insert image description here
Default, recommended, click Next.
insert image description here
Default, recommended, click Next.
insert image description here
Select Create a new virtual disk and click Next.
insert image description here
The maximum disk size can be reasonably customized according to the computer configuration, and click Next.
insert image description here
At this point a .vmdk file is generated and click Next.
insert image description here
Choose custom hardware.
insert image description here
First click New CD/DVD, then choose to use the ISO image file, choose the image you downloaded, and then click Add.
insert image description here
After clicking Add, a box will appear. If you can see the "file in use" behind the new CD/DVD is the image you just selected, then it is successful. Click Cancel, then click Close, and then click Finish.
insert image description here
At this point, the virtual machine has been created. Put the mouse on the new CD/DVD, and you can see what image is being used. If there is no image, select the downloaded image before starting. If there is an image, click to start the virtual machine. Can.
insert image description here
Click to start this virtual machine to start configuration.
insert image description here
Select English and click Continue.
insert image description here
Click InstallInstallation.
insert image description here
Select Custom and click Done.
insert image description here
Click the + sign to start disk partitioning.
insert image description here
Start to select the disk partition, and the list will display all partitioned directories.
insert image description here
Select the root directory/set to 40G, click Add mount point.
insert image description here
The picture shows the value of the currently partitioned disk, and the BIOS Boot is set to 2M. After the partition is completed, click home, select DEviceL Type as LVM and Volume Group as cl in the parameters on the right, and finally click Done in the upper left corner to complete.
insert image description here
Click Accept Changes to accept the changes.
insert image description here
Set the time zone.
insert image description here
After the modification is completed, click Finish in the upper left corner.
insert image description here
Click Set root password.
insert image description here
After entering the root password, confirm it again, you have to click twice to complete it.
insert image description here
Finally, click to start the installation and wait for the installation to complete.
insert image description here
When complete appears, the installation is complete, click Reboot System to restart the system, and the customized virtual machine can be used.
insert image description here

-------------------------------------------------- --------Dividing line---------------------------------------- ------------------
Use the xshell connection tool to connect to the virtual machine and configure a fixed ip address.
Fill in the roo account password to log in.
insert image description here
Modify the address of the local VM8 and configure a fixed ip address.
insert image description here
Configure the ip address of the local VM8.
insert image description here
Edit > Virtual Network Editor, modify the virtual machine NAT configuration.
insert image description here
Modify ens33 configuration
vi /etc/sysconfig/network-scripts/ifcfg-ens33
insert image description here
to refresh, and then check the ip address, ifconfig command or ipaddr command, if the ip address appears, it is completed.
systemctl restart network.service (centOS7 command, restart the network)
nmcli c reload (centOS8 command, refresh configuration)
nmcli c up ens33 (centOS8 command, restart the network)
insert image description here
At this time, tools such as xshell can be used to connect to the virtual machine. If the connection fails, check Check whether it is due to the firewall, first temporarily close it, and use a test tool to connect. If the configuration is correct and the connection cannot be made, you can change the network segment and reconfigure the ip of the local machine and the ip of the vm virtual machine.

View firewall status
systemctl status firewalld.service
temporarily enable firewall
systemctl start firewalld.service
temporarily close firewall
systemctl stop firewalld.service
start disable firewall
systemctl disable firewalld.service
start firewall
systemctl enable firewalld.service

Guess you like

Origin blog.csdn.net/qq_41619841/article/details/123047735