Novell Cool Solutions

openNMS on SLES 10 SP2



By:

January 23, 2009 2:53 pm

Reads:10,639

Comments:0

Score:Unrated

Print/PDF

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

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Categories: Uncategorized

0

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS