Explain the installation process of CentOS system in detail

Time:2021-2-21

Because the author has been using CentOS, so this installation system is also based on CentOS. Insert the CD into the CD-ROM drive and set the BIOS CD-ROM drive to start. Enter the welcome interface of CD.
2015623173340737.png (636×482)

There are two options. You can press enter directly, or you can enter Linux text in the current interface and press enter. The former is installed under the graphics, can move the mouse, the latter is pure text form. It is recommended that beginners use the former installation. After entering directly, the following interface appears:
2015623174157394.png (726×404)

This step is to prompt you whether you want to check the CD. The purpose is to see if the installation package in the CD is complete or has been changed. Generally, if it is a regular CD, you don’t need to do this step, because it takes too much time. The next step is:
2015623174218556.png (802×602)

There is nothing to explain in this step, just click “next”
2015623174246296.png (798×602)

Here is the language to choose when installing the system. I’m used to using English. Of course, you can also choose Chinese (Simplified Chinese), and then click “next”
2015623174319971.png (798×600)

Here is to choose the right keyboard. We usually use English keyboard, so we don’t need to move here. The default is “next”
2015623174342866.png (803×604)

Here you will be prompted that the following will be partitioned, the disk will be initialized, and the data on the disk will be lost. Do you want to initialize the device and clear the data on the disk. Because the disk is empty, select “yes”
2015623174420038.png (802×600)

At this point, it’s time to partition. There are four ways to choose from
2015623174502576.png (496×125)

First, remove all partitions on the selected disk, and then partition in the default way;

Second, remove all Linux partitions on the selected disk (if there are windows partitions on the disk, they will not be removed), and then partition according to the default mode;

Third, use only the spare part on the selected disk, and partition according to the default mode;

The fourth is user-defined.

Here we choose the fourth one. Then “next”
2015623174543372.png (804×602)

2015623174608292.png (802×598)

Next, it’s time to partition. The partition is very flexible, but generally according to this rule (this is how the server is divided. If you are a virtual machine, please see the following part)

/ boot partition 100m

If it is more than or equal to 4G, it only needs 4G
2015623174700773.png (515×445)

/ partition to 20g
2015623174720851.png (516×447)

Spare space for / data
2015623174740305.png (516×448)

Note: the boot partition is the file needed for system startup, just like the windows directory in the C disk of windows. The file in this partition is not big, only 100m is enough. Swap partition is a swap partition. When there is not enough memory, the system will use this part of space as memory. /Partition is actually a root directory, which will be introduced in later chapters. It doesn’t matter if you don’t understand now, just know that there is such a thing. /The data partition is our custom partition, which is dedicated to storing data.

If you are installing a virtual machine and you only have 8g of disk space, I suggest you partition it as follows:

1 /boot 100M

2 times the swap memory

3 / all remaining space

After partition, click “next”
2015623174811974.png (799×600)

You can check in front of use a boot loader password. The function of this option is to add a password to the boot loader. In order to prevent someone from entering the single user mode through the CD, you can change the root password.

The following options can also be checked, I have never used this function, if you are interested, you can study it. And then the next step
2015623174832068.png (797×601)

This step is to configure the network card information. You can now customize the IP of the network card and configure the host name. By default, it is obtained through DHCP. You can also click manually to customize a host name, such as mail.example.com . If there is no configuration in both ways, then Linux will give you a universal host name, that is localhost.localdomain The rest are not configured, and are left blank by default.

The next step is to choose the time zone. Of course, we have to choose our time zone, Asia / Chongqing. If there is no Chongqing, then choose Asia / Shanghai.
2015623174902043.png (803×602)

Go on to the next step
2015623174934761.png (802×601)

Define a root password here and continue to the next step
2015623175004393.png (798×602)

Here we need to select the package to install. I am used to custom installation. I need to click “customize now” below and then go to the next step

“Desktop environments” on the right, remove the check in front of gnome. This is actually the GUI installation package. If you don’t remove the check, the GUI will be installed.
2015623175052067.png (745×262)

“Applications” should not be used except for the tick in front of editors
2015623175114319.png (744×244)

All “development” should be checked
2015623175243221.png (746×233)

Do not tick “servers” or any of the following items, and then proceed to the next step
2015623175336618.png (793×599)

After clicking next, the system will be installed.
2015623175354361.png (803×598)

After the meeting, it will appear
2015623175418645.png (804×592)

So far, the Linux system has been installed. Next, click “reboot” to restart and enter the Linux system.

Recommended Today

Background management system menu management module

1 menu management page design 1.1 business design Menu management, also known as resource management, is the external manifestation of system resources. This module is mainly to add, modify, query and delete the menu. CREATE TABLE `sys_menus` ( `id` int(11) NOT NULL AUTO_INCREMENT, `Name ` varchar (50) default null comment ‘resource name’, `URL ` varchar […]