Installing IBM HTTP Server 1.3.12

You will likely want to install IBM HTTP Server as part of the WebSphere Application Server and then follow the steps in "Verifying installation of IBM HTTP Server 1.3.12" to test the installation. However, you can install IBM HTTP Server separately from the WebSphere Application Server installation. To install IBM HTTP Server, which you can obtain from the product CD or an IBM Web site, complete either set of installation steps below. Then verify your installation by completing the verification steps below. If you will be acting as administrator, also complete the steps in "Administering IBM HTTP Server."

Installing IBM HTTP Server 1.3.12 from the product CD

  1. Become Superuser (root).
  2. Mount the WebSphere CD.
  3. Change directory to the IBM HTTP Server subdirectory.
  4. Run the installer script as # ./install_ihs_128.sh

    This runs the HP-UX swinstall program in an automated session. The IBM HTTP Server code will reside under /opt/HTTPServer. The program will require several minutes to complete.

    If you want to specify a different target location for IBM HTTP Server, run

    # swinstall -s ${PWD}/IHS_128_DEPOT

    and change the target location under the Action menu.

  5. There is an omission in the current script which leaves the depot registered. After the script finishes, enter the command # swreg -l depot -u ${PWD}/IHS_128_DEPOT

Installing IBM HTTP Server 1.3.12 from a downloaded tar file

Perform the following steps to install IBM HTTP Server 1.3.12 from .tar or .tar.Z files that you have downloaded:

  1. Ensure that you are logged into the host machine with superuser (root) privileges.
  2. Uncompress and untar any .tar or .tar.Z files to extract the IBM HTTP Server bundles.
  3. Ensure that the TERM and DISPLAY environment variables are set correctly.
  4. Start the HP-UX System Administration Manager (SAM) by entering the following command: # sam
  5. Click Software Management. The Software Management screen is displayed.
  6. Click Install Software to Local Host. The Specify Source screen is displayed.
  7. From the Source Depot Type field, select Local Directory.
  8. Ensure that the name of the local machine is displayed in the Source Host Name field.
  9. In the Source Depot Path field, enter the path name for the directory that contains the untarred IBM HTTP Server bundles.
  10. Ensure that the Software Filter field is set to None, and then click OK. The Software Selection screen is displayed.
  11. From the list of bundles and products, select the bundles that you want to install, then click Actions > Install (analysis). The Install Analysis screen is displayed.
  12. When the analysis completes successfully, click OK.
  13. The Confirmation screen is displayed. Click Yes to begin the installation. The Install Window screen displays information about the progress of the installation.
  14. After the installation is complete, click Done and exit from SAM.

Verifying installation of IBM HTTP Server 1.3.12

  1. If needed, start IBM HTTP Server 1.3.12 by navigating to the directory /opt/HTTPServer/bin and entering: ./apachectl start
  2. Open a browser and enter the Web address http://your_host_name/ or localhost.
    IBM HTTP Server browser

If you see the Welcome to the IBM HTTP Server page, IBM HTTP Server is installed correctly.

To stop the Web server, enter at a prompt for /opt/HTTPServer/bin:

./apachectl stop

Administering IBM HTTP Server

If you will be administering IBM HTTP Server, complete the steps given below as needed.

To change the language observed by the Web server:

  1. As user root, enter the command # /opt/HTTPServer/bin/setuplang
  2. When prompted, set the desired language.

To set the user and password for the admininstrative server:

  1. Go to a command prompt for /opt/HTTPServer/bin and enter the command
    # ./htpasswd -m ../conf/admin.passwd <user_name>
  2. When prompted, enter and verify the password.

The configuration files are owned by root after install. If you have created a separate user for administration of IBM HTTP Server, you must give write permission to the user designated for Web administration:

  1. Become user root in the /opt/HTTPServer/conf directory.
  2. Change ownership of the configuration files to the user designated for admininstration of IBM HTTP Server:
    # chown <IHS_admin_user_name>:<IHS_admin_group_name> admin.conf httpd.conf admin.passwd
    # chmod 640 admin.conf httpd.conf admin.passwd
  3. Open an editor on the files admin.conf and httpd.conf. Change the User so it specifies the user designated for administration of IBM HTTP Server. Similarly, change the Group so it specifies the group designated for administration of IBM HTTP Server.

For more information on administration of the Web server, look at files in the /opt/HTTPServer/readme directory. Also, because IBM HTTP Server is modified version of Apache HTTP Server, you might look at information on administering an Apache server.

Starting the IHS administrative server

To start the administrative server, as user root or as the user designated for the administrative server, run

/opt/HTTPServer/bin/adminctl start

After the server starts, point a browser at http://wasmachine:8008, supply the user name and password, and administer the server.

Stopping the IHS administrative server

To stop the administrative server, as user root or as the user designated for the administrative server, run

/opt/HTTPServer/bin/adminctl stop