shangban 发表于 2016-12-29 08:43:10

安装apache

Download $ lynx http://httpd.apache.org/download.cgi
Extract $ gzip -d httpd-NN.tar.gz
                $ tar xvf httpd-NN.tar
                $ cd httpd-NN

$export PREFIX=~/program/httpd-NN

Configure $ ./configure --prefix=$PREFIX
Compile $ make
Install $ make install
Customize $ vi $PREFIX/conf/httpd.conf
Test $ $PREFIX/bin/apachectl -k start
页: [1]
查看完整版本: 安装apache