Jump to content

Install Bacula


Recommended Posts

Add the RPMFORGE and EPEL repos to your /etc/yum.repos.d

yum install yum-priorities

Because RPMFORGE and EPEL don't seem to play nice together, configure the yum priorities plugin so they don't conflict and put you in dependency hell.

cd /etc/yum.repos.d/

Edit each config file to set a priority level. I set my EPEL repos at priority=98, RPMFORGE repos at priority=97, and all CentOS repos at priority=1

This means at the bottom of each add priority=98

Install PreReqs

yum -y install libxml2-devel zlib-devel pango-devel atk-devel libtermcap-devel gtk2-devel libgnomeui-devel ORBit2-devel libart_lgpl-devel libbonobo-devel libbonoboui-devel GConf2-devel freetype-devel mysql-devel autoconf automake e2fsprogs-devel gcc-c++ glibc-devel glibc-headers krb5-devel libacl-devel libgomp libstdc++-devel libtermcap-devel m4 make mysql mysql-server ncurses ncurses-devel openssl-devel perl-DBI qt4 qt4-devel readline-devel redhat-rpm-config rpm-build

Install Perl

wget http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.616.tar.gz

tar -zxvf DBI-1.616.tar.gz

cd DBI-1.616

perl Makefile.PL


make test

make install

wget http://mirror.centos.org/centos/5/os/i386/CentOS/logwatch-7.3-8.el5.noarch.rpm

rpm -Uvh logwatch-7.3-8.el5.noarch.rpm

yum install qwt qwt-devel wxGTK

wget http://downloads.sourceforge.net/project/bacula/rpms/5.0.3/bacula-bat-5.0.3-2.src.rpm

wget http://downloads.sourceforge.net/project/bacula/rpms/5.0.3/bacula-mtx-5.0.3-1.src.rpm

wget http://downloads.sourceforge.net/project/bacula/rpms/5.0.3/bacula-docs-5.0.3-1.src.rpm

wget http://downloads.sourceforge.net/project/bacula/rpms/5.0.3/bacula-5.0.3-1.src.rpm

My default installation came with incorrect passwords in each of the bacula config files, so I edited each one and changed ALL of the passwords.

ls /etc/bacula

Change every password in every config file that appears in this directory.

nano bacula-dir.conf etc....

Also in bacula-sd.conf enter the path for the archive device.

eg: archive device = /path/to/directory/

Start Bacula

service bacula-dir start

service bacula-fd start

service bacula-sd start

Start the console where the fun begins


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...