apache汇总
apache汇总 1. apache安装 yum install httpd -y (-y代表全自动安装,安装过程中自动选择y,无需手动选择) service httpd start(启动) chkconfig httpd on(设为开机启动) yum remmove httpd(卸载apache) [备注]安装前先用 rpm -q httpd 检查本机是否安装了apache 手动安装 tar xvf xxx.tar.gz ./configure --prefix=/usr/local/apache2 --enable-cache --enable-disk-cache -enable-mem-cache --enable-file-cache --with-ssl --enable-ssl --enable-so --enable-mime-magic --enable-mods-shared=most --with-mpm=worker make make install 安装成功。 查看apache的工作模式:httpd -l (默认为prefork模...





