Chapter 6. PC with Linux

1. Mandrake
1.1. Introduction
1.2. Setting up
1.3. Pre-requisites
1.4. Install
2. RedHat
3. Debian
3.1. Pre-requisites
3.2. Install
4. Slackware
4.1. About Slackware
4.2. Sources
4.3. Preamble
4.4. Downloads
4.5. Install

Linux is a freely available operating system, powerful and rapid, especially if the server on which you are installing PMB is a dedicated one, functioning in text mode. For this type of use, we recommend using Linux on your servers.

The information presented here was supplied by users on whatever procedures they used to install PMB on their distribution packages. These packages are the more popular ones. If in doubt, do not hesitate to find out more on the discussion lists of PMB or on the internet site.

1. Mandrake

Installing PMB on Linux Mandrake 9.2 by Bruno Desroches, 05 April 2004.

1.1. Introduction

The idea first came to my mind when I decided to install PMB myself. I must confess now, that all the elements were there right from the start, but where they were located, the way they presented themselves made me sweat quite a bit. And then, being myself a Linux user, I thought others might gain from my experience!

1.2. Setting up

Download the file PMB.tar.gz on the web site http://www.sigb.net/download.html into /home/toto, then unzip it.

But where do you extract the files ? I am assuming you already have Apache installed and that your httpd service is functioning. In which case you should have a directory /var/www/html which is your document root. Create a pmb directory for example and extract the files there.

tar -xzvf PMB.tar.gz

All the files and folders will be extracted into this directory /home/toto/PMB.

Now move all the files to /var/www/html/pmb with the following command :

mv PMB/* /var/www/html/pmb/

You need now to look at rights on these files

cd /var/www/html

change to root with su

chmod -R 777 pmb
chown -R apache.apache pmb

You will have to ensure you have the necessary kits for the good functioning of PMB.

There are two ways of checking quickly whether a kit is installed or not :

rpm -q nomdupaquetage

or

urpmi nomdupaquetage

1.3. Pre-requisites

Check for :

  • php-xml

  • php-devel

  • php-bz2

  • php-xslt

All of them must be installed.

You need also to install :

  • libyaz

  • yaz

You can find both these kits at http://www.rpmfind.net for Mandrake.

1.4. Install

First you have to go to http://mysite/pmb/tables/install.php to relate the PMB application to a MySQL table. Here you can pick up all the recommendations given for the installation on Windows, they are absolutely identical.

You can also configure the application all by yourself by editing the file /var/www/html/pmb/includes/config.inc.php.

Finally you will only have to enter or import your data. Note that the installed PMB version already contains some data that you will no doubt have to destroy !