System Installation
From DISMARC Help
This Help guides throu the intalltion of the MDM on a Debin system.
Our Sticks ship with Ubuntu 8.04 and which is used throughout this help.
OS Settings
Its better to define a standard IP address because this installation will be a server. In order to make the installtion accessable through the internet, you need to define some NAT on your router. Please read the documentaion for your router to map the default HTTP port 80 to the IP address of the the new installtion.
In case you don't use X I'm sure you know to change the IP address of your computer. In all other cases, hit <ALT>+<F2> and type network-admin. You can change the settings there.
Zebra installtion
For an MDM Instance, you need a Zebra Index Server by Indexdata. The installtion is pretty easy.
As you know, Ubuntu does not have a dedicated root user. Instead, you just have to type sudo in front of a command and enter the password of the installtion user.
Ok, first we need a terminal. Hit <ALT>+<F2> and enter gnome-terminal to open a shell.
Now type in or cpy the following comamnds:
sudo bash
this opens the root shell and we don't have to type sudo all the time.
gedit /etc/apt/sources.list
Now add these lines to the bottom of the file
# Zebra deb http://ftp.indexdata.dk/debian etch main deb-src http://ftp.indexdata.dk/debian etch main
Ok, save and close the file.
In order for apt (which is the installtion tool son debian systems) to work with the Zebra packages, we need to install a key. Just type these lines into the console
wget http://ftp.indexdata.dk/debian/indexdata.asc apt-key add indexdata.asc apt-get update
Since Ubuntu 8.04, we need to install some additional packages for zebra to work properly. These commands will help there.
wget http://launchpadlibrarian.net/10470097/libicu36-dev_3.6-10_i386.deb dpkg -i libicu36-dev_3.6-10_i386.deb wget http://launchpadlibrarian.net/10470096/libicu36_3.6-10_i386.deb dpkg -i libicu36_3.6-10_i386.deb apt-get -f install
In case of some error messages popping up, don't mind them. The last command should have fixed everything.
Now it's time to install zebra. In one line, we install some more stuff.
apt-get install yaz libyaz2-dev libyaz2 yaz-icu libicu36 libicu36-dev idzebra-2.0 libidzebra-2.0-modules libidzebra-2.0-mod-grs-xml libidzebra-2.0-mod-grs-regx libidzebra-2.0
That's it, zebra is installed.