When you create a new portal, it does not have any sample portal deployed in it. However, you can deploy sample portals such as community sample, enterprise sample, and developer sample to the new portal.
Copy the /PortalServer-base/SUNWportal/samples/portals/shared/input.properties.template file to the /var/opt/SUNWportal/tmp/input.properties file.
In the Linux platform, copy to the /var/opt/sun/portal/tmp/input.properties file.
Edit the input.properties file that you created in the /var/opt/SUNWportal/tmp directory with the following values.
ps.config.location=/etc/opt/SUNWportal
ps.portal.id=new portal id
ps.access.url=access url of the new portal.
ps.webapp.uri=access uri of the new portal.
ps.profiler.email=admin@domain.com
Optional. You can leave this value empty.
ps.profiler.smtp.host=host.domain
Optional. You can leave this value empty.
search.access.url=http://host.domain:port/search1/search
search.id=search1
am.admin.dn=uid=amAdmin,ou=People,dc=domain,dc=com
default.org.dn=dc=domain,dc=com
Copy the /PortalServer-base/SUNWportal/samples/portals/shared/password.properties.template file to the /var/opt/SUNWportal/tmp/password.properties file.
In the Linux platform copy the file to the /var/opt/sun/portal/tmp/password.properties directory.
Edit the /var/opt/SUNWportal/tmp/password.properties file and set proper passwords.
amadminPassword=%AMADMIN_PASSWORD%
amldapuserPassword=%AMLDAPUSER_PASSWORD%
userManagementPassword=%USER_MANAGEMENT_PASSWORD%
You can ignore this value if you are not setting up Communication channels.
Run the following command.
export JAVA_HOME=/usr/jdk/entsys-j2se
Run the following command to deploy all the portals.
/usr/sfw/bin/ant -buildfile /PortalServer-base/SUNWportal/samples/portals/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
(Optional) Run the following command if you wish to deploy only the developer portal.
/usr/sfw/bin/ant -buildfile /PortalServer-base/SUNWportal/samples/portals/developer/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
(Optional) Run the following command if you wish to deploy only the enterprise portal.
/usr/sfw/bin/ant -buildfile /PortalServer-base/SUNWportal/samples/portals/enterprise/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
(Optional) Run the following command if you wish to deploy only the community portal.
/usr/sfw/bin/ant -buildfile /PortalServer-base/SUNWportal/samples/portals/community/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
(Optional) Run the following command if you wish to deploy only the welcome portal.
/usr/sfw/bin/ant -buildfile /PortalServer-base/SUNWportal/samples/portals/welcome/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
Restart the web container.