• Automatic Restart of Apache/Tomcat/Webmin
  • Table 4.3.1 : Components Features of Apache and HP-UX Web Server Suite
  • 5 Preparing for Installing HP-UX Web Server Suite B.3.0 5.1 Hardware and Software Requirements
  • Table 5.1.1 : Hardware and Software Requirements
  • HP Apache-based Web Server versions 2.2.x
  • 5.2 Disk Space Requirements
  • 5.4 Java Development Kit (JDK) Requirements
  • 5.5 Java Servlet Development Kit (JSDK 2.x)
  • 6 Installing HP-UX Web Server Suite
  • 6.1 Installing HP-UX Web Server Suite on a Server 2.0.xwhere is Not Running Step 1: Preparing the Web Server Environment
  • Note
  • Step 3: Stopping HP Apache 2.0.x
  • Step 4: Performing the Installation
  • Step 5: Startup after Installation
  • Step 7: Stop HP-UX Apache-based Web Server
  • 6.2 Installing HP-UX Apache-based Web Server on a Server Concurrently Running 2.0.x
  • September 2008 Migration Guide




    Download 1.14 Mb.
    bet3/11
    Sana21.03.2017
    Hajmi1.14 Mb.
    1   2   3   4   5   6   7   8   9   10   11

    mod_perl

    mod_perl is an add-on Apache module that glues together the Perl runtime library, server software and an object-oriented Perl interface to Apache's C language API. It enables Apache modules to be written entirely in Perl and improves performance of Perl cgi scripts. The Prerequisites section in the apache.admin.guide contains requirements for mod _perl. It is still under development because of its dependency on Apache's API.



    auth_ldap

    Auth_ldap is the connector between Apache and an LDAP directory server module allowing Apache to authenticate HTTP clients by using entries in an LDAP directory. Auth_ldap supports iPlanet(Netscape) Directory Server and OpenLDAP Server.


    apr_shm

    apr_shm is a library that abstracts the usage of shared memory on UNIX platforms. It was previously called "Shmem" in this release. apr_shm support allows the /opt/hpws22/apache/conf/ssl.conf SSLSessionCache directives shmht: /opt/hpws22/apache/logs/ssl _scache (51200) and shmcb: /opt/hpws22/apache/logs/ssl _scache (51200) to be used. 51200 represents the size of the shared memory being created and can be changed based on the system resources. Shmht refers to the

    hash table method of session caching and shmcb refers to the circular buffer method of session caching. Please note that either shmht or shmcb can be specified.

    Tomcat

    Tomcat is an implementation of the Java Servlets 2.3 and JavaServer Pages 1.2 specifications. Tomcat can work either standalone or with the HP-UX Apache-based Web Server depending on the configuration. Tomcat is pre-configured to run with HP-UX Apache-based Web Server. Tomcat listens on port number 8081.

    Tomcat is installed in /opt/hpws22/tomcat. For more information, please see /opt/hpws22/hp_docs/tomcat/tomcat.admin.guide

    OpenSSL

    OpenSSL is a fully-featured Open Source toolkit implementing the Secure Sockets Layer and Transport Layer Security protocols with full-strength cryptography worldwide.

    OpenSSL is installed in /opt/hpws22/apache/ssl/openssl_bsafe/bin/openssl.

    PHP

    PHP is an HTML embedded, server-side, cross-platform, scripting language with support for database access. This version includes the security fix to correct POST vulnerabilities in previous versions. For more information see: http://www.php.net/releases/5_http://www.php.net/release 4 2_6.php

    For more information on PHP, please see php.admin.guide and php.user.guide in the /opt/hpws22/hp_docs/apache directory.

    Webmin

    Administration and Configuration GUI, a customized version of Webmin for HP-UX Web Server Suite. Webmin can configure the MPM directives that are new to Apache 2.2. It has also been enhanced to generate Certificate Authority (CA) Server Keys and Certificates using the OpenSSL toolkit.

    Webmin is installed in the /opt/hpws/webmin/ directory. For more information on Webmin, please see /opt/hpws22/hp_docs/webmin/webmin.admin.guide

    Apache modules in C

    The HP-UX Apache-based Web Server supports loading of Apache modules written in C . For more information on building and using C modules, see /opt/hpws22/apache/build/examples/README and the FAQ under Troubleshooting - "Why does my C module fail to load?".



    Automatic Restart of Apache/Tomcat/Webmin

    Apache/Tomcat/Webmin can be started automatically on reboot. For more information on customization/configuration of this feature, see /opt/hpws22/hp_docs/apache/apache.admin.guide

    The Apache product is built with options that provide maximum flexibility to allow enabling of new modules or disabling of existing modules. The modules included by default as shared objects with the HP-UX Apache-based Web Server are listed below. These modules are located in the /opt/hpws22/apache/modules/ directory.

    For a detailed description of the standard Apache modules, see http://httpd.apache.org/docs/2.2/mod/http://httpd.apache.org/docs-2.0/mod/index-bytype.html.

    For more information about new and changed features included in each HP-UX Web Server Suite release, see the release notes for each release on the web site:

    www.hp.com/go/webserver: ClickÆ"downloads”

    For additional information, see:



    http://httpd.apache.org/docs/2.2

    httpd.apache.org/docs-2.2/


    Table 4.3.1 : Components & Features of Apache and HP-UX Web Server Suite

    Components & Features

    Apache 2.0 from ASF1

    HP Apache 2.0.x

    Apache 2.2 from ASF1

    HP–UX Web Server Suite

    PA/IPF

    PA / IPF 2

    Latest HP Apache Available on HP SW Depot (Aug. 2002)




    2.0.59




    2.2.8

    Apache Web Server

    2.0.63

    2.0.59

    2.2.9

    2.2.8

    SuEXEC

    yes




    Yes

    yes

    IPv6**







    Yes

    PA only

    *Auto-restart Apache, Tomcat, or Webmin




    yes




    yes

    *Shared Memory Caching




    apr_shm




    apr_shm

    *Support Apache modules written in C




    yes




    yes

    *altroot.sh










    yes

    *cache_util.sh










    yes

    *ports.sh










    yes

    Security

    mod_ssl




    Built-in

    Built-in

    Built-in

    OpenSSL




    0.9.7m




    0.9.7m

    auth_ldap




    1.54




    1.54

    *Chroot




    yes




    Yes

    *Certmig




    PA only




    PA only

    *test_certmig.sh










    PA only

    *mkcert.sh




    yes




    yes

    Scripting

    mod perl




    1.99_16




    1.99_16

    PHP




    5.2.6




    5.2.6

    PHP with Oracle extension










    yes

    Miscellaneous

    mod_dav/mod_dav_fs







    Yes

    yes

    mod_proxy

    yes

    yes

    Yes

    yes

    mod_define




    yes







    Java

    Tomcat Servlet Container




    5.5.23




    5.5.23

    Apache connector to Tomcat




    modjserv modjk 1.2.0




    modjk 1.2.23

    modjk2 2.0.4



    Apache JServ




    1.1.1







    Administration

    Webmin

    1.070

    1.070


    Notes:

    1 “Apache from ASF” indicates that if you go to httpd.apache.org, , download, and build Apache yourself,


    these features/components would be included in the standard distribution.

    2 PA-RISC binaries are 32-bit and IPF binaries are 64-bit.

    * Indicates HP added feature. Not available in Open Source.

    ** IPv6 is only available on PA-RISC 11i (11.11) with IPv6 product (T1 306AA) installed and 11i Version 1.6

    (11.23). Because Apache is dependent on other products, such as Java and Perl, some components are not

    completely supported.


    Note: The version numbers in the preceding table are correct for the HP Apache-based Web Server 2.0.x and HP-UX Web Server Suite 3.x. For later releases, see the Release Notes in the documentation directory, or on the website:

    www.hp.com/go/webserver

    Click Æ”downloads”



    5 Preparing for Installing HP-UX Web Server Suite B.3.0

    5.1 Hardware and Software Requirements

    The HP-UX Web Server Suite runs on, 11i Version 2 or later. There are a small number of required patches that affect functionality. These can be reviewed after installation. They are listed in the Admin Guides for each component, which can be found in the directory /opt/hpws22/hp_docs.

    The following table shows the necessary hardware and software for installing and running the HP Apache or HP­UX- Web Server Suite. These requirements must be met before beginning a migration.

    Table 5.1.1 : Hardware and Software Requirements

    HP Apache-based Web Server Products

    HP-UX Platform

    Disk Space

    mod_perl

    Webmin

    Java Servlets and JSPs

    HP Apache-based Web Server versions 2.2.x

    v.2.2.8 PA-RISC product # B9415AA

    HP-UX 11i2

    50-60 MB

    Perl v.5.8.8

    Perl 5 or greater

    HP JDK 1.2.2.04 or higher (JDK 2.0 or higher

    recommended)

    JSDK 2.0 for ApacheJServ 2.0 servlets


    v.2.2.8 IPF

    Itanium Processor Family (IPF)

    Pre-enabled for 64-bit Perl

    product


    # B9415AA

    HP-UX 11i or later Version 2 or later

    50-60MB

    64-bit Perl for IPF

    Perl 5 or greater

    HP JDK 2.0.0 for IPF or higher

    JSDK 2.0 for ApacheJServ 2.0 servlets



    5.2 Disk Space Requirements

    350MB of disk space is required to install the entire HP-UX Web Server Suite. Installed separately, each product uses the:

    HP-UX Apache-based Web Server 150 MB

    HP-UX Tomcat-based Servlet Engine 20 MB

    HP-UX Webmin-based Admin 17 MB

    5.3 Perl Requirements

    Perl is needed when you use perl scripts, mod_perl, or Webmin. The Release Notes bundled with the product describe how to configure mod_perl and Webmin.

    apxs is a utility perl script provided by Apache for compiling and installing modules. HP Apache-based Web Server 2.0.x for IPF expects perl to be at /usr/contrib/Q4/bin. All other versions expect Perl to be at /opt/perl/bin/perl.

    The mod _perl module is an add-onfeature that is compiled into HP Apache or HP-UX Apache-based Web Server but is not configured by default. mod _perl enables Perl CGI to run faster and allows Apache add-on modules to be written in Perl.

    The Webmin tool is the web-based GUI administrator for HP Apache or HP-UX Web Server Suite. The Webmin tool requires Perl version 5.002 or higher; HP-UX Web Server Suite mod_perl requires Perl v 5.8.8. Therefore, using Perl 5.8.8 is recommended. (Perl 5.6.1 is the same version as was required by HP Apache 2.0.19.20 and up.)onwards

    On IPF, Apache 2.x is a native 64-bit application. Its mod_perl modules require respective 64-bit perl libraries v 5.8.8.

    To download Perl 5.8.8, go to HP Software Depot at software.hp.com and search for “Perl v.5.8.8”.

    5.4 Java Development Kit (JDK) Requirements

    As part of its distribution, the HP Apache-based Web Server or HP-UX Web Server Suite includes a servlet and a JSP container. Apache 2.0.x bundled Tomcat and JServ; the HP-UX Web Server Suite bundles only Tomcat (JServ is being phased out). If you want to use a servlet/JSP container, you must have HP-UX Java Developer’s Kit (JDK) release 1.2.2.04 or later. However, it is recommended that you use version 2.0.0.2 or later.

    The latest versions of Java can be downloaded from: www.hp.com/go/java.

    The IPv6 version of the HP-UX Web Server Suite requires JDK 1.4 only if your Tomcat servlets or JSPs use IPv6 addresses. For example, in many cases Apache handles the long IPv6 addresses and Tomcat is insulated from them. In this situation, the earlier version of the JDK is sufficient. In other words, if you use Java classes that require IPv6 support, JDK 1.4 is required. If you use Java classes without reference to IP addresses, the earlier JDK is adequate.



    5.5 Java Servlet Development Kit (JSDK 2.x)

    Apache 2.0.x requires JSDK 2.x to support Apache’s JServ. Because the JServ module is no longer used in the HP-UX Web Server Suite, JSDK 2.x is no longer required.

    If you are using JServ on HP Apache 2.0.x, you must migrate to tomcat/mod_j k when you upgrade to the HP-UX Web Server Suite. After you install the HP-UX Web Server Suite, perform the steps described in Migrating Tomcat and Java.

    SeeFor more information, s tomcat.migration.guide available at: /opt/hpws22/hp _docs/tomcat



    6 Installing HP-UX Web Server Suite

    The following procedures describe two methods of upgrading to the HP-UX Web Server Suite. Choose the procedure that is appropriate to your site environment.



    • Installing HP-UX Web Server Suite on a Server Where 2.0.x is Not Running

    Choose this method if you need to make the web server you are upgrading unavailable while installing the HP-UX Web Server Suite.

    • Installing HP-UX Web Server Suite on a Server Concurrently Running 2.0.x

    Choose this method if you need to have HP Apache 2.0.x continuously running on the server you are upgrading to the HP-UX Web Server Suite.

    6.1 Installing HP-UX Web Server Suite on a Server 2.0.xwhere is Not Running

    Step 1: Preparing the Web Server Environment

    Prepare the web server environment if not done. For more information, see Preparing for Installing HP-UX Web Server Suite,.



    Note: Remember to backup your system.

    Step 2: Remove Technology Preview Installation

    If you participated in the Technology Preview Program and still have HP Apache-based Web Server Version 2.0.0 Tech Preview installed on your system, ensure that it is removedtime.enterTo check to see if it is installed type:

    /usr/sbin/swlist | grep B9416AA
    The product is installed ifthe following is listed:

    B9416AA 2.0.00.00.02 HP Apache-based Web Server with Strong


    (128bit) Encryption

    To stop Apache, Tomcat, and Webmin as root type:,enter

    /opt/hpapache2/bin/apachectl stop /opt/hpapache2/tomcat/bin/shutdown.sh /opt/hpapache2/webmin/webmin-init stop

    To uninstall the Technology Preview, as root, enter: /usr/sbin/swremove B9416AA

    Also remove the directories completely. As root, enter: rm –rf /opt/hpapache2

    Step 3: Stopping HP Apache 2.0.x

    Before you install hpws (which uses default ports 80 and 443), ensure that HP Apache Version 2.0.x (which uses the same default ports) is stopped. This ensures that there will be no conflict in port numbers between the two versions of HP Apache.

    To stop Apache, Tomcat, and Webmin as root type:,enter

    /opt/hpws/apache/bin/apachectl stop /opt/hpws/tomcat/bin/shutdown. sh

    /opt/hpws/apache/webmin/webmin-init stop

    Step 4: Performing the Installation

    The HP-UX Web Server Suite product bundle is part of HP-UX. To installthe is the HP-UX Web Server Suite, use one of the following methods:



    • Install using the HP SW Depot Web Release,

    www.hp.com/go/webserver-) Click downloads.

    • Install using the HP-UX 11 I v2 Application Release CDs (when available).

    Step 5: Startup after Installation

    Enter the following command line to start Apache after installation: /opt/hpws22/apache/bin/apachectl start



    Step 6: Perform a Quick Check of the HP-UX Web Server Suite Installation

    AccessTo a the index.html page, enter:



    http://yourserver.com

    theT HP-UX Apache-based Web Server home page. appears

    ExecuteTo e the test CGI script, enter:

    http://yourserver.com/cgi-bin/test-cgi

    severalS lines of text listing the environment variables. appear The first line must be: CGI/1.0 test script report:



    Step 7: Stop HP-UX Apache-based Web Server

    Stop HP-UX Apache-based Web Server, if it is running, before continuing with the migration. process As root, type:enter /opt/hpws22/apache/bin/apachectl stop



    Step 8: Migrating to an HP-UX Web Server Suite Environment

    configureC your HP-UX Web Server Suite to retain any customizations you have made to your HP Apache-based Web Server 2.0.x environment.For more information, see Migrating Your Apache Configuration from 2.0.x to HP-UX Apache-based Web Server 3.x.

    You can also refer the release documents that are bundled with the product to familiarize yourself withthe HP-UX Web Server Suite’s capability. For administrator guides, user guides, and configuration information, see:

    /opt/hpws22/hp_docs



    6.2 Installing HP-UX Apache-based Web Server on a Server Concurrently Running 2.0.x

    The HP Apache 2.0.x and HP-UX Apache-based Web Server can run simultaneously on the same machine if they use different port numbers or use different IP addresses. Each web server has its own binary.

    Both HP Apache-based Web Server 2.0.x and HP-UX Web Server Suite use port 80 and port 443 (SSL) by default. If you want to maximize availability during the migration by keeping HP Apache 2.0.x running on the server you are upgrading, you can temporarily change ports using the following procedure.

    1   2   3   4   5   6   7   8   9   10   11


    Download 1.14 Mb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa


    September 2008 Migration Guide

    Download 1.14 Mb.