Selasa, 09 Agustus 2016

Install Openam OK

Install tomcat 7 on ubuntu 14.04

Manual installation

Manual installation is highly recommended as you will get latest tomcat version .
Step 1 » Install JDK 7 before installing tomcat.
krizna@leela:~$ sudo apt-get install openjdk-7-jdk
Step 2 » Download latest tomcat version ( Choose latest version from here –Download Apache Tomcat )
krizna@leela:~$ wget http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.54/bin/apache-tomcat-7.0.54.tar.gz
Step 3 » Extract the package and move to /usr/local/ folder.
krizna@leela:~$ tar -xvf apache-tomcat-7.0.54.tar.gz
krizna@leela:~$ sudo mv apache-tomcat-7.0.54 /usr/local/

Step 4 » Choose username and password to manage tomcat and add to the file/usr/local/apache-tomcat-7.0.54/conf/tomcat-users.xml like the below. The below code must be within < tomcat-users > …. < /tomcat-users > tags.
Step 5 » Create a new file tomcat7 in /etc/init.d/ and add the below code. This will create service called tomcat7 . Please change CATALINA_HOME value according to your path.
Step 6 » Change the file permission.
krizna@leela:~$ sudo chmod 755 /etc/init.d/tomcat7
Step 7 » Now start the service .
krizna@leela:~$ sudo /etc/init.d/tomcat7 startand issue the below command to start service automatically while booting.krizna@leela:~$ sudo update-rc.d tomcat7 defaults
Step 8 » Now open http://serve-IP:8080 in your browser, you could get the tomcat page like below. you can access admin pages after authentication .

That’s it . you got latest version installed.

Install OPENAM
 *Download openam
 *cp OpenAM-12.0.0.zip /opt/
 *cd /opt/
 *unzip OpenAM-12.0.0.zip
 *cd /openam
 *cp OpenAM-12.0.0.war /usr/local/apache-tomcat-7.0.54/webapps/openam.war
 *sudo /etc/init.d/tomcat7 restart

http://172.16.13.223:8080/openam/

Tidak ada komentar:

Posting Komentar