Deployment process:
1.1) Start the server
1.2) Configuring the CRT connection server
1.3) View hardware status
1.3.1) View Server product name
[[Email protected]_server ~]# Dmidecode | grep "Product Name"
Product Name:vmware Virtual Platform
Product name:440bx Desktop Reference Platform
1.3.2) View CPU status
[[Email protected]_server ~]# grep name/proc/cpuinfo
Model NAME:AMD a10-5800k APU with Radeon (tm) HD Graphics
[[Email protected]_server ~]# grep "Physical ID"/proc/cpuinfo
1.3.3) View memory information
[[Email protected]_server ~]# grep mem/proc/meminfo
memtotal:1004412 KB
memfree:426644 KB
[[Email protected]_server ~]# grep memtotal/proc/meminfo
memtotal:1004412 KB
[[Email Protected]_server ~]#
1.4) Viewing the system environment
[Email protected]_server ~]# cat/etc/redhat-release
CentOS Release 6.5 (Final)
[Email protected]_server ~]# uname-r
2.6.32-431.el6.x86_64
[Email protected]_server ~]# uname-m
x86_64
1.5) Configuration initialization system
1.5.1) Configuring Firewalls and SELinux
[[Email protected]_server ~]# chkconfig iptables off (turn off the firewall if the network requires a firewall to boot)
[Email protected]_server ~]# sed-i "S#selinux=enforcing#selinux=disabled#g"/etc/selinux/config
[[Email protected]_server ~]# Setenforce 0
1.5.2) Add a system user
[Email protected]_server ~]# useradd Oldboy
[Email Protected]_server ~]# echo "123456" |passwd--stdin Oldboy
1.5.3) Configuring the Yum Source
cd/etc/yum.repos.d/
[Email protected]_server yum.repos.d]# wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo
[Email protected]_server yum.repos.d] #yum clean All
[Email protected]_server yum.repos.d] #yum Makecache