User Tools

Site Tools


docs:tips_n_tricks:installing_bacula.html

This is an old revision of the document!


Installing Bacula on Ubuntu Server 9.10

FIXME this is work in progress! Don't use it yet!

Install packages (needed on a fresh installed server)

aptitude install gcc g++ libqt4-dev libreadline-dev libmysqlclient-dev \
         libwrap0-dev python-dev

Download files:

mkdir download
cd download
wget -c "https://sourceforge.net/projects/bacula/files/bacula/5.0.1/bacula-5.0.1.tar.gz/download"
wget -c "https://sourceforge.net/projects/bacula/files/bacula/5.0.1/bacula-docs-5.0.1.tar.bz2/download"
wget -c "https://sourceforge.net/projects/bacula/files/bacula/5.0.1/bacula-gui-5.0.1.tar.gz/download"
wget -c "https://sourceforge.net/projects/bacula/files/bacula/5.0.1/bacula-regress-5.0.1.tar.gz/download"
cd ..

Compile things:

mkdir src
cd src
tar -xvkpzf ../download/bacula-5.0.1.tar.gz
cd bacula-5.0.1 

./configure --prefix=/opt/bacula-5.0.1 \
  --sbindir=/opt/bacula-5.0.1/bin \
  --sysconfdir=/opt/bacula-5.0.1/etc  \
  --mandir=/opt/bacula-5.0.1/man \
  --docdir=/opt/bacula-5.0.1/html \
  --htmldir=/opt/bacula-5.0.1/html \
  --with-working-dir=/opt/bacula-5.0.1/working \
  --with-pid-dir=/opt/bacula-5.0.1/working \
  --with-subsys-dir=/opt/bacula-5.0.1/working \
  --with-scriptdir=/opt/bacula-5.0.1/scripts \
  --with-plugindir=/opt/bacula-5.0.1/plugins \
  --libdir=/opt/bacula-5.0.1/lib \
  --enable-smartalloc \
  --enable-tray-monitor \
  --enable-bat \
  --with-mysql \
  --with-smtp-host=localhost \
  --with-baseport=9101 \
  --with-tcp-wrappers \
  --with-python \
  --enable-lockmgr \
  --disable-conio \
  --with-readline=/usr/include/readline

make

Du as root:

mkdir /opt/bacula-5.0.1
cd /opt
ln -s bacula-5.0.1 bacula

cd <wherever you compiled it>/src/bacula-5.0.1
make install
docs/tips_n_tricks/installing_bacula.html.1268608425.txt.gz · Last modified: 15.03.2010 00:13 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki