Installing IBM HTTP Server 1.3.19

This article describes how to do the following:

  • Install IBM HTTP Server on a Linux (Intel) machine from the WebSphere Application Server software CD-ROM included with WebSphere Application Server.
  • Install IBM HTTP Server on a Linux (Intel) machine from files downloaded from the IBM HTTP Server Download Web site at www.ibm.com/software/webservers/httpserver/download.html.
  • Test the installation of IBM HTTP Server.

These instructions assume the following:

  • Your machine has enough memory and disk space for the installation. See the IBM HTTP Server Library Web site at www.ibm.com/software/webservers/httpservers/library.html for more information.
  • You do not have a previous version of IBM HTTP Server already installed on your machine. If you do have a previous version of IBM HTTP Server installed, you must remove it before installing the new version of IBM HTTP Server. Refer to the instructions in the product README document accessible from the IBM HTTP Server Library Web site at www.ibm.com/software/webservers/httpservers/library.html.

Note: IBM HTTP Server can be selected for installation during the installation of WebSphere Application Server. If you choose to install IBM HTTP Server independently, either from the software CD-ROM or from downloaded files, it is recommended that you install it 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 could function incorrectly.

Installing IBM HTTP Server from the CD-ROM

You can install the IBM HTTP Server packages from the WebSphere Application Server software CD-ROM included in the WebSphere Application Server program package.

Perform the following steps to install the IBM HTTP Server from the software CD-ROM:

  1. Ensure that you are logged into the machine with superuser (root) privileges.
  2. Insert the WebSphere Application Server CD-ROM into the CD-ROM drive and create a mount point for the CD-ROM by using the mount command, as follows:
    # mount /dev/cdrom /cdrom
    Note: Some window managers automatically mount a CD-ROM for you. Consult your operating system documentation for more information.
  3. Navigate to the /cdrom/Linux/ihs_128 directory.
  4. Install the IBM HTTP Server binaries by using the rpm command, as follows:
    # rpm -ivh IBM_HTTP_Server-1.3.19.i386.rpm

    IBM HTTP Server is installed in the /opt/IBMHTTPServer directory, by default.

  5. Unmount the CD-ROM before removing it from the CD-ROM drive by using the umount command, as follows:
    # umount /cdrom

Installing IBM HTTP Server from downloaded files

You can install IBM HTTP Server from files downloaded from the IBM HTTP Server Download Web site at www.ibm.com/software/webservers/httpserver/download.html.

Perform the following steps to install IBM HTTP Server from a downloaded .tar.gz file:

  1. Ensure that you are logged into the machine with superuser (root) privileges.
  2. Uncompress the .tar.gz file you downloaded by using the gunzip utility, as follows:
    # gzip -d file_name.tar.gz

    In this command, file_name is the name of the compressed tar file you downloaded.

  3. Untar the uncompressed .tar file to extract the IBM HTTP Server packages by using the tar command, as follows:
    # tar -xvf file_name.tar

    In this command, file_name is the name of the uncompressed tar file.

  4. Ensure that you are in the directory containing the uncompressed and untarred IBM HTTP Server packages.
  5. Install the IBM HTTP Server binaries by using the rpm command, as follows:
    # rpm -ivh IBM_HTTP_Server-1.3.19.i386.rpm

    IBM HTTP Server is installed in the /opt/IBMHTTPServer directory, by default.

Testing the installation of IBM HTTP Server

Perform the following steps to verify that IBM HTTP Server is installed correctly:

  1. Start IBM HTTP Server by using the apachectl start command, as follows:
    # /opt/IBMHTTPServer/bin/apachectl start 
  2. Start a Web browser and enter the name of the local machine as the URL, as follows:
    http://local_machine_name

    If the Welcome to IBM HTTP Server Web page opens, the server is installed correctly.
    Welcome to the IBM HTTP Server

  3. See the IBM HTTP Server documentation Web site at www.ibm.com/software/webservers/httpservers/library.html for more information about configuring IBM HTTP Server.

    To enable the Secure Sockets Layer (SSL) for IBM HTTP Server, see the IBM HTTP Server documentation Web site at www.ibm.com/software/webservers/httpservers/doc/v1319/index.html for more information.