Currently, the stable version of OpenNMS is 1.2.7. Information on the current versions supported for the various Debian distributions is published on the SourceForge Website. For more information on the Debian distributions check out the previous section. Debian Woody vs. Sid and Sarge
The following apt-source currently exists for OpenNMS (/etc/apt/sources.list).
deb http://debian.opennms.org/ debian/opennms stable
Like all GPL'd tools, the source is also available using the
deb-src line. If you would like to review the source code for the
package, or experiment with tweaking the build, or making contributions
or source code modifications, add the following line to your /etc/apt/sources.list.
deb-src http://debian.opennms.org/ debian/opennms stable
The source code will be placed in a directory named opennms-1.2.x
that is created in the current directory when the following command
is executed.
bash#apt-get source opennms
If you want to rebuild your OpenNMS from the source, here is the quick and simple way to do it from within the source directory you created in the last step.
bash#apt-get build-dep opennms bash#dpkg-buildpackage -rfakeroot -uc -b
This will create the opennms .deb's that can be installed using
dpkg -i <filename> This logic applies to every Debian package.
- $OPENNMS_HOME on Debian is /usr/share/opennms, not /opt/OpenNMS
- The configuration files can be found in /etc/opennms
- mail on Debian is /usr/bin/mail, not /bin/mail
- Tomcat on Debian lives on port 8180. Since OpenNMS typically runs its HttpAdaptor service on 8180, (see service-configuration.xml), that too has been moved and is on 8280 for the Debian packages. All this really boils down to for most people is that you will need to point your browser at http://yourhost:8180/opennms/ instead of the more conventional http://yourhost:8080/opennms/