From Observium
Subversion (SVN) is a version control software that allows users to download the very latest version of Observium, without having to wait for someone to get around to packaging it. Advantages to using Subversion include the latest version, vastly simplified updating, the ability to roll back an upgrade, the ability to create and submit patches.
See wikipedia:Subversion for more details; below are some quick directions for a couple of common tasks.
Contents |
Using Subversion to download Observium
Prerequisites
You must have a Subversion client installed before you can use it. (Although you can theoretically download files without Subversion, this would mean tediously downloading each individual file manually.) The recommended software is the official Subversion client, available from the Subversion project page. Note that this client uses a command-line interface, which the instructions below use. Alternatively, you can get subversioning software with a graphical user interface such as TortoiseSVN.
Download
To download from the latest Observium SVN revision (recommended), enter the following command from the command-line in the directory you wish to download to:
svn checkout http://www.observium.org/svn/observer/trunk/ observium
More instructions can be found at Ubuntu SVN Installation.
Upgrading
Upgrading between releases with SVN is simple. If you have direct access to the command-line on the server, you can enter the commands below directly; alternatively, you can maintain a copy on a local machine and upload updated versions to the server.
To upgrade Observium, simply use the command below in the root of the installation directory.
svn update
To ensure that your database is kept up to date, you must run discovery.php immediately after an SVN update.
./discovery.php -h all
It's ok to CTRL-C out of discovery after it's applied the database updates.