CentOS 5
Sponsored Link

Install Bacula
2010/05/03
  Install Integrated Backup tool, Bacula.

This exmaple is as follows.

(1) [192.168.0.20] - Bacula Server ( Director Daemon & Storage Daemon runs )
(2) [192.168.0.24] - Bacula Client ( For Backup. File Daemon runs )

And also Bacula server uses MySQL, so you need to run MySQL server on it.

[1] Install packages that are needed to build RPM of Bacula.
[root@dlp ~]#
yum -y install ncurses-devel libxml2-devel zlib-devel openssl-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
[2] Install Bacula on Bacula server. This example uses 64 bit version, but if you use 32 bit, replace the name of packages below.
[root@dlp ~]#
wget http://nchc.dl.sourceforge.net/sourceforge/bacula/bacula-3.0.1-1.src.rpm


[root@dlp ~]#
rpmbuild --rebuild --define "build_centos5 1" --define "build_mysql5 1" --define "nobuild_gconsole 0" bacula-3.0.1-1.src.rpm

[root@dlp ~]#
cd /usr/src/redhat/RPMS/x86_64

[root@dlp x86_64]#
rpm -Uvh bacula-mtx-3.0.1-1.x86_64.rpm

Preparing...
############################ [100%]

   1:bacula-mtx
############################ [100%]

[root@dlp x86_64]#
rpm -Uvh bacula-mysql-3.0.1-1.x86_64.rpm

Preparing...
############################ [100%]

The group bacula has been added to /etc/group.
See the manual chapter "Running Bacula" for details.
The user bacula has been added to /etc/passwd.
See the manual chapter "Running Bacula" for details.
   1:bacula-mysql
############################ [100%]

Hmm, doesn't look like you have an existing database.
Granting privileges for MySQL user bacula...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Error creating privileges.
Creating MySQL bacula database...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Creation of bacula database failed.
Creating bacula tables...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Creation of Bacula MySQL tables failed.
Matched Content
 
Tweet