ESXi is designed to run virtual machines, minimize configuration requirements, and simplify deployment. In just a few minutes, customers can complete the entire process from installation to running the virtual machine, especially when downloading and installing pre-configured virtual appliances.
Download and upload CentOS images
First, download the CentOS image at the following address:The hyperlink login is visible. Reference:
Open the ESXI management interface through a browser and find Storage -> Data Store Browser -> Create Directory (iso_images) -> Upload"CentOS-8.4.2105-x86_64-dvd1.isoMirror, as shown below:
Create a virtual machine
In the ESXI management interface, click Create/Register Virtual Machine, as shown in the following figure:
Create a new virtual machine, as shown in the following image:
The name is defined by yourself, the guest operating system series is "Linux", and the guest operating system version is selected "CentOS 8 64-bit", as shown in the figure below:
According to my actual situation, I choose the appropriate storage, here, I choose datastore1, as shown in the figure below:
Customize settings to choose the appropriate CPU, memory, hard disk, etc. according to your own situation, the default for hard disk provisioning is: thick provisioning, delay zeroing, here you need to set it to "Thicken the reserves, set zeroAs shown below:
1. Streamlining Provisioning (THIN):
When creating a disk, the space occupied by the disk is calculated according to the actual usage, that is, how much is used, no space is allocated in advance, the disk data is not zeroed, and the maximum size of the partitioned disk is not exceeded.
Therefore, when there is an I/O operation, it is necessary to allocate space first, and then set the space to zero before performing the I/O operation. When there are frequent I/O operations, disk performance degrades.
2: Thick provision, delay zero:
The default creation format allocates space directly from the disk when you create a disk, but does not zero the data retained on the disk. So when there is an I/O operation, you only need to do the zeroing operation.
The disk has good performance and short time, making it suitable for virtual desktops in pool mode
3. Thick Setup:
Create disks for clustering capabilities. When you create a disk, you allocate space directly from the disk and zero in the disk retention data. So when there is an I/O operation, there is no need to wait for it to be executed directly.
Disks have the best performance and long time, making them suitable for running virtual machines that run heavy application services
Performance ordering of disks: Thick provisioning is zero > thick provisioning, delaying zero > streamlining provisioning
CD/DVD drive 1, select "Data storage ISO file", CD/DVD media select the one we just uploaded"CentOS-8.4.2105-x86_64-dvd1.isoThe file is as follows:
On the next page, you can preview our settings and click Done, as shown in the figure below:
Wait patiently to create a virtual machine with the following progress:
Start installing CentOS 8
After the virtual machine is created, we click "Power on" or click the picture with the play icon, as shown below:
Directly select CentOS 8 to install as shown below:
Select "Chinese" as shown in the figure below:
Install the destination, select Auto Partition, click directly, and select the Finish button in the upper left corner, as shown below:
The software selects "Server", as shown in the figure below:
For time and date, select "Shanghai", as shown in the figure below:
For the network and hostname, check Open, as shown in the figure below:
Set the root root password and then start the installation as shown below:
Restart the system as shown below:
Try to connect to a virtual machine remotely using xshell, as shown below:
(End)
|