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
# /etc/init.d/postgresql start
# /etc/init.d/postgresql stop
# vi /var/lib/pgsql/data/pg_hba.conf
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
# vi /var/lib/pgsql/data/postgresql.conf
remove the remark “#” from listen_address = ‘localhost’
# /etc/init.d/postgresql start
# su postgres
~ createdb -U postgres -E UNICODE opennms
~ exit
# mkdir /tmp/java
# cd /tmp/java
Download jdk-6u11-linux-i586-rpm.bin from sun
# chmod o+x jdk-6u11-linux-i586-rpm.bin
# ./jdk-6u11-linux-i586-rpm.bin
# java -version
Should give something like ‘java version “1.6.0_11″‘
Download jicmp-1.0.9.tar.gz
# tar -zxvf jicmp-1.0.9.tar.gz
# cd /tmp/java/jicmp-1.0.9
# ./configure
# make
# make install
# cd /tmp/java
Download jrrd-1.0.3.tar.gz
# tar -zxvf jrrd-1.0.3.tar.gz
# cd /tmp/java/jrrd-1.0.3
# ./configure
# make
# make install
# mkdir /tmp/openNMS
# cd /tmp/openNMS
Download iplike-1.0.8.tar.gz
# tar -zxvf iplike-1.0.8.tar.gz
# cd iplike-1.0.8
# ./configure
# make
# make install
# /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
# rpm -ivh –nodeps opennms-core-1.6.2-1.noarch.rpm
# rpm -ivh opennms-docs-1.6.2-1.noarch.rpm
# rpm -ivh opennms-webapp-jetty-1.6.2-1.noarch.rpm
# rpm -ivh opennms-1.6.2-1.noarch.rpm
# export OPENNMS_HOME=/opt/opennms
# $OPENNMS_HOME/bin/runjava -s
# $OPENNMS_HOME/bin/install -dis
# /etc/init.d/opennms start
# yast2 firewall
Open port 8980