Cognos with IBM HTTP Server Linux

Berikut step by step untuk menjalankan Cognos di Websphere HTTP Server dengan OS Linux Suse
1. Install Cognos seperti biasa
2. Install HTTP Server, sangat mudah, gunakan default value
3. Install JRE, dalam kasus ini saya menginstall 1.6.0_23

Berikut path masing-masing aplikasi dan file penting
/opt/IBM/HTTPserver/conf/httpd.conf
/opt/IBM/HTTPserver/bin/apachectl
/opt/cognos/c8
/user/java/jre1.6.0_23
/etc/profile

4. Ubah etc/profile, di baris paling bawah masukkan baris berikut
#Cognos
LD_LIBRARY_PATH=/opt/cognos/c8/bin
JAVA_HOME=/usr/java/jre1.6.0_23
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
export LD_LIBRARY_PATH
#End of Cognos

#
# End of /etc/profile
#

5. Ubah /opt/IBM/HTTPserver/conf/httpd.conf dengan melihat ke http://publib.boulder.ibm.com/infocenter/c8bi/v8r4m0/index.jsp?topic=/com.ibm.swg.im.cognos.inst_cr_winux.8.4.0.doc/inst_cr_winux_id19533ConfigureApachegateway.html
Gunakan baris berikut
LoadModule cognos_module “/opt/cognos/c8/cgi-bin/mod2_2_cognos.so

Tambahkan baris berikut
#
# Note that from this point forward you must specifically allow
# particular features to be enabled – so if something’s not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
ScriptAlias /cognos8/cgi-bin “/opt/cognos/c8/cgi-bin”
Alias /cognos8 “/opt/cognos/c8/webcontent”
<Directory “/opt/cognos/c8/webcontent”>
Options Indexes MultiViews
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory “/opt/cognos/c8/cgi-bin”>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
#
# This should be changed to whatever you set DocumentRoot to.
#

Tambahkan juga baris berikut di bagian location
<Location /cognos8/cgi-bin/mod2_2_cognos.so>
SetHandler cognos-handler
Order allow,deny
Allow from all
</Location>

6. Run cognos service
7. Arahkan terminal ke /opt/IBM/HTTPserver/bin/ dan jalankan command ./apachectl start
8. Buka browser dan ketik url http://localhost/cognos8/cgi-bin/cognos.cgi

Semoga bermanfaat

This entry was posted in Cognos and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>