Install PMB on a debian jessie server

Install PMB on a debian jessie server

Thanks to

Add the repo to use yaz by adding the following line to the file /etc/apt/sources.list:

deb jessie main

Download the key:


Import the key:

apt-key add indexdata.asc

Remove the key from the server

rm indexdata.asc

Install apache

aptitude update

aptitude install apache2-mpm-prefork

Install mysql and phpmyadmin

sudo aptitude install mysql-server phpmyadmin

Set all the passwords as needed.

In /etc/mysql/my.cnf change max_allowed_packet = 250M.

Restart mysql:

service mysql restart

Install PHP5 and the necessary extentions

aptitude install php5 php5-gd php5-yaz php5-xsl php5-curl

In /etc/php5/apache2/php.ini, change the following values:

max_execution_time = 3600
memory_limit = 512M
post_max_size = 512M
upload_max_filesize = 512M

Restart apache

sudo service apache2 restart

Install PMP

Get the latest pmp from To get the url, in Firefox, right click on the latest stable version and click on Copy Link Location. In your terminal, type wget [ctrl + v].

Unzip the content in the web folder of Apache and remove the zip:

sudo unzip pmb[version].zip -d /var/www/html/; rm pmb[version].zip

Set the correct rights to the files:

cd /var/www/html/
sudo chown -R www-data:www-data pmb

Open a web browser and type [ip of the machine]/pmp.

Follow the instructions. When it’s done, the default logins are the good old login: admin, password: admin.

2 thoughts on “Install PMB on a debian jessie server

Leave a Reply

Your email address will not be published. Required fields are marked *