As of the current CentOS 6.x latest version of CentOS 6.6, the following describes the CentOS 6.6 of the specific installation configuration process
Server-related settings are as follows:
Operating system: CentOS 6.6 64-bit
IP Address: 192.168.21.129
CentOS 6.6 System mirrors have 32-bit and 64-bit two versions, and minimal versions specifically for server optimizations
Production server if it is large memory (more than 4G memory), it is recommended to install Centos-6.5-x86_64-minimal.iso version
Attached: CentOS 6.6 Download Address
Http://mirror.bit.edu.cn/centos/6.6/isos/i386/CentOS-6.6-i386-minimal.iso
Http://mirror.bit.edu.cn/centos/6.6/isos/x86_64/CentOS-6.6-x86_64-minimal.iso
1, the installation of CentOS 6.6 system computer memory must be equal to or greater than 628M (minimum memory 628M) in order to enable graphics installation mode;
2, CentOS 6.6 system installation mode is divided into: Graphics installation mode and text installation mode;
3, CentOS 6.6 text installation mode does not support custom partitions, it is recommended to use Graphics installation mode installation;
5, CentOS 6.6 system operating mode is divided into: with a graphical interface, you can use the mouse to manipulate the graphical way and without a graphical interface, directly with the command line operation of the text (CentOS minimal version by default is the text mode of operation, There is no custom option to run the system during system installation;
I. Installation of CentOS 6.6
Successfully booting the system with CD, the following interface appears
Install or upgrade an existing system to install or upgrade existing systems
Basic graphics drivers for install system with basic video driver during installation
Rescue installed system to enter Systems Repair mode
Boot from local drive exit install boot from hard drive
Here, select the first item, install or upgrade your existing system, and enter.
If there is a question about whether to test the CD media, skip the test here.
The following interface appears
System Yun-wei Www.111cn.net warm reminder: qihang01 original Content © Copyright, reproduced please indicate the source and the original chain
Select the language as: Chinese (Chinese) #生产服务器建议安装英文版本
Keyboard selected as: U.s.english
Select the first item, basic storage device
Select first item: Yes, ignore all data
System Yun-wei Www.111cn.net warm reminder: qihang01 original Content © Copyright, reproduced please indicate the source and the original chain
Set host name, this is the default, the installation is completed and then modified
Time zone selection: Asia/shanghai
' System Clock user UTC ' #取消前面打勾, do not use UTC time
Note: If you use a password that is too simple, the system will automatically prompt: Your password is not safe enough, too simplistic/systematic
Choose "Use anyway" here anyway.
Production environment must have strong and complex passwords
Select the last item, create custom Layout creates a customized partition
You can see the capacity of the hard disk, I am showing here is 20G, now customize the partition.
Note: Before partitioning, you have to plan yourself first, how to partition
My section here is as follows:
Swap #2048M, generally set to memory twice times
For the formal production of the server, remember that the data disk must be partitioned separately to prevent system problems, to ensure the integrity of the data. For example, you can divide another
/data is dedicated to storing data.
Select Free partition, click Create
Select Standard Partition Standard Partition, point create
Other options can be done by default
Continue to select Free partition, click Create
Select Standard Partition Standard Partition, point create
Select "Use all available space"
Other options can be done by default
After you create the partition, as shown in the previous illustration, then click Next
Point "format" formatting
Select ' Write changes to disk ' to write modifications to disks
Point "Reboot" reboot, System automatically reboot
After reboot, the following login interface appears
Enter the account root and password and successfully log on to the system as shown in the following illustration:
System Installation Complete
Second, set IP address, gateway, DNS
The first network card is an external network
The second network card for the intranet (no external network of the machine will also be configured in the second network card)
Description: CentOS 6.6 Installed after the default is not automatically open the network connection!
Enter the password you set during Setup and log in to the system
Vi/etc/sysconfig/network-scripts/ifcfg-eth0 #编辑配置文件, add modify the following
Bootproto=static #启用静态IP地址
ipaddr=192.168.21.129 #设置IP地址
netmask=255.255.255.0 #设置子网掩码
gateway=192.168.21.2 #设置网关
Service Ip6tables Stop #停止IPV6服务
Chkconfig ip6tables off #禁止IPV6开机启动
Service YUM-UPDATESD Stop #关闭系统自动更新
Chkconfig yum-updatesd off #禁止开启启动
Service Network Restart #重启网络连接
Host name specification: business, engine room, main preparation, domain name
This sets the host name: bbs.hz.m.osyunwei.com
1, hostname "bbs.hz.m.osyunwei.com"
#设置主机名为bbs. hz.m.osyunwei.com
2, Vi/etc/sysconfig/network #编辑配置文件
Hostname= bbs.hz.m.osyunwei.com
#修改localhost. Localdomain for bbs.hz.m.osyunwei.com
127.0.0.1 bbs.hz.m.osyunwei.com localhost
#修改localhost. Localdomain for bbs.hz.m.osyunwei.com
At this point, the CentOS 6.6 system installation configuration is complete