Previous Page: Installing Tomcat on a Linux Server  Next Page: Adding a Color Scheme or Theme

Installing Tomcat on a Solaris Server

IMPORTANT:  During this installation you must install a jserv module for Solaris. The jserv module must be built from a source file for your particular system hardware. For instructions on building the jserv module, see the Tomcat User's Guide. You can download the source code to build the jserv module from the Jakarta Project Web site.

To install the Tomcat Web application server software on a Linux server platform:

  1. If you have not already done so, install JDK 1.3 or later on your Solaris server.

    IMPORTANT:  On Solaris servers, JDK 1.3 is required to run Novell eGuide on a Tomcat server. You can download JDK 1.3 from the Apache Software Foundation Web site.

  2. Download the Tomcat zip file for Solaris from the Jakarta Project Web site.

    NOTE:  jakarta-tomcat-3.2.3.tar.gz is the filename as of publication date.

  3. To extract the files to your server:

    1. Open a terminal window.

    2. Change directories to the directory containing the zip file.

    3. To unzip the file, enter the following command:

      gunzip jakarta-tomcat-3.2.3.tar.gz

    4. To extract the tar file, enter the following command:

      tar xvf jakarta-tomcat.tar

  4. To create the system variables required to run Tomcat on your Linux server:

    1. Open a terminal window.

    2. Change directories to the /etc directory.

    3. Enter the following command to open and edit the profile file:

      vi profile

    4. Add the following line to the file:

      TOMCAT_HOME=[directory]

      Replace [directory] with the path to the directory where you unzipped the Tomcat zip file.

    5. Add the TOMCAT_HOME system variable to the export line as follows:

      export LOGNAME PATH TOMCAT_HOME

    6. To close and save the file, press ESC > type :wq > press Enter.

  5. For Tomcat/Apache integration:

    1. Build the mod_jk-eapi.so file for your hardware.

      For details, see the Tomcat User's Guide.

    2. Copy the mod_jk.so file into the Apache modules directory (for example, /etc/httpd/libexec or /etc/apache/libexec).

    3. Check the Apache httpd.conf file (for example, /etc/apache/conf/httpd.conf or /etc/httpd/conf/httpd.conf) to make sure it includes the correct Include statement and path to the Tomcat MOD_JK.CONF-AUTO file.

      NOTE:  You added the Include statement when installing the Apache Web server. For details, see Installing Apache on a Solaris Server.

  6. To verify that the Web server and Web application server are operational:

    1. Open a terminal window and enter a startup.sh command to start Tomcat.

    2. Open a terminal window and enter httpd start to start Apache.



  Previous Page: Installing Tomcat on a Linux Server  Next Page: Adding a Color Scheme or Theme