Add the following to /etc/apt/sources.list and update, (i.e. "apt-get update") :
RRDtool and Curl Installation :
- apt-get install rrdtool
- apt-get install curl
PostgreSQL Installation :
Installation :
- apt-get install postgresql
Configuration :
It is necessary to modify two files for PostgreSQL to be in adequacy with openNMS. These two files are:
- postgresql.conf
- pg_hba.conf
In postgresql.conf, you must modify :
- TCPIP_socket = true
- MAX_CONNECTIONS = 256
- SHARED_BUFFERED = 1024
In pg_hba.conf, you must modify :
- local all all trust
- host all all 127.0.0.1 255.255.255.255 trust
- host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff trust
openNMS Installation :
- apt-get install opennms-server
- apt-get install opennms-webapp
openNMS Configuration :
Before launching openNMS, it is useful to check with the following command that OpenNMS finds JAVA and JRE :
- /usr/share/opennms/bin/runjava -s
It is then necessary to parameterize openNMS and to create its data-base so that it can work with PostgreSQL:
- /usr/share/opennms/bin/install -disU
openNMS Starting :
For launching OpenNMS, it is necessary to launch PostgreSQL and Tomcat4 :
- /etc/init.d/postgres-7.4 start
- /etc/init.d/tomcat4 start
- /etc/init.d /opennms start
First access to openNMS :
Launch your web navigator and reach this url :
- http://localhost:8180/opennms
A web page will ask you the login and the password to access to openNMS :
- Login : admin
- Password : admin