需求的软件包:httpd-2.2.21.tar.gz tomcat-connectors-1.2.32-src.tar.gz jdk-7-linux-x64.rpm apache-tomcat-7.0.23.tar.gz 首要装置gcc做编译前的环境。。 首要rpm -ivh jdk-7-linux-x64.rpm 装置完结今后 创立一个衔接 ln -s /usr/java/jdhttp://www.fpnanchang.com/linked/20130306.dok1.7.0/ /usr/jdk 编译apache tar zxvf httpd-2.2.21.tar.gz -C /usr/local/src/ cd /usr/local/src/httpd-2.2.21/ ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-proxy --enable-proxy-ajp make http://www.haofapiao.com/linked/20130306.do