IBM HTTP Server for WebSphere Application Server, Versão 6.1
             Sistemas Operacionais: z/OS

             Personalize o índice e os resultados da procura
Este tópico se aplica apenas aos sistemas operacionais z/OS.

Installing IBM HTTP Server

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

Antes de Começar

Prior to using the installer program:
  • Obtain and apply the WebSphere Application Server Version 6.1 PTF that provides support of IBM HTTP Server for z/OS systems using SMP/E. The IBM HTTP Server code is installed into the WebSphere Application Servers Optional Materials tree. The default directory name is: /usr/lpp/zWebSphere_OM/V6R1/HTTP/Server.
  • Mount the file system containing this directory on the z/OS system where the IBM HTTP Server instance will run.
  • Perform the z/OS system configurations that are required for IBM HTTP Server.
  • Create a System Authorization Facility (SAF) user ID and group for use by IBM HTTP Server. For details, see z/OS system configurations.

    The examples that follow in this topic assume a server user ID of WWWSERV and a server group of WWWGROUP.

  • Create an installation directory to hold the configuration files for the server instance. See Migrating and installing IBM HTTP Server > z/OS systems for more information.
    The examples that follow in this topic assume an installation directory of /etc/websrv1. Set the directory permissions to 770 and the directory ownership to the server user ID and group:
    mkdir  /etc/websrv1 
    chown  WWWSERV:WWWGROUP /etc/websrv1
    chmod 770 /etc/websrv1
    
  • The user running the installer must have write access to the selected installation directory. The user ID must have a valid OMVS segment, and the user ID must be the same as the user ID that the Web server runs as. (See the z/OS system configuration section referenced in the previous steps.)
  • Set the umask value to 022. To verify that the umask value is set to 022, run the umask command.
  • If you are installing the product for the first time, then enable the administrative console to modify the httpd.conf file by adding the WebSphere Application Server control region user ID to the IBM HTTP Server group using SAF. For example, to add a user ASCR1 to the group WWWGROUP, type the following command:
    CONNECT ASCR1 GROUP (WWWGROUP) OWNER (WWWGROUP)

Sobre Esta Tarefa

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

Procedimento

  1. Log in to the UNIX System Services shell with the user ID that will run the installer. (See the Before you 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.

    Three parameters can be used to invoke the installer program.
    • Optional: The -admin keyword, which allows you to use the administrative console to modify the httpd.conf file.
    • 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 port is 80. You can also change the port on the Listen directive.
    The following examples invoke the installer program from the administrative console. You can invoke the command with or without support for modifying thehttpd.conf file. For both examples, /etc/websrv1 is the installation directory, and 80 is the non-SSL port for the Web server.
    • This example invokes the command with support for modifying the httpd.conf file.
      bin/install_ihs -admin /etc/websrv1 80
    • This example invokes the command without support for modifying the httpd.conf file.
      bin/install_ihs /etc/websrv1 80
    Note: If your product directory path contains symbolic links, you should point the symbolic links to the following default product directory: /usr/lpp/zWebSphere_OM/V6R1/HTTP/Server. If you do not use the default product directory, you must invoke the installation script using its absolute path, such as /WebSphere/6.1/SMPE/bin/install_ihs. If you do not use of the two options, IBM HTTP Server creates physical links, not logical links, when it creates the symbolic links for the installation directory.
  3. Optional: This step is optional unless the administrative console is configured to start and stop IBM HTTP Server. You can start the IBM HTTP Server instance from the MVS console by creating a JCL cataloged procedure for the instance. For more information, see Using JCL procedures to start IBM HTTP Server on z/OS. Ensure that the JCL procedure is assigned to the user and group you defined for IBM HTTP Server, as described in Performing required z/OS system configurations.
  4. Optional: You can create multiple instances of IBM HTTP Server by running the IBM HTTP Server installer program more than once. However, you must specify a different installation directory each time you run the installer program.

Resultados

Perform the following steps to confirm that you have successfully installed a running version of the product on your 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. Run the following commands 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 your z/OS system, using either the non-SSL port number you 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

O Que Fazer Depois




Related concepts
Using JCL procedures to start IBM HTTP Server on z/OS
Related tasks
Performing required z/OS system configurations
Uninstalling 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
Tópico de Tarefa    

Termos de Uso | Feedback

Última atualização: Feb 19, 2009 4:14:16 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.ihs.doc/info/ihs/ihs/tihs_installihsz.html