centos init

1.hostname
2.ip/dns
3.selinux

sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux

4.iptables
见iptables.sh
5.yum  (非必须)
本地的yum
第三方yum
wget -q -O - http://www.atomicorp.com/installers/atomic | sh  (atomic)
yum -y install epel-release.noarch  (epel)
 
6.ulimit
7.Developent Tools  gcc gcc-c++ etc;
posted @ 2017-05-17 03:52  feral  阅读(128)  评论(0编辑  收藏  举报