2, the base Installation and Configuration

Reprinted from: https://www.cnblogs.com/set-config/p/9040407.html

After a successful first guide set to enter the main interface to guide the Centos

There are three menu options

1, install CentOS

2, try CentOS

3, Troubleshooting

Here enter the first - installed Centos [down] keys to select and press Enter

 

 

                                                                                           Select the installation language

The second interface is to select the installation language interface, look at this tutorial I'm sure a lot of children's shoes are a novice or compatriots first installation of Centos, for starters, the best choice may be to understand the Chinese language, you can pull down in the end see Chinese, and select it. Stand-alone Continue / or keyboard to continue [+ Tab keys to select Enter OK

The third interface is very critical, it concerns the basic configuration of your system, such as hard disk size, root partition and swap partition

                                                                           System Installation and Configuration

Localization: Localized this one does not need to do too much configuration, it can demand;

Software: The following software and software installation source is selected, only the special needs of children's shoes will be used. This is from the inside of descriptors can know, in order not to mislead the novice, here and hold a plan.

System: Let's talk about the focus of the system

Let me talk KDUMP

For the uninitiated, this non-use value in the novice stage, the configuration is enabled or not enabled does not matter

Installation location

 Since the mounting position comes to your own disk partitions and data content, if the original partition contains data, it is necessary to back up data

I have here a 20G unpartitioned space, if it has been occupied by another partition, delete the other partition, novice recommended that automatically create partitions, so there is not a convenient easy to go wrong. [Select automatic partitioning options - click on the upper left corner to complete]

 Below that the manual partitioning

Choose manual partitioning, and then click the top left "Finish" will pop up manually partition configuration interface

创建一个手动分区,以下是我虚拟机的手动分区方案

 如果你是新手记住:除了SWAP分区外,其他分区的文件系统一律选择ext4类型,设备类型默认选LVM

-------------------------------------------------分区方案描述------------------------------------------------------------

必须的分区

           boot分区:         

                     作用:引导分区,包含了系统启动的必要内核文件,即使根分区顺坏也能正常引导启动 一般这些文件所占空间在200M以下,

                     分区建议:分区的时候可选100M-500M之间,如果空间足够用,建议分300-500M。避免由于长期使用的冗余文件塞满这个分区。

      分区格式:建议ext4,按需求更改

/分区(根分区):         

      作用:所有的文件都从这里开始,你可以比喻为Windows的C盘,但其实有区别。如果你有大量的数据在根目录下(比如FTP等)可以划分大一点的空间

                      分区建议:建议15G以上。看需求,根分区和home分区的大小就类似C盘和D盘的空间分布一样,主要占空间在哪儿就在那里分大容量

                      分区格式:建议ext4,按需求更改

          swap分区:

        作用:类似于Windows的虚拟内存,在内存不够用时占用硬盘的虚拟内存来进行临时数据的存放,而对于linux就是swap分区

                     分区建议:建议是物理内存大小的2倍,比如你电脑是4G的物理内存,swap分区可以是8G

      分区格式:swap格式

可选的分区

         home分区

           作用:存放用户数据,HOME的结构一般是 HOME/userName/userFile,如果不分则默认在/目录下

                     分区建议:如果用户数据多可以将此分区适当增大,请参考“根分区”分区建议;一般硬盘的主要容量几乎都在Home分区和根分区下

                     分区格式:建议ext4,按需求更改

         var分区

          作用:用于log日志的文件的存放,如果不分则默认在/目录下

          分区建议:如果你安装的linux是用于服务器或者经常做日志分析,请划分var分区,避免日志文件不断膨胀塞满导致根分区而引发问题。

                    分区格式:建议ext4,按需求更改

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 左上角确定  弹出确认页面,接受更改即可开始安装

 

在安装过程中,可以同时配置ROOT用户的密码和创建新用户,可以点击相应选项进行设置。

于是就可以等待系统安装完成了!!!

 

重启完成安装!

Guess you like

Origin www.cnblogs.com/bro-ma/p/11968527.html