This section contains the following Portal Server 7.1 installation procedures on Web Server 7.0:
Default installation
SSL installation and post installation
Configuring Portal Server 7.1 on 64–bit Web Server 7.0 instance
Installing Portal Server 7.1 as a non-root user
Portal Server can be installed on Sun Java System Web Server using the Java ES installer. Sun Java System Web Server can be selected as component to install. Later you can select Sun Java System Web Server as the web container to install Portal Server using the Java ES installer.
For more information on the default installation procedure, see Chapter 1, Installing Sun Java System Portal Server 7.1.
The secure socket layer (SSL) mode enables a user to access Portal Server using the https protocol. The https protocol ensures secured communication between the user and Portal Server. In this scenario, you need to create a secured Web Server instance. After creating a secured Web Server instance, you direct the Portal Server web container to the secured Web Server instance.
This section describes following procedures:
Create a new configuration instance
Create a request certificate
Generate a server certificate
Add the Server Certificate to the Certificate Database
Add root ca to the Certificate Database
Enable SSL on the Listener
Install Web Server 7.0 on Node 1.
Log in to the Web Server 7.0 administrator console.
https://node1.domain-name:8989
Select New Configuration under the Configuration Tasks option.
Type the following values:
Configuration name: node1
Server name: node1.domain-name
Hosts: node1.domain-name
Server user: root
Port: 8200
Move the node from the Available list box to the Selected list box.
Click Finish.
Start the server configuration and access it.
http://node1.domain-name:8200
Run the following command.
WebServer_base/SUNWwbsvr7/bin/wadm create-cert-request --user=admin --host=node1.domain-name --port=8989 --echo=true --rcfile=rcfile --config=node1 --token=internal --server-name=node1.domain-name --org=org --locality=locality --state=state --country=country |
Type the token values.
Pin: password
Administrator user password: password
The request certificate is created.
Send the request certificate to the Certificate Authority for approval.
Add the Server Certificate, servercert, to the certificate database.
WebServer_base/SUNWwbsvr7/bin/wadm install-cert --user=admin --password-file=password --host=node1.domain-name --port=8989 --ssl=true --rcfile=rcfile1 --echo=true --token=internal --config=node1 --cert-type=server --file-on-server=true --nickname=servercert WebServer_base/SUNWwbsvr7/bin/servercert |
Type the token values.
Pin: password
Administrator user password: password
Add the root ca certificate to the database.
WebServer_base/SUNWwbsvr7/bin/wadm install-cert --user=admin --password-file=ps --host=node1.domain-name --port=8989 --ssl=true --rcfile=rcfile1 --echo=true --token=internal --config=node1 --cert-type=ca --file-on-server=true --nickname=rootca root-CA-file-path |
Type the token values.
Pin: password
Administrator user password: password
Restart the server configuration.
Access the Web Server 7.0 administrator console.
https://node1.domain-name:8989
Select New Configuration on the Tasks page.
Select Edit Configuration.
Select Virtual Servers.
Select http-listener1.
Click the Security tab.
Select Security option.
Click Apply and Close.
Click the Deploy button.
Restart the servers.
WebServer_base/SUNWwbsvr7/bin/stopserv WebServer_base/SUNWwbsvr7/bin/startserv |
Verify the SSL instance by accessing the following URL.
https://node1.domain-name:8200
Portal Server 7.1 supports 64–bit Web Server 7.0 on the following platforms:
Solaris 10 SPARC
Solaris 9 SPARC
Solaris 10 amd64 (Opteron based systems)
While you install Portal Server using the Java ES installer, it is installed in the 32–bit mode. If you need to install Portal Server in 64–bit mode, you need to install it in two sessions:
In the first session, you need to install the components, such as Web Server 7.0, Directory Server, and Access Manager.
In the second session, you need to install Portal Server and configure it to support 64–bit mode.
Install Web Server 7.0, Directory Server, and Access Manager using the Java ES installer.
Start the Directory Server instance.
Ensure that the Web Server 7.0 administrator server is running.
https://node1.domain-name:8989
Ensure that the Web Server instance is running.
http://node1.domain-name:80
Configure Web Server to support 64–bit mode.
WebServer_base/SUNWwbsvr7/bin/wadm set-config-prop --user=admin --port=8989 --password-file=passfile -config=host_name platform=64 WebServer_base/bin/wadm set-thread-pool-prop -user=admin --port=8989 --password-file=passfile -config=host_name stack-size=261144 WebServer_base/bin/wadm deploy-config -user=admin --password-file=passfile -port=8989 --restart=true host_name |
Ensure that the web container instance and administrator server are running.
https://node1.domain-name:8989
http://node1.domain-name:80
Install Portal Server 7.1 in the Configure Now mode using the Java ES installer.
If you have installed Portal Server in 64–bit mode, you can use the following procedure to convert Portal Server to support 32–bit mode. After configuring Portal Server to support 32–bit mode, you need to manually configure the search server.
Start the Directory Server instance.
Ensure that the Web Server administrator server is running.
Ensure that Web Server instance is running.
Configure Web Server to support 32–bit mode.
WebServer_base/SUNWwbsvr7/bin/wadm set-config-prop --user=admin --port=8989 --password-file=passfile --config=host_name platform=32 WebServer_base/bin/wadm set-jvm-prop --user=admin --port=8989 --password-file=passfile --config=host_name ative-library-path-prefix="/PortalServer_base/SUNWportal/lib |
Remove all compiled JSPs for the Portal desktop.
rm -rf /var/opt/SUNWportal/portals/PORTAL_ID/desktop/compiled/_jsps/*
WebServer_base/bin/wadm deploy-config --user=admin --password-file= passfile --port=8989 --restart=true host_name |
Stop and start the Web Server instance.
Go to the Search Server directory.
cd /var/opt/SUNWportal/searchservers/searchserver_name/db
Remove the unwanted files.
rm -rf _*
Edit the search.conf file.
vi /var/opt/SUNWportal/searchservers/search1/config/search.conf
Set the search-platform property to 32.
Stop and start the Web Server instance.
If you have installed Portal Server in 32–bit mode, then you can use the following procedure to convert Portal Server to support 64–bit mode. After configuring Portal Server to support 64–bit mode, you need to manually configure the search server.
Start the Directory Server instance.
Ensure that the Web Server 7.0 administrator server is running.
Ensure that Web Server instance is running.
WebServer_base/SUNWwbsvr7/bin/wadm set-config-prop --user=admin --port=8989 --password-file=passfile --config=host_name platform=64 WebServer_base/SUNWwbsvr7/bin/wadm set-thread-pool-prop --user=admin --port=8989 --password-file=passfile --config=host_name stack-size=261144 WebServer_base/SUNWwbsvr7/bin/wadm set-jvm-prop --user=admin --port=8989 --password-file=passfile --config= host_name native-library-path-prefix= "/PortalServer_base/SUNWportal/lib/sparcv9" (amd64 for x86) WebServer_base/SUNWwbsvr7/bin/wadm delete-jvm-options --user=admin --port=8989 --password-file=passfile --config= host_name "-Xms512M -Xmx768M -Xss128k" WebServer_base/SUNWwbsvr7/bin/wadm create-jvm-options --user=admin --port=8989 --password-file=passfile --config= host_name "-Xms512M -Xmx768M -Xss512k" |
Remove all compiled JSPs for the Portal desktop.
rm -rf /var/PortalServer_base/SUNWportal/portals/PORTAL_ID/desktop/compiled/_jsps/* |
WebServer_base/SUNWwbsvr7/bin/wadm deploy-config --user=admin --password-file= passfile --port=8989 --restart=true host_name |
Go to the Search Server directory and delete the unwanted files.
cd /var/SUNWportal/searchservers/searchserver_name/db rm -rf _* |
Edit the search.conf file.
vi /var/opt/SUNWportal/searchservers/search1/config/search.conf
Set the search-platform property to 64.
Stop and start the Web Server instance.
If you do not have administrator privileges for the machine where you install Portal Server, use the following procedure to install Portal Server.
Install the Directory Server using the Java ES installer.
During installation, provide the username and group information whenever prompted.
As the non-root user, start Directory Server and verify whether it is running.
ps -aef | grep slapd
Install web container as the non-root user using the Java ES installer.
Install Access Manager.
For more information on installation steps, see the Technical Note: Installing Access Manager to Run as a Non-Root User.
Install Portal Server in the Configure Later mode.
During installation, provide the non-root user information whenever prompted.
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 |
Restart the web container.
Create a web container instance as a non-root user.
Telnet as a non-root user and run the psadmin create-instance command.
Telnet as the root user and run the chown -R psuser:portal /var/opt/SUNWportal/portals/myPortal/ command.
Telnet as a non-root user and restart the web container instance.
Create a Web Server instance using the Web Server 7.0 administration console as a non—root user.
Create a search server.
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.
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
Restart Web Server as the non-root user.