#配置mpm_prefork_module
mv extra/httpd-mpm.conf extra/httpd-mpm.conf.bak
点击(此处)折叠或打开
cat >> extra/httpd-mpm.conf <
ServerLimit 10000
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 10000
MaxConnectionsPerChild 10000
EOF
#配置虚拟主机(apache虚拟主机,通过IP访问默认会访问到第一个虚拟主机上,那么就第一个虚拟主机定义为127.0.0.1,目录指到/usr/local/apache/htdocs)
mv extra/httpd-vhosts.conf extra/httpd-vhosts.conf.bak
郁年橇港月鹘兀泊华一珑经愈升两星郊芳瀚霆穰