CentOS 6.6 System installation Configuration graphics and text tutorial

Source: Internet
Author: User
Description
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
Gateway: 192.168.21.2
dns:8.8.8.8 8.8.4.4
Note:
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
32-bit Minimal version:
Http://mirror.bit.edu.cn/centos/6.6/isos/i386/CentOS-6.6-i386-minimal.iso
64-bit minimal. Version:
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
Interface Description:
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
Memory Test Memory Test
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
Next
Select the language as: Chinese (Chinese) #生产服务器建议安装英文版本
Next
Keyboard selected as: U.s.english
Next
Select the first item, basic storage device
Next
Select first item: Yes, ignore all data
Next
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
Next
Time zone selection: Asia/shanghai
' System Clock user UTC ' #取消前面打勾, do not use UTC time
Set Root password
Next
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
Next
Select the last item, create custom Layout creates a customized partition
Next
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:
Hard Drive Total 20G
Swap #2048M, generally set to memory twice times
/#剩余所有空间
Special Note:
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
File system type: Swap
Size size:2048
Other options can be done by default
Ok OK
Continue to select Free partition, click Create
Select Standard Partition Standard Partition, point create
mount point:/
File system type: EXT4
Select "Use all available space"
Other options can be done by default
Ok OK
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
Default
Next
Start installation
Installation Complete
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
Conventions:
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 account root
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地址
Onboot=yes #开启自动启用网络连接
ipaddr=192.168.21.129 #设置IP地址
netmask=255.255.255.0 #设置子网掩码
gateway=192.168.21.2 #设置网关
dns1=8.8.8.8 #设置主DNS
dns2=8.8.4.4 #设置备DNS
Ipv6init=no #禁止IPV6
: wq! #保存退出
Service Ip6tables Stop #停止IPV6服务
Chkconfig ip6tables off #禁止IPV6开机启动
Service YUM-UPDATESD Stop #关闭系统自动更新
Chkconfig yum-updatesd off #禁止开启启动
Service Network Restart #重启网络连接
Ifconfig #查看IP地址
Third, set the host name
Conventions:
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
: wq! #保存退出
3, Vi/etc/hosts #编辑配置文件
127.0.0.1 bbs.hz.m.osyunwei.com localhost
#修改localhost. Localdomain for bbs.hz.m.osyunwei.com
: wq! #保存退出
Shutdown-r now #重启系统
At this point, the CentOS 6.6 system installation configuration is complete

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.