Wednesday, December 12, 2012

Install Quickr 8.5 for WPS - Part 3 (HTTP and LDAP)

Now I will install HTTP server to access Quickr over port 80/443 and configure LDAP (Domino LDAP)

I will use Apache HTTP server from OS installation media

  • My CD is mounted under  /media/RHEL_5.8\ x86_64\ DVD/ folder.
    • Navigate into the folder #cd /media/RHEL_5.8\ x86_64\ DVD/Server and install httpd rpm
    • #rpm -Uvh  httpd-2.2.3-63.el5.x86_64.rpm
    • After installation run #service httpd start
    • Test port 80 - type your server IP in to browser. You should get apache welcome page 
  • No it is time to install WAS plug-in which is used for communication betwen WAS and HTTP server
  • Navigate to Quicker Installation Media IL-7.
    • #cd /opt/install/IL-7/q850_extras/plugin
    • #./install
    • Installation wizard will be opened in a graphic mode
      • Click NEXT
      • Accept license NEXT
      • System prerequisites check failed ... do not worry click NEXT
      • Select Apache Web Server V2 and click NEXT
      • Select local option
      • /opt/IBM/Quickr/Plugins click NEXT
      • /opt/IBM/Quickr/AppServer and click NEXT
      • /etc/httpd/conf/httpd.conf and port 80 - click NEXT
      • leave webserver1 and click NEXT
      • Leave plugin-cfg.xml in default ... NEXT
      • Check summary and click NEXT, NEXT
      • Install will be finished with status: Partial Success. We must configure WAS to use  HTTP server only.
  • Install FP for plugin http://www-01.ibm.com/support/docview.wss?uid=swg24031962
  • Configure HTTP server in WAS console
    • Go to https://<IP>:10041/admin and login
    • Navigate to Servers>Web Servers and click NEW
    • Step 1 - fill name, type, hostname and os. Click NEXT
    • Step 2 - Click NEXT
    • Step 3 - Set port 80 and /opt/IBM/Quickr/Plugins and select All. Click NEXT
    • Step 4 - click FINISH
    • After server is created, click SAVE link abow Web Servers table
  • Edit httpd.conf as and chage last 2 lines to have module version ap22 and not ap20
    • LoadModule was_ap22_module /opt/IBM/Quickr/Plugins/bin/64bits/mod_was_ap22_http.so
    • WebSpherePluginConfig /opt/IBM/Quickr/Plugins/config/webserver1/plugin-cfg.xml
    • #service httpd start
  • Enable SSL
    • install  #rpm -Uvh distcache-1.4.5-14.1.x86_64.rpm
    • install  #rpm -Uvh mod_ssl-2.2.3-63.el5.x86_64.rpm
  • Edit /etc/httpd/conf/ssl.conf and find line <VirtualHost _default_:443> and add under
    •  RewriteEngine On
    •  RewriteRule ^/$ /places/login [R]
  • Edit /etc/httpd/conf/httpd.conf add this lines on the end of the file
AllowEncodedSlashes On

NameVirtualHost *:443
NameVirtualHost *:80

<VirtualHost *:80>
        ServerName examlpe.ibm.com
        ErrorLog logs/examlpe.ibm.com-error_log
        CustomLog logs/examlpe.ibm.com-access_log common
        RewriteEngine On
        RewriteCond %{HTTPS} off
        RewriteRule (.*) https://%{HTTP_HOST}/places/login
</VirtualHost>

LoadModule was_ap22_module /opt/IBM/Quickr/Plugins/bin/64bits/mod_was_ap22_http.so
WebSpherePluginConfig /opt/IBM/Quickr/Plugins/config/webserver1/plugin-cfg.xml


  • Configure Domino LDAP
    • goto # cd /opt/IBM/Quickr/wp_profile/PortalServer/wizard
    • start graphic wizard #./configwizard.sh
    • you will need only actual was admin account, LDAP bind account, hostname of LDAP, LDAP type is Domino 7 even we have 8.5.2.
    • I configured LDAP as federated. All other options could be  left in defaults.
    • Restart WebSphere_Portal