标签:启动 aries cal color tar.gz eve 查看 pat pcr
[root@localhost ~]$ yum -y install expat-devel [root@localhost ~]$ yum -y install pcre-devel [root@localhost ~]$ cd /user/local/src [root@localhost src]$ wget http://mirror.bit.edu.cn/apache//apr/apr-1.6.2.tar.gz [root@localhost src]$ wget http://mirror.bit.edu.cn/apache//apr/apr-util-1.6.0.tar.gz [root@localhost src]$ tar -zxvf apr-1.6.2.tar.gz [root@localhost src]# cd apr-1.6.2 [root@localhost apr-1.6.2]# ./configure --prefix=/usr/local/apr [root@localhost apr-1.6.2]# cd .. [root@localhost src]# tar -zxvf apr-util-1.6.0.tar.gz [root@localhost src]# cd apr-util-1.6.0 [root@localhost apr-util-1.6.0]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr [root@localhost apr-util-1.6.0]# make && make install
[root@localhost apr-util-1.6.0]# cd.. [root@localhost src]$ wget http://mirrors.aliyun.com/apache/httpd/httpd-2.4.28.tar.gz [root@localhost src]# tar -zxvf httpd-2.4.28.tar.gz [root@localhost src]# cd httpd-2.4.28 [root@localhost httpd-2.4.28]# ./configure --prefix=/usr/local/httpd --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util [root@localhost httpd-2.4.28]# make && make install [root@localhost httpd-2.4.28]# /usr/local/httpd/bin/apachectl start [root@localhost httpd-2.4.28]# ps -aux | grep http #查看进程检查apache是否正常启动 root 1215 0.0 0.2 70900 2136 ? Ss 12:06 0:00 /usr/local/httpd/bin/httpd -k start daemon 1216 0.0 0.4 359864 4252 ? Sl 12:06 0:00 /usr/local/httpd/bin/httpd -k start daemon 1217 0.0 0.4 359864 4252 ? Sl 12:06 0:00 /usr/local/httpd/bin/httpd -k start daemon 1218 0.0 0.4 359864 4252 ? Sl 12:06 0:00 /usr/local/httpd/bin/httpd -k start root 1305 0.0 0.0 112660 968 pts/0 R+ 12:07 0:00 grep --color=auto httpd
标签:启动 aries cal color tar.gz eve 查看 pat pcr
原文地址:http://www.cnblogs.com/justlikeheaven/p/7728179.html