Installation Centos7 (a)

VMWARE virtual machine, configured as follows:

cpu RAM hard disk
1cpu, 2 core 2G 30G

 

Mirroring is the latest bit of Centos7.6.1810_X64 adopted

1, start the installation

This should be able to select the

Installation Centos7

Test image file & install Centos7

2, the default English language on the line, select Continue.

Why English? Because many companies use most of the production environment middleware, container, databases are in English, in order to ensure compatibility or select it in English.

3, major items of options needs to be changed: Time & date, and time zone, installation mode, partitions, and network configuration and hostname configuration

a, time & date & time zone selection: Asia: Asia City: Shanghai. Check the time, date and whether locally. NetWork Time, network time synchronization. The default NTP server is CentOS, and there is a time difference between Beijing time, so do not choose.

 

4, SOFTWARE SELECTION: The default installation mode to minimize installation, because it is practiced hand so I chose this.

GUI and command-line controversy:

   I suggest that the production environment is recommended to install when selecting Server Wtih GUI. Here surely someone disagreed. Because we all know the graphical interface under Linux is to run as software, this will occupy some memory. The eyes of the beholder wise see wisdom, and now many of them are server memory 128GB, 256GB from the graphical interface memory used is negligible.

  And also it requires a graphical environment when some software installation. For example, Oracle (you can also choose to configure the command line, but too much trouble.) And in the system, and can be used at any time init 3 init 5 to switch the command-line and graphical interface used.

5, the partition: The default is AUTO automatic partitioning. 1, we choose the configuration partition. 2, and then select the required partition of the hard drive. 3, select Done

d, select the default LVM. Click the + sign to add a partition, click - No. You can delete a partition. point

Click + to add a new partition

1), boot sector: 512M, then click on ADD MOUNT POINT increase mount point. (Default LVM, the partition after the completion of the standard to stand partition)

2)、SWAP:4GB。

生产环境建议分物理内存的一半。但是现在服务器内存都比较大,根本使用不完。SWAP分32GB够。

3)、Home:生产环境建议分50GB-100GB,足够。

4)、根分区:正式50G足够

5)、分区完成点击DONE完成分区,还剩下11G多,以后用于做LVM实验。

6)、点击右下角ACCEPT同意更改

6、网络和主机名。建议不配置,安装完成以进系统后手动配置。(嫌麻烦的可以先在此配置好)

7、点击开始安装

8、这里可以配置root用户密码,和创建非root用户。建议创建一个非root用户用于登录系统。(可以在命令行下手动添加)

下面是安装进度条

1)、设置root用户密码

9、提示安装成功,点击Reboot,重启

 

安装完成。下一节开始修改主机名,配置网络,用命令行创建非root用户。

Guess you like

Origin blog.csdn.net/hzcm1984/article/details/93293967