How to install Apache HTTPd on the IT server and Windows
Install Apache on UNIX
1) Download Apache
To download the Apache server:
Use this LYNX command at the UNIX prompt:
lynx http://www.axint.net/apache/httpd/httpd-2.0.NN.tar.gz
(where NN is the version number of the Apache server)
A message will appear that says "D)ownload, or C)ancel". Press "D"
to download the file.
Lynx will begin reading data. When lynx has received all of the data, it will
display a screen with a "Save to Disk" option. Press Enter. You are
now prompted to Enter a filename:. The name httpd-2.0.NN.tar.gz should already
be present. Press Enter again. The file is now saved in your home directory.
You can now quit lynx.
2) Extract the Apache source code
At the UNIX prompt, type the following commands, in order.
gunzip httpd-2.0.NN.tar.gz
tar xvf httpd-2.0.NN.tar
(where NN is the version number of the Apache server)
3) Configure the Apache source code
At the UNIX prompt, type the following commands, in order.
cd httpd_2.0.NN (where
NN is the version number of the Apache server)
./configure --prefix=PREFIX --enable-so
Where PREFIX is the UNIX directory location for the Apache server, we will install this server in a directory called 'apache' in your PATH. Use your PATH, e.g. /home/<letter>/<username>/apache/, for the PREFIX above, to install your Apache server.
4) Compile and install the Apache source code
At the UNIX prompt, type the following commands, in order.
make
make install
5) Configure your Apache server to run on the UNIX server
At the UNIX prompt, type the following commands, in order.
cd
pico apache/conf/httpd.conf
Use the pico editor to edit httpd.conf so that the value of the Port directive is the last four digits of your SSN (Social Security Number) or Student ID. Don't forget to save the edited file.
Note: A port number cannot start with a zero; therefore, if yours is something like 0123, change that to 9123. The exact number is not important.
6) Start your Apache server
At the UNIX prompt, type the following command
apache/bin/apachectl start
If you did not get an error, congratulations! You have successfully installed the Apache HTTPd on UNIX.
Download and install Apache on Windows
Go to the Apache Website and download the Win32 Binary (MSI Installer) file. Double-click the downloaded file and follow the installation prompts.