opennms-0.4.1-3.i386.rpm -->> http://opennms.org/files/releases/RPMS/OpenNMS/0.4/SuSE_7.x/
postgres-7.0.3-1suse7.src.rpm -->> ftp://ftp.planetmirror.com/pub/postgresql/binary/v7.0.3/RPMS/SuSE-7.0/
j2sdk-1_3_0_01-linux.bin -->> http://java.sun.com/j2se/1.3.0_01/index.html#linux
java-cup 10j -->> http://www.opennms.org/files/releases/RPMS/support/SuSE_7.x/
java-getopt 1.0.8 .
java-soap 2.0 .
jlex 1.2.5 .
jsdt 2.0 .
tomcat 3.2 .
xalan-j 1.2.2 .
xerces-j 1.2.3 -->> http://www.opennms.org/files/releases/RPMS/support/SuSE_7.x/
---------------------------------------------------
2. Create rpm from src.rpm, and Install Postgres:
rpm --rebuild postgres-7.0.3-1suse7.src.rpm
cd /usr/src/packages/RPMS/i386/
rpm -U pg_lib-7.0.3-1suse7.i386.rpm
rpm -hivU postgres-7.0.3-1suse7.i386.rpm
---------------------------------------------------------------------
3. Install IBM or Sun Java2 SDK version 1.3 or higher
(I downloaded the gziped source version)
chmod 755 j2sdk-1_3_0_01-linux.bin
cp j2sdk-1_3_0_01-linux.bin /usr/local/
cd /usr/local/
./j2sdk-1_3_0_01-linux.bin
Agree to their version of opnscource licencing.
./j2sdk-1_3_0_01-linux.bin
------------------------------------
4. Set path to java, and install packages that need Java
export PATH=$PATH:/usr/local/jdk1.3.0_01/bin
export JAVA_HOME=/usr/local/jdk1.3.0_01/
rpm -i java-cup-10j-7onms.noarch.rpm
rpm -i java-getopt-1.0.8-4onms.noarch.rpm
rpm -i jaf-1.0.1-2onms.noarch.rpm
rpm -i javamail-1.2-2onms.noarch.rpm
rpm -i java-soap-2.0.20001214-6onms.noarch.rpm
rpm -i jlex-1.2.5-5onms.noarch.rpm
rpm -i jsdt-2.0-5onms.noarch.rpm
rpm -i tomcat-3.2.1-4onms.noarch.rpm
vi /etc/rc.d/init.d/tomcat
export PATH=$PATH:/usr/local/jdk1.3.0_01/bin
export JAVA_HOME=/usr/local/jdk1.3.0_01/
rpm -i xerces-j-1.2.3-2onms.noarch.rpm
rpm -i xalan-j-1.2.2-2onms.noarch.rpm
------------------------------------------------------
5. Install the thing we were after in the first palce
rpm -i opennms-0.4.1-3.i386.rpm
rpm -i opennms-doc-0.4.1-3.i386.rpm
vi /etc/rc.d/opennms
export PATH=$PATH:/usr/local/jdk1.3.0_01/bin
export JAVA_HOME=/usr/local/jdk1.3.0_01/
BB_HOME=/opt/OpenNMS
------------------------------------------------------
6. Verify
rpm -qa |egrep -e "openn|java|jlex|jsdt|xerc|xalan|postgr"
java-cup-10j-7onms
java-getopt-1.0.8-4onms
jlex-1.2.5-5onms
gjava-2.95.2-117
jsdt-2.0-5onms
xerces-j-1.2.3-2onms
xalan-j-1.2.2-2onms
javamail-1.2-2onms
java-soap-2.0.20001214-6onms
opennms-0.4.1-3
postgres-7.0.3-1suse7
java-1.1.8v1-2
javadoc-1.1.3-43
java2-1.2.2-15
---------------------------------------
7. Run it
make sure to set env variables:
export PATH=$PATH:/usr/local/jdk1.3.0_01/bin
export JAVA_HOME=/usr/local/jdk1.3.0_01/
/etc/rc.d/opennms
Preparing For OpenNMS Init: [PASSED]
Starting OpenNMS Service Control Manager: [ OK ]
/opt/OpenNMS/bin/RunOpenNMS.sh
at the login, type???
login as admin, pass admin
Instructions:
http://www.opennms.org/files/documentation/html/adminref/chap3.html#chap3sect1
http://www.opennms.org/files/documentation/html/userguide/chap2.html#chap2sect2
Now I'm going to play with DiabloII