Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

Time:2020-1-21

The installation of centos7 system on the server is totally different from that on the virtual machine. The virtual machine can directly mount IOS image. The server must use CD-ROM drive or USB drive to install the system. Here’s how to install centos7 on the server


Environmental preparation

  • Image: centos-7-x86_-dvd-1511.iso
  • Server: Dell r720

System installation

  • array

    -First of all, before the server is reinstalled into the system, we will make the array, which is often called the raid card setting, which is set according to different requirements of different companies

  • Select startup mode

    -To set the CD-ROM drive to start or the U-disk to start, you need to enter the BIOS card setting. After the server is powered on, press F11 to enter the BIOS interface after entering the following interface

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-The BIOS interface is as shown in the figure below. Select the second BIOS boot menu

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Then enter the following interface, and select the corresponding starting mode according to the driver you use

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

  • Centos7 installation

    -Select start to enter the following interface. First, we select Install centos7 in the first line to install centos7

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-After a series of decompression, I went to the following interface, where I chose English operation. This is mainly because the later configuration will be convenient

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Click contine to enter the following interface. We can configure step by step from the top. First, configure the time

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-We choose Asia, Shanghai, time and date, check whether there is any error by ourselves, and then click Done to finish

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Next, configure the keyboard layout

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Because the language selected in the second step is English, English America is automatically configured here. If Chinese is selected, Chinese will appear here. Click the + sign below, select English (US), delete Chinese, and click Done to finish

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Next, configure the language support of the system

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Also, because I chose English operation in the second step, I chose English (US) directly. If not, please click the screenshot to select

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Next, configure the security policy

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-We can choose the default

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Next is the installation source. Here is the U disk, which is the U disk. The CD-ROM drive is the CD-ROM drive. It's automatically selected here. Don't move it

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Next is the software package, which is our system choice

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Here I choose the smallest system. After all, it's more convenient and easy to use if we choose our own version and download it

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Next is the hard disk partition mount directory

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Select the custom partition here, and click Done to enter the partition interface

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Click auto create partition, we can modify it directly

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-The automatic partition creation is as follows. This is a screenshot created under the virtual machine. There will be another BIOS boot directory for server creation. This directory is indispensable, otherwise an error will be reported and the partition operation cannot be completed

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Our zoning strategy is 
   /Mount the boot directory 1g = 1024m 
   Swap partition mount 20g = 20480m 
   BIOS boot in the server is 2m
   /The root directory uses all the remaining space. How to partition according to their own needs
 -XFS file system is used for file system, better support for large and small files

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-After the partition setting is completed, click done, then go to the following interface, and click accept to change

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Next, go to kdump configuration and check the requirements

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Next, configure the hostname and network

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Click Configure to configure the network

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Check the automatic connection and you can also configure IP here, but I'm used to tapping IP manually in the Linux interface

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-After all the configurations are completed, click begin to start the installation

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-You will be prompted that you have not set the root password and created the user

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Set the root password, and the user does not need to create it temporarily

Illustrated installation and configuration of server CentOS 7. X system (common to virtual machine)

-Set the password, click done, wait for the installation to complete, and then click restart. The server installation of centos7 is completed here