Here is a record of the whole process of installing centos8.5
When configuring the virtual machine configuration, select centos8 or other linux systems, send ctrl+alt+del combination keys to restart after booting, press esc madly, enter the following screen, select the white font to the first line with the up and down keys (install centos linux 8)
ps: The second line will verify the installation package first and then install it, which takes a long time
![](https://img-blog.csdnimg.cn/img_convert/d99ac00e7fb7e8f15626acccc1a32c1a.png)
Wait, press Enter, jump to this interface, drop down to select Chinese, Simplified Chinese, click to continue
![](https://img-blog.csdnimg.cn/img_convert/48ad5a8843072c747198002ad983c0bc.png)
Select [Software Selection], you can choose the minimum installation, but some common functions need to be installed by yourself. There are no special requirements here. I choose [Server], which is enough
![](https://img-blog.csdnimg.cn/img_convert/5b316d09d795097c118141927a8fe213.png)
Select [Installation Destination], click [Custom], and then click [Finish]
![](https://img-blog.csdnimg.cn/img_convert/072f228230d3310f37a3fe69082fbadd.png)
Click on the underlined font
![](https://img-blog.csdnimg.cn/img_convert/e85f0f7a2f3d196aa2d4b5e84d9050b2.png)
Since there is almost no need to create other users, I choose to delete the home partition, select [/home], and then select [-]
![](https://img-blog.csdnimg.cn/img_convert/2b7c342d0b13445fc1d141a17ece7346.png)
All the remaining space is given to the root partition, click [/root], fill in the expected capacity on the right with 270G, pull down, click [Update Settings], the root directory will be automatically allocated the largest available space, click [Finish] in the upper left corner
![](https://img-blog.csdnimg.cn/img_convert/db8375f1a04ca3478c593c00b526a77e.png)
Click [Accept Changes]
![](https://img-blog.csdnimg.cn/img_convert/84aa6ad61b56b91b15db3792e9071cd5.png)
Select [Network and Hostname], select [Configuration] in the lower right corner
![](https://img-blog.csdnimg.cn/img_convert/b46089407df5e1187458eaed1b395df4.png)
Select IPv4 settings, because the static ip is obtained here, so the method selects [Manual], click [Add], enter the address, fill in the dns server address, and click [Save]
![](https://img-blog.csdnimg.cn/img_convert/91a04a6479c1b344aa48e0511c2bbbed.png)
Select [Open], click [Finish]
![](https://img-blog.csdnimg.cn/img_convert/5d18fdf178c8239f5a050bd2c9498815.png)
Remember to set [root password], click [Start Installation] after setting
![](https://img-blog.csdnimg.cn/img_convert/2c7befc369e191e5bb9c7d2118019981.png)
Wait for the installation to complete.
![](https://img-blog.csdnimg.cn/img_convert/fb4d4edfd10288b55ba89a8a84c020f5.png)
set up ssh connection
input the command
vim /etc/ssh/sshd_config
![](https://img-blog.csdnimg.cn/img_convert/dd6bbe199cf07aa4f87f609ea1934cc0.png)
will be as shown
port
listenaddress 0.0.0.0
listenaddress ::
Remove the # in front of the three lines (press i to enter the edit mode, remove it, press the esc key, and enter: wq)
![](https://img-blog.csdnimg.cn/img_convert/6d2cb2dfd23bfd15eaba7915f2d8d215.png)
At this point, centos8.5 is installed!