OpenAM Setup
Install Oracle 8
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Hostname
Edit /etc/hosts and configure local hostname as follows:
127.0.0.1 localhost openam.example.com www.example.com
Install Apache HTTP server
sudo apt-get install apache2 apache2-doc apache2-utils
Port Number and Server Name
Edit the file /etc/apache2/conf/httpd.conf, and set the port number and server name as follows:
Listen 8000
ServerName www.example.com:8000
Install Apache Tomcat
sudo apt-get install tomcat7
Tomcat setenv.sh
Edit/create Tomcat setenv.sh and export the JAVA_HOME and set the options as follows:
export JAVA_HOME="/path/to/usr/jdk"
export CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m -XX:MaxPermSize=256m"
Install OpenAM
- Download the war file
https://backstage.forgerock.com/#!/downloads/OpenAM/OpenAM%20Enterprise/13.0.0/OpenAM%2013/war#list
- Deploy the .war file in Tomcat as openam.war.
mv ~/Downloads/OpenAM-13.0.0.war /path/to/tomcat/webapps/openam.war
Browse to OpenAM where it is deployed in Tomcat, in this example, http:// openam.example.com:8080/openam/ , to configure the application.
On the OpenAM home page, click Create Default Configuration.
Review the software license agreement. If you agree to the license, click "I accept the license agreement", and then click Continue.
Set the Default User [amAdmin] password to password and the Default Policy Agent [UrlAccessAgent] password to secret12 , and then click Create Configuration to configure OpenAM.
Click the Proceed to Login, then log in as amadmin with password password .
After login, OpenAM should direct you to the Realms page.