linux-centos8.5 installation (practical operation)

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


Wait, press Enter, jump to this interface, drop down to select Chinese, Simplified Chinese, click to continue


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


Select [Installation Destination], click [Custom], and then click [Finish]

Click on the underlined font

Since there is almost no need to create other users, I choose to delete the home partition, select [/home], and then select [-]

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

Click [Accept Changes]


Select [Network and Hostname], select [Configuration] in the lower right corner

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]

Select [Open], click [Finish]


Remember to set [root password], click [Start Installation] after setting

Wait for the installation to complete.


set up ssh connection

input the command

vim /etc/ssh/sshd_config

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)

At this point, centos8.5 is installed!

Guess you like

Origin blog.csdn.net/weixin_42517271/article/details/128570126