As of the current CentOS 7.x latest version of CentOS 7.0, the following describes the CentOS 7.0 of the specific installation configuration process
Server-related settings are as follows:
Operating system: CentOS 7.0 64-bit
IP Address: 192.168.21.128
Production server if it is large memory (more than 4G memory), it is recommended to install the 64-bit version Centos-7.0-1406-x86_64-dvd.iso
I. Installation of CentOS 7.0
After the system is successfully booted, the following interface appears
Install CentOS 7 Installation CentOS 7
Test this media & install CentOS 7 testing installation files and installing CentOS 7
Troubleshooting Repair Failure
Here, select the first item, install CentOS 7, enter the following interface
System Yun-wei Www.111cn.net warm reminder: qihang01 original Content © Copyright, reproduced please indicate the source and the original chain
Select language: Chinese-Simplified Chinese (China) #正式生产服务器建议安装英文版本
Select-System-install location, go to disk partition interface
Select-Other storage options-partitions-I want to configure the partition, click "Finish" in the upper left corner, and enter the following interface
System Yun-wei Www.111cn.net warm reminder: qihang01 original Content © Copyright, reproduced please indicate the source and the original chain
Before partitioning, plan ahead.
Swap #交换分区, generally set to twice times the memory
Note: The production server recommends dividing a separate/data partition to store data
The "+" number in the lower-left corner of the point
Add mount points as shown in the following illustration
System Yun-wei Www.111cn.net warm reminder: qihang01 original Content © Copyright, reproduced please indicate the source and the original chain
Continue to point "+" in the lower left corner
Expected Capacity: 18.43GB #剩余所有空间
Add mount points as shown in the following illustration
Click "Finish" in the top left corner to enter the following interface
Accept the changes and go to the following interface
Start installation #注意 software-Software selection, the default is minimal installation, that is, do not install the desktop environment, you can set yourself.
Enter the following interface
Select-User Set-root password, enter the following interface
If the password length is less than 8 digits, you will be prompted to press "finish" two times to confirm that the installation continues
Once the installation is complete, it will enter the following interface
Account Input Root return
and enter the root password entry set above.
Second, set IP address, gateway DNS
Description: CentOS 7.0 installed after the default is not automatically open the network connection!
cd/etc/sysconfig/network-scripts/#进入网络配置文件目录
VI ifcfg-eno16777736 #编辑配置文件, add modify the following content
Bootproto=static #启用静态IP地址
Uuid=ae0965e7-22b9-45aa-8ec9-3f0a20a85d11
ipaddr0=192.168.21.128 #设置IP地址
gateway0=192.168.21.2 #设置网关
Service Network Restart #重启网络
Ping www.baidu.com #测试网络是否正常
Third, set the host name www
www #修改localhost. Localdomain for www
127.0.0.1 localhost www #修改localhost. Localdomain is www.