Monday, November 10, 2014

How to Install Sun Identity Manager

Version: Sun Identity Manager 8.1
Operating System: Oracle Linux 6 (64-bit)
Components Tested On: Tomcat 6.41, Java 6.38 (64-bit)
Prerequisites
Install Tomcat 6
1. Download the Tomcat 6 here. Select Binary Distributions => Core => tar.gz.
File: apache-tomcat-6.0.41.tar.gz


2. Execute the following command to extract the tar.gz file. A "apache-tomcat-6.0.41" directory is created. The location of that directory is refer to as the TOMCAT_HOME directory. 
tar -xvf apache-tomcat-6.0.41.tar.gz

3. Add the following lines to the top of $TOMCAT_HOME/bin/setclasspath.sh file:
# Location of a JDK
JAVA_HOME=/home/oracle/jdk1.6.0_38 

# Location of your unpacked Tomcat
CATALINA_HOME=/home/oracle/apache-tomcat-6.0.41

export JAVA_HOME CATALINA_HOME

4. When configuring Tomcat to support UTF-8, add the URIEncoding="UTF-8" attribute to the connector element in the $TOMCAT_HOME/conf/server.xml file, for example:
    <Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443"
               URIEncoding="UTF-8" />

5. When configuring Tomcat to support UTF-8, also add -Dfile.encoding=UTF-8 in your Java VM options. Add the following line to the top of “$TOMCAT_HOME/bin/catalina.sh”:
export JAVA_OPTS="-Dfile.encoding=UTF-8"

6. To start the Tomcat server, execute $TOMCAT_HOME/bin/startup.sh script. To stop the Tomcat server, execute $TOMCAT_HOME/bin/shutdown.sh script.

Installing Sun Identity Manager
1. Download the file from https://edelivery.oracle.com.
Product Pack: Sun Products
Platform: Oracle Solaris on SPARC (32-bit)
Sun Products Media Pack for Oracle Solaris on SPARC (32-bit)
Sun Identity Manager 8.1
File: V19877-01.zip (158M)

2. When installing Identity Manager on UNIX® or Linux systems, the /var/opt/sun/install
directory must exist and be writable by the user running the installer.
sudo mkdir -p /var/opt/sun/install
sudo chown oracle:oracle /var/opt/sun/install/

3. Make a directory to unzip the SIM file.
mkdir /home/oracle/sim
cd /home/oracle/sim
mv /home/oracle/Downloads/V19877-01.zip /home/oracle/sim/
unzip V19877-01.zip

4. Execute the following commands to start the installer:
# Make the install script executable
chmod 750 install

# The argument is needed to run installer on a 64-bit machine
JAVA_OPTS=-Dos.arch="x86" ./install

5. Below are screen shots to walk you through the installation wizard:
Welcome Screen
Click Next
Click Yes (Accept License)
Select New Installation
Then click Next
Specify path to install SIM components.
This path will be refer to as WSHOME.






Before clicking "Launch Setup", add the
additional jars in "$WSHOME/WEB-INF/lib" directory
JavaMail API 1.4.7 (mail.jar)
GlassFish Server (glassfish3/mq/lib/jms.jar)





Specify the repository path.

Select "No, I will configure Identity Manager myself"
Click Execute


Click Next



6. Navigate into WSHOME and package everything into a WAR file.
cd /home/oracle/idm
jar -cvf ../idm.war *

7. Move the WAR file into TOMCAT_HOME/webapps directory. Restart the Tomcat server.

8. Once the Tomcat server is running, go to "localhost:8080/idm" to access the Sun Identity Manager console.
ID: administrator
Password: administrator
or
ID: configurator
Password: configurator




No comments:

Post a Comment