- 0
- 0
- 约1.37万字
- 约 15页
- 2019-12-23 发布于湖北
- 举报
大纲:一、系统安装二、编译安装基本环境三、配置虚拟主机及基本性能调优四、基本安全设置五、附录及相关介绍一、系统安装1. 分区/boot 100M左右SWAP 物理内存的2倍(如果你的物理内存大于4G以上,分配4G即可)/ 15G/usr/local 20G (用于安装软件)/data 剩余所有空间2. 系统初始化脚本(根据具体需求关闭不需要的服务)#vi init.shcut begin#welcomecat EOF++| === Welcome to Centos System init === |+ ++Author:NetSeek+EOF#disable ipv6cat EOF++| === Welcome to Disable IPV6 === |++EOFecho alias net-pf-10 off /etc/modprobe.confecho alias ipv6 off /etc/modprobe.conf/sbin/chkconfig --level 35 ip6tables offecho ipv6 is disabled!#disable selinuxsed -i /SELINUX/s/enforcing/disabled/ /etc/selinux/config ec
原创力文档

文档评论(0)