在服务器上安装了Apache 2.2后想升级到2.4,结果怎么都安装不上,最后指定配置文件后安装成功。
2.2.25 ./configure --prefix=/usr/local/apache --with-included-apr --enable-so ./configure --with-apxs=/usr/local/apache/bin/apxs 2.4.6 首先将apr apr-util pcre 拷贝到scrlib中 ./configure --with-included-apr --with-pcre=/usr/local/pcre --enable-so ./configure --with-apxs=/usr/local/apache2/bin/apxs
/usr/local/apache2/bin/apachectl -f /usr/local/apache2/conf/httpd.conf 停止服务:/usr/local/apache2/bin/httpd -k stop -f /usr/local/apache2/conf/httpd.conf 开启服务:/usr/local/apache2/bin/httpd -k start -f /usr/local/apache2/conf/httpd.conf
Linux下Apache与Tomcat的完全分布式集群配置(负载均衡) http://www.linuxidc.com/Linux/2013-08/89072.htm