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.
Installing PMB on Linux Mandrake 9.2 by Bruno Desroches, 05 April 2004.
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!
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
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.
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 !