Installation Opennms SLES

Admin

How to install Opennms on SLES
This is just my notes that might help someone else.

I downloaded the Java jdk from here: http://java.sun.com/javase/downloads/index.jsp

The rest of the files came from the opennms project pages http://sourceforge.net/

How I did it: openNMS

Install SLES 10, including: postresql postresql-devel postresql-server gcc gcc-c++ freetype2-devel libart_lgpl-devel Accept any dependencies

change the "ident sameuser" to "trust" local all all trust host all all 127.0.0.1/32 trust host all all ::1/128 ident sameuser remove the remark "#" from listen_address = 'localhost' ~ createdb -U postgres -E UNICODE opennms ~ exit Download jdk-6u11-linux-i586-rpm.bin from sun Should give something like 'java version "1.6.0_11"'
 * 1) /etc/init.d/postgresql start
 * 2) /etc/init.d/postgresql stop
 * 3) vi /var/lib/pgsql/data/pg_hba.conf
 * 1) vi /var/lib/pgsql/data/postgresql.conf
 * 1) /etc/init.d/postgresql start
 * 2) su postgres
 * 1) mkdir /tmp/java
 * 2) cd /tmp/java
 * 1) chmod o+x jdk-6u11-linux-i586-rpm.bin
 * 2) ./jdk-6u11-linux-i586-rpm.bin
 * 3) java -version

Download jicmp-1.0.9.tar.gz Download jrrd-1.0.3.tar.gz Download iplike-1.0.8.tar.gz
 * 1) tar -zxvf jicmp-1.0.9.tar.gz
 * 2) cd /tmp/java/jicmp-1.0.9
 * 3) ./configure
 * 4) make
 * 5) make install
 * 6) cd /tmp/java
 * 1) tar -zxvf jrrd-1.0.3.tar.gz
 * 2) cd /tmp/java/jrrd-1.0.3
 * 3) ./configure
 * 4) make
 * 5) make install
 * 6) mkdir /tmp/openNMS
 * 7) cd /tmp/openNMS
 * 1) tar -zxvf iplike-1.0.8.tar.gz
 * 2) cd iplike-1.0.8
 * 3) ./configure
 * 4) make
 * 5) make install
 * 6) /usr/local/sbin/install_iplike.sh

Download: opennms-core-1.6.2-1.noarch.rpm opennms-docs-1.6.2-1.noarch.rpm opennms-webapp-jetty-1.6.2-1.noarch.rpm opennms-1.6.2-1.noarch.rpm


 * 1) rpm -ivh --nodeps opennms-core-1.6.2-1.noarch.rpm
 * 2) rpm -ivh opennms-docs-1.6.2-1.noarch.rpm
 * 3) rpm -ivh opennms-webapp-jetty-1.6.2-1.noarch.rpm
 * 4) rpm -ivh opennms-1.6.2-1.noarch.rpm
 * 5) export OPENNMS_HOME=/opt/opennms
 * 6) $OPENNMS_HOME/bin/runjava -s
 * 7) $OPENNMS_HOME/bin/install -dis
 * 8) /etc/init.d/opennms start