Installing SVG Viewer on Linux

From OpenNMS

Because Maps currently does not support Firefox on Linux out-of-the-box, you can get around it by installing Internet Explorer on Linux, using Wine and ies4linux:

Installing wine and ies4linux (and it's dependencies), I was able to get the SVGViewer to work in IE6 on Linux (specifically CentOS-5). I used yum, but I'm sure you can use whatever installer your OS uses.

Install Wine

1). Install Wine:

[username@host ~]# yum install wine

2). download/install cabextract (http://www.cabextract.org.uk/) 3). download/extract ies4linux

[username@host ~]# wget -c http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
[username@host ~]# tar -xzvf ies4linux-latest.tar.gz

4). Execute ies4linux

[username@host ~]# cd ies4linux
[username@host ~]# ./ies4linux

5). Choose IE6 to install

Install SVG Viewer

Now that IE6 is installed and can be opened. It's time to install SVGViewer

5). Open Maps from OpenNMS Web UI (using Internet Explorer that you installed earlier), and download the SVGViewer.exe that it directs you to. 6). Change your WINEPREFIX to be IE6 when installing the viewer:

[username@host ~]#export WINEPREFIX=/home/username/.ies4linux/ie6/

7). Install the SVGViewer

[username@host ~]# cd "directory you saved SVGViewer.exe"
[username@host ~]# wine SVGViewer.exe
Personal tools
DevJam 2008 Sponsors
DevJam 2008 Sponsor: Google
DevJam 2008 Sponsor: Netregistry
DevJam 2008 Sponsor: Papa John's
NewEdge Networks
OpenNMS takes home the gold award!
Join the Free Software Foundation
Support This Project Commercial OpenNMS Support OpenNMS Italia Get OpenNMS at SourceForge.net. Fast, secure and Free Open Source software downloads Our Network Simulator Our Java Profiler