User Tools

Site Tools


howto_install_and_configure_bacula_on_fedora_9_using_yum

I spent the better part of a day creating this info. I hope someone knows WIKI well enough to clean it up. Working on how to configure jobs next.

NOTE: At the current time, using the Default Fedora Repositories presents 2 problems.

1) They are relatively old versions

2) They do not have an RPM for installing the BAT GUI

Bill Curtis

Install all of the following packages Dependencies are listed inside {} and will install automatically.

yum install mysql-devel

{mysql}

yum install myql-server

yum install bacula-storage-mysql

{bacula-common}

{bacula-storage-common}

{fedora-usermgmt]

[fedora-usermgmt-core}

[fedora-usermgmt-default}

{fedora-usermgmt-shadow-utils}

yum install bacula-docs

yum install bacula-director-mysql

{bacula-director-common}

yum install bacula-console-gnome

yum install bacula-console

yum install bacula-client

yum install bacula-traymonitor

Configure the MySQL for Bacula

Start the mysqld service (service mysqld start)

Set MySQL to start on reboot (chkconfig mysqld on)

change the root password to mysql (mysqladmin -u root password 'new-password')

(alternately) /usr/bin/mysql_secure_installation will change password, and remove default test databases and anonymous user DO NOT REMOVE login REMOTELY YET.

/usr/libexec/bacula/grant_mysql_privileges -u root -p

/usr/libexec/bacula/create_mysql_database -u root -p

/usr/libexec/bacula/make_mysql_tables -u root -p

/usr/libexec/bacula/grant_bacula_privileges -u root -p

Edit config files and change the default passwords or the services will not start

/etc/bacula/bacula-dir.conf (change Director password, change address and password on Client, change Storage Address and Password, change Console password)

/etc/bacula/bacula-fd.conf (Change bacula-fd password, change bacula-mon password)

/etc/bacula/bacula-sd.conf (change bacula-dir password, change bacula-mon password, change Device {Archive Device to /backup)

/etc/bacula/bconsole.conf (change Address and Password)

/etc/bacula/gnome-console.conf (change Address and Password)

/etc/bacula/tray-monitor.conf (change Address Password and additionally change Director name to localhost)

Create the backup folder (mkdir /backup)

Start the services

service bacula-dir start

service bacula-fd start

service bacula-sd start (starting this will fail until the Archive Device is configured in the conf file)

You can then launch the Bacula tray monitor or the Bacula console from the applications/system tools menu and it should show no errors.

howto_install_and_configure_bacula_on_fedora_9_using_yum.txt · Last modified: 2008/10/02 16:53 by crwdawg