Warning: session_start(): open(/tmp/sess_92cec1b27d7151ec61e0da5f4f5d2ad3, O_RDWR) failed: No space left on device (28) in /var/www/html/inc/init.php on line 265

Warning: session_start(): Failed to read session data: files (path: ) in /var/www/html/inc/init.php on line 265
Writing /var/www/html/data/log/error/2024-06-17.log failed

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/inc/init.php:265) in /var/www/html/inc/auth.php on line 432
Writing /var/www/html/data/log/error/2024-06-17.log failed

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/inc/init.php:265) in /var/www/html/inc/actions.php on line 38
bacula_server_on_centos_6.4 [Ben's notes]

Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


bacula_server_on_centos_6.4

Bacula server on CentOS 6.4

Using MySQL backend.

Install packages

yum install bacula-client.x86_64 bacula-common.x86_64 bacula-console.x86_64 bacula-console-bat.x86_64 bacula-director-common.x86_64 bacula-director-mysql.x86_64 bacula-docs.x86_64 bacula-storage-common.x86_64 bacula-storage-mysql.x86_64 mysql-server

Configure MySQL

Start MySQL server:

service mysqld start

Secure installation:

/usr/bin/mysql_secure_installation

Create database, tables, set grants

/usr/libexec/bacula/grant_mysql_privileges -u dbuser -p
/usr/libexec/bacula/create_mysql_database -u dbuser -p
/usr/libexec/bacula/make_mysql_tables -u dbuser -p
/usr/libexec/bacula/grant_bacula_privileges -u dbuser -p

Set bacula password

mysql -u root -p

set password for bacula=password('password'); 
set password for bacula@localhost=password('password'); 

Configure bacula and start at boot

chkconfig bacula-dir on
chkconfig bacula-sd on
chkconfig bacula-fd on
bacula_server_on_centos_6.4.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1