Friday, February 29, 2008

Configuration Bacula BAT in Ubuntu

Run in .../bacula-2.2.8/src/qt-console this file:

./build-depkgs-qt-console

then run in same directory:

make

Download qwt package for ubuntu:

qwt_5.0.1.orig.tar.gz

Unzip that and then under qwt-5.0.1.orig/qwt-5.0.1:

qmake

make

make install

add this line in user profile:

(for example for a user nemed UBUNTU => /home/ubuntu/.profile)


export LD_LIBRARY_PATH=/usr/local/qwt/lib:$LD_LIBRARY_PATH


Configure Bacula with option:
--with-qwt=/usr/local/qwt
--enable-bat

Copy BAT directory in /etc/bacula/:


cp -R /.../bacula-2.2.5/qt-console/ /etc/bacula/

Start BAT:

/etc/bacula/qt-console/bat -c /etc/bacula/bconsole.conf

No comments: