You can install Apache HTTP Server from files downloaded from the Apache Software Foundation Web site, http://www.apache.org. Apache HTTP Server is available in a source code or binary distribution. The steps below cover how to install compiled Apache HTTP Server binaries and then verify that the installed product runs properly.
It is recommended that you install Apache HTTP Server before installing WebSphere Application Server. The WebSphere Application Server installation process changes a Web server's configuration, so that the Web server directs certain requests (such as servlet requests) to WebSphere Application Server. If the Web server is not installed before WebSphere Application Server, WebSphere Application Server may function incorrectly.
Perform the following steps to install Apache HTTP Server 1.3.12 from a downloaded .tar.gz file:
# gunzip <file_name>.tar.gz
# tar -xvf <file_name>.tar
# ./install-bindist.sh
The Apache HTTP Server is installed in the /usr/local/apache directory, by default. If you want to install the server in a different directory, enter the full pathname of that directory as an option to the install-bindist.sh installation script.
Perform the following steps to verify that the Apache HTTP Server is installed correctly:
The httpd command attempts to locate the httpd.conf file in the default directory, /usr/local/apache. If the httpd.conf file is located in a different directory, you can specify the full pathname of the httpd.conf file by using the -f option.