解包 tar -jxvf apr-util-1.5.1.tar.bz2 2.安装 APR cd apr-1.4.6/ ./configure --prefix=/usr/local/apr-1.4.6 //配置 make //编译 make test //测试 make install //安装 3.安装APR-UTIL cd ../apr-util-1.5.1/ ./configure --prefix=/usr/local/apr-util-1.5.1 ./configure --prefix=/usr/local/apr-util-1.5.1 --with-apr=/usr/local/apr-1.4.6/ make make test make install 4.安装 PCRE cd ../pcre-8.32/ ./configure make make check make install 5.安装apache cd ../httpd-2.4.4/ ./configure --prefix=/usr/local/apache --enable-mods-shared=all --with-apr=/usr/local/apr-1.4.6/ --with-apr-util=/usr/local/apr-util-1.5.1/ //--prefix指定安装路径,--enable-mods-shared启用所有支持的动态加载模块,--with-apr指定APR路径,--with-apr-util指定APR-util路径 make make install /usr/local/apache/bin/apachectl start //启动apache |
linux 安装httpd-2.4.4
猜你喜欢
转载自blog.csdn.net/shenxingshu/article/details/89337525
今日推荐
周排行