4.3. Extracting and Installing Enterprise Web Server

Extraction and installation of Enterprise Web Server for the downloaded ZIP files is as follows:

Procedure 4.3. Extracting and Installing EWS from a ZIP File

Follow this procedure to install JBoss Enterprise Web Server from a ZIP file:
  1. At the shell prompt, become the root user.
  2. Change to the directory with the ZIP file.
  3. Run the following command to extract the package to opt:
    # unzip <FILE_NAME> -d /opt
    Substitute the <FILE_NAME> with the name of the downloaded ZIP file.

    Note

    The system uses the opt directory as a default directory for installing JBoss Enterprise Web Server on Solaris. Make sure the opt directory is present during installation.
  4. Issue the following commands to run the post-installation scripts:
    cd /opt/jboss-ews-2.1/etc
    sh .postinstall.httpd
    sh .postinstall.tomcat
    
    The post-installation process creates the tomcat and apache users and groups, and directories:
    • The users and groups apache with an ID of 48 and tomcat with an ID of 91. The apache runs httpd, while the tomcat user runs tomcat.
    • Additional directories the tomcat group has write permissions to:
      • /var/logs/tomcat7
      • /var/logs/tomcat6