Install IBM HTTP Server - z/OS

+

Search Tips   |   Advanced Search

This topic describes how to install a running version (server instance) of the IBM HTTP Server for WAS on z/OS using the installer program.

 

Before we begin

Prior to using the installer program:

 

Overview

Use the installer program, perform the following tasks to install a running instance of IBM HTTP Server for z/OS on our machine.

 

Procedure

  1. Log in to the UNIX System Services shell with the user ID that will run the installer. (See the Before we begin section for this topic.) Change the directory to the IBM HTTP Server product code directory:

    cd /usr/lpp/zWebSphere_OM/V6R1/HTTP/Server
    
    

  2. Run the installer program to install the product files into the installation directory, perform initial customization, and create symbolic links from the installation directory to the product directory.

    The installer program is: bin/install_ihs.

    There are two parameters for the invocation of the installer program.

    • The installation directory for the server instance. This must not be the same as the product directory.

    • Optional: The non-SSL port for the Web server. The default is port 80. We can also change the port on the Listen directive later.

    The following instruction is an example for invoking the installer program:

    bin/install_ihs /etc/websrv1 80
    
    
    Where /etc/websrv1 is the installation directory, and 80 is the non-SSL port for the Web server.

  3. Optional: To enable the WAS
    console to edit the httpd.conf file:

    • Specify the -admin option when we run install_ihs. For example:

      bin/install_ihs -admin /etc/websrv1 80
      
      

      If we have already run install_ihs without the -admin option, we can run the bin/enable_admin script later to set the necessary permissions.

    • The WAS control region user ID must be added to the IBM HTTP Server group via SAF. For example, to add user ASCR1 to group WWWGROUP:

      CONNECT ASCR1 GROUP(WWWGROUP) OWNER(WWWGROUP)
      
      

    • To use the WebSphere administration console to start and stop IBM HTTP Server, we must set this up with a cataloged JCL procedure. For more information see Use JCL procedures to start IBM HTTP Server on z/OS. Ensure that the JCL procedure is assigned to the user and group we defined for IBM HTTP Server, as described in Performing required z/OS system configurations.

  4. Optional: We can start the IBM HTTP Server instance from the MVS console by creating a JCL cataloged procedure for the instance. See Use JCL procedures to start IBM HTTP Server on z/OS for more information.

  5. Optional: We can create multiple instances of IBM HTTP Server. By running the IBM HTTP Server installer program more than once, we can create multiple instances. However, be sure to use a different installer program each time we run the installer program.

 

Results

Perform the following steps to confirm that we have successfully installed a running version of the product on our machine:

  1. Log in to the OMVS shell using the server user ID. Verify that the server user ID has a non-zero UID value. Change the directory to the server instance's installation directory:

    cd /etc/websrv1
    
    

  2. Executes to verify the installation of the program: apachectl -v and apachectl configtest

    The following sample output is an example of a successful program installation:

    # bin/apachectl -v
    Server version: IBM _HTTP_Server/6.1-rc2 Apache/2.0.47
    Server built:   Oct  6 2006 17:33:30
    # bin/apachectl configtest
    Syntax OK
    
    
    The actual version string and build date will vary.

  3. Start IBM HTTP Server.

    bin/apachectl start
    
    

  4. Load the default Web page from the browser to confirm that IBM HTTP Server is operational: Point a Web browser to the IP name or address of our z/OS system, using either the non-SSL port number we specified when running the installer program, or the default port of 80.

  5. Stop IBM HTTP Server by running the following command:

    bin/apachectl stop
    
    

 

What to do next




 

Related concepts



Use JCL procedures to start IBM HTTP Server on z/OS

 

Related tasks



Performing required z/OS system configurations
Uninstall IBM HTTP Server
Installing and configuring the WebSphere Application Server plug-in for IBM HTTP Server on z/OS

 

Related reference



FastCGI directives
SSL directives