Monday, September 1, 2014

Install and Configure Apach

Download $ lynx http://httpd.apache.org/download.cgi
Extract $ gzip -d httpd-NN.tar.gz
$ tar xvf httpd-NN.tar
$ cd httpd-NN
Configure $ ./configure --prefix=PREFIX
Compile $ make
Install $ make install
Customize $ vi PREFIX/conf/httpd.conf
Test $ sudo PREFIX/bin/apachectl -k start


In many cases, the testing would have some problem mostly because people just forget the "sudo" .

No comments:

Post a Comment