Apache 


1.Create a directory for the Apache download using the following command:
mkdir /var/install/Apache
2.Go to Apache directory: 

cd/var/install/Apache 

3.Download Apache from http://www.apache.org using this command: 

wget -c -t100 -T60 http://www.apache.org/dist/apache_1.3.20.tar.gz 

4.Untar the new file with the following execution command: 

tar -xzvf apache_1.3.20.tar.gz 

This automatically creates the directory: 

apache_1.3.20 

5.Go to directory apache_1.3.20 that you created in step 4 using the this command: 

cdapache_1.3.20 

6.Configure apache and its modules using these execution commands: 

./configure --prefix=/usr/local/apache \ <Press ENTER> 
--enable-rule=SHARED_CORE\ <Press ENTER> 
--enable-module=so <Press ENTRE> 

7.Enter the make command: 

make 

The following message will appear: 

make[2]: Leaving directory `/var/installers/apache_1.3.20/src/support' 
<=== src/support 
make[1]: Leaving directory `/var/installers/apache_1.3.20' 
<=== src 

8. Enter the install command:


make install
The following message will appear:
make[1]: Leaving directory `/var/installers/apache_1.3.20' 

+---------------------------------------------------------------+ 

| You now have successfully built and installed the | 

| Apache 1.3 HTTP server. To verify that Apache actually | 

| works correctly you now should first check the| 

| (initially created or preserved) configuration files| 

|/usr/local/apache/conf/httpd.conf| 

| and then you should be able to immediately fire up| 

| Apache the first time by running:| 

|/usr/local/apache/bin/apachectl start| 

| Thanks for using Apache.The Apache Group| 

|http://www.apache.org/ | 

+------------------------------------------------------------------+ 

9.Now start Apache with this execution command: 

/usr/local/apache/bin/apachectl start 

If everything is right, the following message will appear: 

/usr/local/apache/bin/apachectl start: httpd started

10.Open a browser (preferably Netscape or Internet Explorer) in a personal PC or the server and enter the IP address of your local server, for example, http://139.102.123.117