{"id":11590,"date":"2016-10-12T09:10:43","date_gmt":"2016-10-12T14:10:43","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=11590"},"modified":"2016-12-20T10:22:54","modified_gmt":"2016-12-20T15:22:54","slug":"openam-12","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=11590","title":{"rendered":"OpenAM 12: Install"},"content":{"rendered":"<div class='toc wptoc'>\n<h2>Contents<\/h2>\n<ol class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#Downloads\">Downloads<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#OpenAM_Enterprise\"> OpenAM Enterprise<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#OpenDJ_Enterprise\">OpenDJ Enterprise<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Tomcat\">Tomcat<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Apache_HTTP_Server\">Apache HTTP Server<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#XAMPP\">XAMPP<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Prerequisites\">Prerequisites<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#DNS_Name\">DNS Name<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Java_7\">Java 7<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Tomcat_7\">Tomcat 7<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#OpenDJ_Enterprise_1\">OpenDJ Enterprise<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Install_OpenAM\">Install OpenAM<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Log_Locations\">Log Locations<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#References\">References<\/a>\n\t<\/li>\n<\/ol>\n<\/ol>\n<\/div>\n<div class='wptoc-end'>&nbsp;<\/div>\n<span id=\"Downloads\"><h2>Downloads<\/h2><\/span>\n<span id=\"OpenAM_Enterprise\"><h3> OpenAM Enterprise<\/h3><\/span>\n<p>* Download page: <a href=\"https:\/\/forgerock.org\/downloads\/\">https:\/\/forgerock.org\/downloads\/<\/a><br \/>\n* For example: <a href=\"https:\/\/backstage.forgerock.com\/#!\/downloads\/OpenAM\/OpenAM%20Enterprise\/12.0.0\/OpenAM%2012\/zip#list\">OpenAM-12.0.0.zip<\/a><\/p>\n<span id=\"OpenDJ_Enterprise\"><h3>OpenDJ Enterprise<\/h3><\/span>\n<p>* See <a href=\"?p=11596\">here<\/a><\/p>\n<span id=\"Tomcat\"><h3>Tomcat<\/h3><\/span>\n<p>* OpenAM 12 requires Tomcat 6 and above<br \/>\n* Download page: <a href=\"http:\/\/tomcat.apache.org\/\">http:\/\/tomcat.apache.org\/<\/a><br \/>\n* For example:<br \/>\n&#8211; Tomcat 6: <a href=\"http:\/\/apache.mirrors.tds.net\/tomcat\/tomcat-6\/v6.0.45\/bin\/apache-tomcat-6.0.45.zip\">apache-tomcat-6.0.45.zip<\/a><br \/>\n&#8211; Tomcat 7: <a href=\"http:\/\/apache.mirrors.hoobly.com\/tomcat\/tomcat-7\/v7.0.72\/bin\/apache-tomcat-7.0.72.zip\">apache-tomcat-7.0.72.zip<\/a><\/p>\n<span id=\"Apache_HTTP_Server\"><h3>Apache HTTP Server<\/h3><\/span>\n<p>*  Download page: <a href=\"https:\/\/httpd.apache.org\/download.cgi\">https:\/\/httpd.apache.org\/download.cgi<\/a><br \/>\n* For example: Apache 2.4.23<\/p>\n<span id=\"XAMPP\"><h3>XAMPP<\/h3><\/span>\n<p>* Download page: <a href=\"https:\/\/www.apachefriends.org\/index.html\">https:\/\/www.apachefriends.org\/index.html<\/a><\/p>\n<span id=\"Prerequisites\"><h2>Prerequisites<\/h2><\/span>\n<span id=\"DNS_Name\"><h3>DNS Name<\/h3><\/span>\n<p>* Define OpenAM DNS name by adding to hosts file:<\/p>\n<pre lang=\"bash\">\r\n127.0.0.1       openam.my.com\r\n<\/pre>\n<span id=\"Java_7\"><h3>Java 7<\/h3><\/span>\n<p>* OpenAM 12 requires Java 7 and above<\/p>\n<pre lang=\"bash\">\r\n>java -version\r\njava version \"1.7.0_45\"\r\nJava(TM) SE Runtime Environment (build 1.7.0_45-b18)\r\nJava HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)\r\n<\/pre>\n<span id=\"Tomcat_7\"><h3>Tomcat 7<\/h3><\/span>\n<p>* Unzip <em>apache-tomcat-7.0.72.openam12.zip<\/em> onto, e.g., <em>c:\\prog<\/em><br \/>\n* Increase Java memory by creating a <em>new <\/em><strong>setenv.bat<\/strong> file in <em>C:\\prog\\apache-tomcat-7.0.72.openam12\\bin<\/em> directory:<\/p>\n<pre lang=\"bash\">\r\nset JAVA_OPTS=-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m\r\nset JAVA_HOME=C:\\prog\\jdk1.7.0_45\r\n<\/pre>\n<span id=\"OpenDJ_Enterprise_1\"><h3>OpenDJ Enterprise<\/h3><\/span>\n<p>* See <a href=\"?p=11596\">here<\/a><\/p>\n<span id=\"Install_OpenAM\"><h2>Install OpenAM<\/h2><\/span>\n<p>* Extract <em>OpenAM-12.0.0.war<\/em> from <em>OpenAM-12.0.0.zip<\/em> to <em>C:\\prog\\apache-tomcat-7.0.72.openam12\\webapps<\/em> directory<br \/>\n* Rename <em>OpenAM-12.0.0.war<\/em> to <em><strong>openam.war<\/strong><\/em><br \/>\n* Start Tomcat<br \/>\n* Point browser to <a href=\"http:\/\/openam.my.com:8080\/openam\">http:\/\/openam.my.com:8080\/openam<\/a><br \/>\n* Select <em>Create New Configuration<\/em><br \/>\n* Accept license agreement and click <em>Continue<\/em><br \/>\n* Enter Default User [amAdmin] password: Wx1<br \/>\n* Enter values for Server Settings (see below summary screenshot for example values)<br \/>\n* Enter  values for Configuration Data Store Settings (see below summary screenshot for example values)<br \/>\n* Enter  values for User Data Store Settings<\/p>\n<span id=\"\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_UserDataStore_3.jpg\" rel=\"attachment wp-att-11640\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_UserDataStore_3.jpg\" alt=\"openam12_setup_userdatastore_3\" width=\"805\" height=\"643\" class=\"aligncenter size-full wp-image-11640\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_UserDataStore_3.jpg 805w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_UserDataStore_3-300x240.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_UserDataStore_3-768x613.jpg 768w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><\/a><\/h6><\/span>\n<p>* Site Configuration. Select no load balancer<br \/>\n* Agent Information. Enter password for default policy Agent here, e.g. Wx2. It needs to be <strong>different <\/strong>from root password.<br \/>\n* Summary<\/p>\n<span id=\"_1\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_Summary_6.jpg\" rel=\"attachment wp-att-11641\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_Summary_6.jpg\" alt=\"openam12_setup_summary_6\" width=\"804\" height=\"643\" class=\"aligncenter size-full wp-image-11641\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_Summary_6.jpg 804w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_Summary_6-300x240.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM12_Setup_Summary_6-768x614.jpg 768w\" sizes=\"auto, (max-width: 804px) 100vw, 804px\" \/><\/a><\/h6><\/span>\n<p>* Done<br \/>\n* Login OpenAM: <a href=\"http:\/\/openam.my.com:8080\/openam\">http:\/\/openam.my.com:8080\/openam<\/a><\/p>\n<span id=\"_2\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM13_Login_1.jpg\" rel=\"attachment wp-att-11621\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM13_Login_1.jpg\" alt=\"openam13_login_1\" width=\"581\" height=\"461\" class=\"aligncenter size-full wp-image-11621\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM13_Login_1.jpg 581w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2016\/10\/OpenAM13_Login_1-300x238.jpg 300w\" sizes=\"auto, (max-width: 581px) 100vw, 581px\" \/><\/a><\/h6><\/span>\n<span id=\"Log_Locations\"><h2>Log Locations<\/h2><\/span>\n<p>* <em>C:\\Users\\jimmy\\openam12\\openam\\log<\/em><br \/>\n* <em>C:\\Users\\jimmy\\openam12\\openam\\debug<\/em><\/p>\n<span id=\"References\"><h2>References<\/h2><\/span>\n<p>* <a href=\"https:\/\/backstage.forgerock.com\/#!\/docs\/openam\/12\">OpenAM 12 Doc<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Downloads OpenAM Enterprise * Download page: https:\/\/forgerock.org\/downloads\/ * For example: OpenAM-12.0.0.zip OpenDJ Enterprise * See here Tomcat * OpenAM 12 requires Tomcat 6 and above * Download page: http:\/\/tomcat.apache.org\/ * For example: &#8211; Tomcat 6: apache-tomcat-6.0.45.zip &#8211; Tomcat 7: apache-tomcat-7.0.72.zip &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=11590\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[720],"tags":[141,721],"class_list":["post-11590","post","type-post","status-publish","format-standard","hentry","category-openam","tag-install","tag-openam"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-30W","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/11590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11590"}],"version-history":[{"count":21,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/11590\/revisions"}],"predecessor-version":[{"id":11846,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/11590\/revisions\/11846"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}