Next Previous Contents

10. Appendix B - OpenNMS Package Sources

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

10.1 Apt sources for OpenNMS on Sarge

The following apt-source currently exists for OpenNMS (/etc/apt/sources.list).

deb http://debian.opennms.org/ debian/opennms stable 

10.2 Getting the OpenNMS source

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

10.3 Rebuilding OpenNMS packages from source

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.

10.4 OpenNMS Package Maintainers

1.0.2/1.1.1 Package Maintainer - Tony Simone

1.1.2 Package Maintainer - Eric Evans

1.2.X Package Maintainer - Eric Evans

1.2.7 - Differences in the Debian packages from stock OpenNMS

- $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/

ONMS 1.3 has been released. Hopefully coming to Sarge soon.


Next Previous Contents