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.
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:
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:
There is nothing to explain in this step, just click “next”
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”
Here is to choose the right keyboard. We usually use English keyboard, so we don’t need to move here. The default is “next”
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”
At this point, it’s time to partition. There are four ways to choose from
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”
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
/ partition to 20g
Spare space for / data
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”
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
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.
Go on to the next step
Define a root password here and continue to the next step
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.
“Applications” should not be used except for the tick in front of editors
All “development” should be checked
Do not tick “servers” or any of the following items, and then proceed to the next step
After clicking next, the system will be installed.
After the meeting, it will appear
So far, the Linux system has been installed. Next, click “reboot” to restart and enter the Linux system.