Remote Monitoring & Management Help

Add the repository reference in /etc/apt/sources.list

Before deploying the Linux Monitoring Agent on the device it is necessary to add a reference to the repository location in /etc/apt/sources.list

This reference is in the format: debhttp://repos.*/rmmagent/distribution/ ./

Note: the ./ line in the sources.list is required.

To achieve this first open sources.list contained in the /etc/apt/ directory in an editor*.

The following examples use the default vi text editor. Information on vi (visual editor) is available in the SS64 quick reference guide

# vi /etc/apt/sources.list

In vi press Esc to access the command interface then P to paste the data below the cursor. :wq to write the changes and quit.

Navigate to the last line of the file and add the repository reference:

deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb http://repos.systemmonitor.co.uk/rmmagent/Debian_5.0/ ./

Use the cat command to ensure the setting was saved correctly.

# cat /etc/apt/sources.list

deb cdrom:[Debian GNU/Linux 5.0.7 _Lenny_ - Official i386 DVD Binary-1 20101127-17:08]/ lenny contrib main

deb cdrom:[Debian GNU/Linux 5.0.7 _Lenny_ - Official i386 DVD Binary-1 20101127-17:08]/ lenny contrib main

deb http://security.debian.org/ lenny/updates main contrib

deb-src http://security.debian.org/ lenny/updates main contrib

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib

deb http://repos.systemmonitor.co.uk/rmmagent/Debian_5.0/ ./

* In line with best practice we suggest making a copy of /etc/apt/sources.list before editing. Use the copy command.

# cp /etc/apt/sources.list /etc/apt/sources.list.orig

Note: replace distribution with the version of Linux, for example rmmagent/Debian_5.0/

Please note that we are not responsible for the content of external sites.