InterMapper for Debian Linux

InterMapper for Debian Linux is packaged as a "Debian Package", which contains the necessary programs and support files. To install InterMapper from the .deb file, you will use the dpkg --install "location" command. To query if InterMapper is already installed, type dpkg --list intermapper. To remove InterMapper from your system after installing it, type dpkg --remove intermapper. After you remove the package, you can get rid of any old configuration files using dpkg --purge intermapper.

Installing InterMapper Server

The following directions will install InterMapper from the Debian package. InterMapper Server will be configured to run at startup. You may need to install libstdc++5 first; there is no harm in attempting to install it a second time.

$ /bin/su -
# apt-get install libstdc++5
# cd <directory-containing-deb>
# dpkg --install "intermapper_4.6.9-1_i386.deb"

Ubuntu instructions:

$ sudo apt-get install libstdc++5
$ cd <directory-containing-deb>
$ sudo dpkg --install "intermapper_4.6.9-1_i386.deb"

Installing via apt-get

Debian systems newer than Debian 3.1 or Ubuntu systems may alternatively install InterMapper via apt-get or similar tools. To do this, add deb http://download.dartware.com/debian/ ./ to the list in /etc/apt/sources.list.

On Debian 4.0 and newer systems, you may also install our gpg public key to verify the package information files downloaded by apt-get. To do this, run the following commands:

$ curl -O http://download.dartware.com/debian/dartware_public_key.asc
$ su -
# apt-key add <path-to-dartware_public_key.asc>/dartware_public_key.asc

Ubuntu instructions:

$ curl -O http://download.dartware.com/debian/dartware_public_key.asc
$ sudo apt-key add ./dartware_public_key.asc

Once you have imported this key, apt will remember it for future releases and you will not need to import it again. apt-get (and synaptic, aptitude, adept, etc.) will automatically use this key to verify the checksums of the package lists it downloads.

$ su -
# echo "deb http://download.dartware.com/debian/ ./" >> /etc/apt/sources.list
# apt-get update
# apt-get install intermapper

Ubuntu instructions:

$ echo "deb http://download.dartware.com/debian/ ./" | sudo tee -a /etc/apt/sources.list
$ sudo apt-get update
$ sudo apt-get install intermapper

Installing this way will automatically resolve any missing dependencies, including the libstdc++5 dependency. Additionally, any updates to InterMapper will be flagged along with any other system updates; if you are running an update notifier program (one is installed by default on Ubuntu systems), you will be notified of InterMapper updates in the same manner and place as other system updates.

If you are going to run InterMapper console on this system, you will also need to install Java. Debian 4.0 (etch) and higher users may easily install Java 5 from the non-free repository:

$ su -
(edit /etc/apt/sources.list, add "non-free" to your repositories)
# sudo apt-get install sun-java5-jre

Ubuntu 7.04 (feisty fawn) and higher users may easily install Java from the multiverse repository:

$ sudo apt-get install sun-java6-jre

Configuration

When InterMapper Server begins running, it can run under any uid on your system. You may specify the user name to run as in the intermapperd.conf file, located at /usr/local/etc/intermapperd.conf By default, the InterMapper package creates a system user named 'intermapper' and sets the configuration file to use that user.

User "intermapper"

The InterMapper Server is now installed and running. By default, it will save its files in the /var/local/InterMapper_Settings/ directory, though you may change this in /usr/local/etc/intermapperd.conf. To manually start the server, type:

$ su -
# /etc/init.d/intermapperd start

Ubuntu instructions:

$ sudo /etc/init.d/intermapperd start

If the server started successfully, you will see the startup message:

Starting Intermapper Server: intermapperd.

To stop the server, use the similar "stop" command:

$ su -
# /etc/init.d/intermapperd stop

Ubuntu instructions:

$ sudo /etc/init.d/intermapperd stop

The first time you start the InterMapper Server, it will only accept "control" connections from the local machine. If you have a window system (ie X-Windows) and JVM already installed, you can launch InterMapper Console by typing:

$ /usr/local/bin/intermapper

The InterMapper Console is also available in the Gnome menu, under Applications > System Tools > InterMapper, or in the KDE menu, under K > System > InterMapper.

Configuring the InterMapper Server Remotely

If you do not have a window system, you must use "InterMapper Remote" to administer the InterMapper Server. Before the server will accept connections from Remote, you must launch the server with a command-line argument telling it where you will connect from. Type the following commands to kill the intermapperd process, then restart it manually using the -A option:

$ su -
# /etc/init.d/intermapperd stop
# /usr/local/bin/intermapperd -f /usr/local/etc/intermapperd.conf -A "remote:password@*.*.*.*"

Ubuntu instructions:

$ sudo /etc/init.d/intermapperd stop
$ sudo /usr/local/bin/intermapperd -f /usr/local/etc/intermapperd.conf -A "remote:password@*.*.*.*"

The InterMapper server will now accept Administrator connections from any IP address (*.*.*.*) with the user ID "remote" and the password "password". You should immediately launch InterMapper Remote on another computer and login to this new InterMapper system to set up your InterMapper users and groups.

Upgrading InterMapper Server

To upgrade your InterMapper installation to a newer version, you will "erase and re-install". Your InterMapper settings directory, which includes all of your maps, logs, and notification settings, is not removed when you un-install using "dpkg --remove". Although you will not lose any data during the re-installation, this might still be a good time to make a backup of the InterMapper settings folder.

$ /bin/su -
# cd <directory-containing-deb>
# dpkg --remove intermapper
# dpkg --install "intermapper_4.6.9-1_i386.deb"

Ubuntu instructions

$ cd <directory-containing-deb>
$ sudo dpkg --remove intermapper
$ sudo dpkg --install "intermapper_4.6.9-1_i386.deb"

Beginning with InterMapper 4.6b2, this should no longer be necessary; you may simply install the newer version without removing the earlier version.

$ /bin/su -
# cd <directory-containing-deb>
# dpkg --install "intermapper_4.6.9-1_i386.deb"

Ubuntu instructions

$ cd <directory-containing-deb>
$ sudo dpkg --install "intermapper_4.6.9-1_i386.deb"

If you have configured the repository as above, you will only need to use apt-get as you would for any other system update.

$ su -
# apt-get update
# apt-get upgrade

Ubuntu instructions

$ sudo apt-get update
$ sudo apt-get upgrade

InterMapper with Compiz, Beryl or Enlightenment

There is a bug when using Java with Compiz or certain other window managers that affects InterMapper, resulting in blank windows when starting either the InterMapper console or InterMapper RemoteAccess. This bug has been mitigated somewhat by Java 6 Update 1, but problems still remain. As a work-around, you can set the AWT_TOOLKIT environment variable to "MToolkit" prior to starting the InterMapper GUI. This tells Java to revert to an older rendering method, which will not integrate as well with modern desktop environments, but doesn't suffer from the same bug.
$ AWT_TOOLKIT=MToolkit /usr/local/bin/intermapper
If you wish to set this option for future sessions, add the following line to ~/.bashrc:
$ echo -e "\nexport AWT_TOOLKIT=MToolkit" >> ~/.bashrc
Any new terminal windows that you open will have this setting in them by default as soon as you have run this command, but applications started from the menu will not pick it up until after you log out and log back in again. This will work for all Java applications on your system (which were probably similarly broken), not just InterMapper.

Removing InterMapper Server

To remove InterMapper Server, you will use the "dpkg --purge" command. The "dpkg --purge" command will not remove any files created by InterMapper, such as those stored in your "InterMapper_Settings" directory. To completely remove all remnants of the software, you must also locate and remove the "InterMapper_Settings" directory. By default, the "InterMapper_Settings" directory is located in /var/local/.

$ /bin/su -
# dpkg --purge intermapper
# rm -rf /var/local/InterMapper_Settings
# deluser intermapper

Ubuntu instructions:

$ sudo dpkg --purge intermapper
$ sudo rm -rf /var/local/InterMapper_Settings
$ sudo deluser intermapper