Friday, October 07, 2005

Install Apache HTTP server in Redhat Linux

Install Apache HTTP server on Redhat Linux


Usual Commands:


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

Note: NN must be replaced with the current minor version number, and PREFIX must be replaced with the filesystem path under which the server should be installed. If PREFIX is not specified, it defaults to /usr/local/apache2.


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?