Installing Apache in linux
Follow the steps
1.Download binaries from Apache website http://httpd.apache.org/ or
$ lynx http://httpd.apache.org/download.cgi
2. Uncompress(Extract) the file
$ gzip -d httpd-NN.tar.gz$ tar xvf httpd-NN.tar
3. Go in the directory of httpd which u have uncompressed.
$ cd httpd-NN
4.Now configure the setup
$ ./configure --prefix=PREFIX
(PREFIX is the desired installation folder)
u can also enable various module as per requirement.
eg. enabling ssl and proxy modules use the following line
$ ./configure --prefix=PREFIX --enable-so --enable-mods-shared="proxy cache ssl all"
5.Compile
$ make
6.Install
$make install
7.Test your installation.
$ PREFIX/bin/apachectl -k start
(PREFIX is the installation folder path)
8.You have successfully installed apache server
Comments
Post a Comment