基于CentOS构建高性能的LAMP平台.docVIP

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

文档评论(0)

1亿VIP精品文档

相关文档