
  RED HAT ENTERPRISE WEB SERVER INSTALLATION OVERVIEW

  Quick Start - Solaris
  ------------------

  Red Hat Enterprise Web Server (RHATews) consists of Apache Httpd
  and Apache Tomcat and set of components needed for running them.

  After installation two users and two groups are created and they
  are used for running the RHATews components.

  Quick Start - Apache Httpd
  --------------------------

  Apache Httpd configuration files are located inside
  /opt/redhat/ews/etc/httpd directoy. By default all supported modules
  are loaded and enabled. Edit the httpd.conf file and disble the
  modules you don't need.
  
  Starting apache is performed using the provided apachectl script
  located inside /opt/redhat/ews/sbin directory.
  The apachectl uses the configuration script that you can edit
  and select verious startup parameters and select running mpm.
  The file used is /opt/redhat/ews/etc/sysconfig/httpd

  To start the Apache Httpd use the command
  
    sbin/apachectl start

  For complete documentation, see docs/httpd/invoking.html

  To stop the Apache Httpd use the command
  
    sbin/apachectl stop

  For complete documentation, see docs/httpd/stopping.html

  If you want your server to continue running after a system reboot,
  you should add a call to apachectl to your system startup files.



  Quick Start - Apache Tomcat
  --------------------------

  RHATews comes with two Tomcat versions, 5.5 located inside
  /opt/redhat/ews/share/tomcat5 directory and Tomcat 6.0 located
  inside /opt/redhat/ews/share/tomcat6 directory

  Apache Tomcat requires to be run under tomcat user and group
  accounts, and there are two set of scripts used for that

  To start the Apache Tomcat 6 use the command

    sbin/tomcat6 start

  This script must be run using root account. It reads the configuration
  file /opt/redhat/ews/etc/sysconfig/tomcat6 and changes the user
  and group to tomcat account before invoking the catalina.sh script
  located inside /opt/redhat/ews/share/tomcat6/bin directory.

  To stop the Apache Tomcat 6 use the command

    sbin/tomcat6 stop

  For running the Apache Tomcat 6 as service use provided sripts located
  inside /opt/redhat/ews/etc/init.d directory
  You should copy the tomcat6 script to

    cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rc3.d/S70tomcat6

    cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rcS.d/K20tomcat6

  Contact your Solaris documentation on how to choose the
  init level numbers. The preferred method of service management
  is via Solaris Service Management Facility; to read more
  about SMF, consult smf(5) manual.

  By default the tomcat-native is automatically added to the
  LD_LIBRARY_PATH and -Djava.library.path during tomcat startup.
  The catalina.sh script detects the running JVM version and
  adds the /opt/redhat/ews/lib (/opt/redhat/ews/lib64 for 64 bit JVM)
  to the library path.
