Thursday, December 24, 2009

Installing Apache in Unix




Download the Apache from http://www.apache.org/.

Ftp to Unix box ( ftp servername uid/pwd, get name)

unzip the file in unix box

tar -xvf filename

go to the root folder

./configure (Compiling the Source )

Two more command line commands to execute. Type (root folder)

1)make (type and enter)

to compile the server, and

2)make install (type and enter)

will create apache2 folder

installing complete.

Start
/usr/local/apache2/bin/apachectl start
restart
/usr/local/apache2/bin/apachectl restart