Deployment Example: Sun Java System Communications Services for Access Anywhere (EdgeMail)

4.4 Installing and Configuring Web Server

Web Server is installed on the front-end (FE) servers for mail filters and on the back-end (BE) servers for hosting Access Manager.

ProcedureTo Install Web Server on Front-End Servers

Steps
  1. Add the runtime userid webservd to the following files:


    /etc/passwd: webservd:x:80:80::/home/webservd:/bin/pfsh
    /etc/shadow: webservd:*LK*:::::::
    /etc/group: webservd::80:
  2. Make sure the hostname mail-domain is plumbed and working.

  3. Modify the silent install state file to contain the hostname and IP address of the current server.


    # cd /var/bits/silent
    # vi FEWebServerStateFile
    
  4. Run the Java ES installer using the same state file.


    # cd /var/bits/Java_es/Solaris_sparc
    # ./installer -nodisplay -noconsole -state /var/bits/silent/FEWebServerStateFile
    

ProcedureTo Install Web Server on Back-End Servers

Steps
  1. Add the runtime userid webservd to the following files:


    /etc/passwd: webservd:x:80:80::/home/webservd:/bin/pfsh
    /etc/shadow: webservd:*LK*:::::::
    /etc/group: webservd::80:
  2. Make sure the hostname of the current server id-amer-NN.us is plumbed and working.

  3. Run the Java ES installer in graphical or command-line mode.


    # cd /var/bits/Java_es/Solaris_sparc
    # ./installer [ -nodisplay ]
  4. Proceed through the installer, and select Web Server for installation. Then enter the following configuration values when prompted:


    Install directory: /apps
    hostname: id-amer-NN.us
    http port: 80
    Runtime user: webservd
    Admin Port: 8888

ProcedureTo Configure Web Server

Steps
  1. Login to the administration port of the server at http://id-amer-NN.domain:8888/

  2. Create virtual server instance ls2 for secure connection on port 443. The silent install file uses following configuration information:


    Port: 80
    Admin port: 34713
    CMN_SYSTEM_USER= webservd
    CMN_SYSTEM_GROUP=webservd
    WS_Admin_user=admin
    CMN_host_name: id-amer-NN
  3. Edit the server.xml file for the ls1 instance and add the highlighted portion to the line below:


    <LS id="ls1" port="92" servername="id-amer-NN.us.example.com"
    defaultvs="https-id-amer-NN.us.example.com" security="false" ip="IPaddress"
    blocking="false" acceptorthreads="1"/>
  4. Restart the Web Server instance.