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
- Become Superuser (root).
- Mount the WebSphere CD.
- Change directory to the IBM HTTP Server subdirectory.
- 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.
- 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:
- Ensure that you are logged into the host machine with superuser
(root) privileges.
- Uncompress and untar any .tar or .tar.Z files to extract the IBM
HTTP Server bundles.
- Ensure that the TERM and DISPLAY environment variables are set correctly.
- Start the HP-UX System Administration Manager (SAM) by entering
the following command: # sam
- Click Software Management. The Software Management screen
is displayed.
- Click Install Software to Local Host. The Specify Source
screen is displayed.
- From the Source Depot Type field, select Local Directory.
- Ensure that the name of the local machine is displayed in the
Source Host Name field.
- In the Source Depot Path field, enter the path name for the
directory that contains the untarred IBM HTTP Server bundles.
- Ensure that the Software Filter field is set to
None, and then click OK. The Software Selection screen
is displayed.
- 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.
- When the analysis completes successfully, click OK.
- The Confirmation screen is displayed. Click Yes to begin
the installation. The Install Window screen displays information about
the progress of the installation.
- After the installation is complete, click Done and exit from SAM.
- If needed, start IBM HTTP Server 1.3.12 by navigating to the directory
/opt/HTTPServer/bin and entering: ./apachectl start
- Open a browser and enter the Web address
http://
your_host_name/
or localhost
.

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
If you will be administering IBM HTTP Server, complete the steps given below as
needed.
To change the language observed by the Web server:
- As user root, enter the command
# /opt/HTTPServer/bin/setuplang
- When prompted, set the desired language.
To set the user and password for the admininstrative server:
- Go to a command prompt for /opt/HTTPServer/bin and enter the command
# ./htpasswd -m ../conf/admin.passwd <user_name>
- 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:
- Become user root in the /opt/HTTPServer/conf directory.
- 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
- 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