This HowTo has been tested on Debian 4.0 and has been compiled with bacula ver. 2.2.6
Make sure that the Bacula server is on the first line and with the real IP (not 127.0.0.1)
Download and install all the dependencies
# apt-get install mysql-server gcc libmysqlclient15-dev g++ make libncurses5-dev
Download the source file to the root home folder
# wget http://heanet.dl.sourceforge.net/sourceforge/bacula/bacula-2.2.6.tar.gz
# tar –xvvf bacula-2.2.6.tar.gz
Compile the Bacula source file
# ./configure –with-mysql
# make
# make install
# cd src/cats
# ./grant_mysql_privileges
# ./create_mysql_database
# ./make_mysql_tables
Create and install the services
# cp /etc/bacula/bacula-ctl-fd /etc/init.d/bacula-fd
# cp /etc/bacula/bacula-ctl-dir /etc/init.d/bacula-director
# cp /etc/bacula/bacula-ctl-sd /etc/init.d/bacula-sd
# chmod 755 /etc/init.d/bacula-sd
# chmod 755 /etc/init.d/bacula-fd
# chmod 755 /etc/init.d/bacula-director
# update-rc.d bacula-sd defaults 90
# update-rc.d bacula-fd defaults 91
# update-rc.d bacula-director defaults 92
Start the services
# /etc/init.d/bacula-sd start
# /etc/init.d/bacula-fd start
# /etc/init.d/bacula-director start