Sun Java System Portal Server 7.1 Configuration Guide

Installing Portal Server 7.1 as a Non-Root User

If you do not have administrator privileges for the machine where you install Portal Server, use the following procedure to install Portal Server.

ProcedureTo Install Portal Server 7.1 as a Non-Root User

  1. Install the Directory Server using the Java ES installer.

    During installation, provide the username and group information whenever prompted.

  2. As the non-root user, start Directory Server and verify whether it is running.

    ps -aef | grep slapd

  3. Install web container as the non-root user using the Java ES installer.

  4. Install Access Manager.

    For more information on installation steps, see the Technical Note: Installing Access Manager to Run as a Non-Root User.

  5. Install Portal Server in the Configure Later mode.

  6. During installation, provide the non-root user information whenever prompted.

  7. Change the ownership and access rights of SUNWportal to the User ID and Group of the non-root user.


    chown -R Userid:Group /PortalServer_base/SUNWportal
    chown -R Userid:Group /etc/SUNWportal
    chown -R Userid:Group /var/SUNWportal
    chmod -R 755 /PortalServer_base/SUNWportal
    chmod -R 755 /etc/SUNWportal
    chmod -R 755 /var/SUNWportal 
  8. Restart the web container.

ProcedureTo Create a New Portal Server Instance as a Non-Root User

  1. Create a web container instance as a non-root user.

  2. Telnet as a non-root user and run the psadmin create-instance command.

  3. Telnet as the root user and run the chown -R psuser:portal /var/opt/SUNWportal/portals/myPortal/ command.

  4. Telnet as a non-root user and restart the web container instance.

ProcedureTo Create a New Search Server in Web Server Non-Root Install

  1. Create a Web Server instance using the Web Server 7.0 administration console as a non—root user.

  2. Create a search server.

  3. Log in as a root user into the machine and change the search server instance.

    chown -R nonrootuser.nonroot /var/opt/SUNWportal/searchservers/search-server-id

    For the Linux platform, use the following command: chown -R nonrootuser.nonroot /var/opt/sun/portal/searchservers/search-server-id.

  4. Change permissions of the search instance.

    chmod -R og+rX /var/opt/SUNWportal/searchservers/search-server-id

    For the Linux platform, use the following command: chmod -R og+rX /var/opt/sun/portal/searchservers/search-server-id

  5. Restart Web Server as the non-root user.