Installation steps are as follows:
1. Adjust BIOS: To use the optical disc such as U disk, or boot, is now generally U-mounted use;
2. Select the installation mode and start: a graphical user interface or command line mode, specific parameters may also be added to start the installation interface;
U disk set from the start, restart the host, will enter the following interface:
Move the cursor to [Install CentOS 7], press the keyboard's Tab key, enter additional kernel parameters (include a space between each parameter).
The bottom vmlinuz initrd = initrd.img inst.stage2 = hd: LABEL = CentOS \ x207 \ x20x86_64 rd.live.check quiet
改为: vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet inst.gpt
After entering the system will run for a period detection screen, about a few seconds to a minute or two.
3. Select the language: As different areas of the keyboard keys, here select "Simplified Chinese";
4. Set the software installation source selection: All default installation or installation;
Installation Source Select "local media", select Software Selection "Server with a GUI" (that is, the graphical user interface mode, with default GNOME)
5. Partition: One of the most important places;
Location Select your hard drive, other storage options, select "I want to configure partitions", you can also select "Automatic Configuration partition", this memory will be the largest.
Manual partitioning steps:
. i) partitioning scheme to modify the new mount point, the "the LVM" modify "standard partition" and then click on the lower left corner + Mount Point biosboot and enter a desired capacity:
(Because it is used by the BIOS, there is no mount point, so the mount point is empty)
Note: The three device types:
-
- Standard partitions: partition is what we said before, similar to / dev / vda1 like partition;
- LVM: This is a can be increased or reduced elastic partition file system capacity;
- LVM精简配置:这个是LVM的高级版,可以让你在使用多少容量才分配磁盘多少容量给你。
五种文件系统:
-
- ext2/ext3/ext4:Linux早期使用的文件系统类型,近来比较少用;
- swap:就是磁盘模拟为内存的交换分区,由于交换分区并不会使用到目录树的挂载,所以用交换分构就不用指定挂载点;
- BIOS Boot:就是GPT分区表可能会用到的东西,若你使用MBR就不需要这个东西;
- xfs:这个是目前CentOS7默认的文件系统,对大容量的磁盘管理非常好;
- fat:同时被Linux与Windows所支持的文件系统类型。
ii).建立/boot挂载点的文件系统,容量可以输入1G或者1024M;(使用标准分区)
iii).建立根目录 / 的分区,容量输入10G;(设备类型使用LVM,添加完分区后再修改为LVM)
iv).建立/home分区,设定虚拟硬盘固定容量为30G;(同上,设备类型需修改为LVM)
v).建立swap分区,期望容量设为1G;(同上,修改为LVM。当硬盘容量不够时,才会用的上,一般用不上)
最终分区表如下:
6.启动引导程序、网络、时区设置与root密码:系统基础设置;
开启以太网并配置网络设定,具体如下:
在Root密码处设置管理员密码,并建立一个日常登录使用的用户dmtsai
7.安装后的首次设置:用户、SELinux与防火墙等。
点击授权同意后即可开始使用。