(i) Install Linux
Press ESC when entering the installation interface
Boot=linux text//installation time input \ Installation mode
Skip---OK---language select "OK"---OK---Select Initialize all "Re-initialize all"---select "Asia/shanghai" OK---Enter the password "OK" (if the password complexity is not enough, please select "Use Anyway ")---Select" Use entire drive "and" OK "---Write changes to disk---Reboot
localhost login:root
Password:123.bmk
(ii) Network configuration
Ifconfig//View IP
cat/etc/resolv.conf//View DNS
NETSTAT-RN//View Gateway
Vi/etc/sysconfig/network-scripts/ifcfg-eth0//Change network configuration
onboot= "Yes"
Bootproto=static
Add in this directory
Ipaddr= "IP"
netmask= "Subnets"
gateway= "Gateway"
dns1= "DNS"
ESC---input ": Wq"
/etc/init.d/network Restart//Restart Network
(iii) Configuring the host
Vi/etc/sysconfig/network//change hostname (effective after reboot)
Hostname=zabbix.wtf.local//Change HOSTNAME
ESC---Enter ": Wq"//Save Exit
Hostname zabbix.wtf.local//Temporary VI Change host command
(d) Firewalls
/etc/init.d/iptables Status//view firewall configuration
/etc/init.d/iptables Stop//firewall off
Chkconfig iptables off//boot not boot firewall
(v) Setting up Selnux
Vi/etc/selinux/config//Turn off SELinux
Selinux=disabled
ESC---input ": Wq"
This article is from the "11104762" blog, please be sure to keep this source http://11114762.blog.51cto.com/11104762/1812629
Linux Installation and simple optimization