step by step baculum a gui tool for bacula
Baculum : A WebGUI
Note: For Baculum we need a working bacula server. Click Here
Step 1:
Install Dependency
- httpd
- libsemanage-python
- audit-libs-python
- php-mysqlnd
- php-pgsql
- checkpolicy
- setools-libs
- python-IPy
- libcgroup
- policycoreutils-python
# yum install httpd libsemanage-python audit-libs-python php-mysqlnd php-pgsql checkpolicy setools-libs python-IPy libcgroup policycoreutils-python
Step 2:
Installaction of Baculum
A : Using Yum
Create Repo File in /etc/yum.repo.d directory
# vi /etc/yum.repo.d/baculum.repo
[baculumrepo]
name=Baculum CentOS repository
baseurl=http://bacula.org/downloads/baculum/centos
gpgcheck=1
enabled=1
Save and exit
# yum clean all
install baculum
# yum install baculam baculum-selinux baculolum-httpd
B: Using Tarball
Download Rpm Package from bacula.org ( http://www.bacula.org/downloads/baculum/centos/ )
# mdkir /baculum
# cd baculum
# wget http://www.bacula.org/downloads/baculum/centos/baculum-7.4.0-1.el7.centos.noarch.rpm
# wget http://www.bacula.org/downloads/baculum/centos/baculum-httpd-7.4.0-1.el7.centos.noarch.rpm
# wget http://www.bacula.org/downloads/baculum/centos/baculum-selinux-7.4.0-1.el7.centos.noarch.rpm
# yum localinstall baculum-*
Step 3:
Configure Sudo
# yum install sudo
Add User
# vi /etc/sudoers.d/baculum
#In case default Apache user:
Defaults:apache !requiretty
apache ALL= NOPASSWD: /usr/sbin/bconsole
#In case default Lighttpd user:
Defaults:lighttpd !requiretty
lighttpd ALL= NOPASSWD: /usr/sbin/bconsole
Access baculum on browser
Restart service
# systemctl restart rsyslog
Step 4:
Restart httpd service
# systmctl restart httpd
Step 5:
Access Baculum : Default http port 9095
1 - Select Language and Next
2 – Acceptance license - Next
3 – Database Connection – Enter bacual database detail
Database Name: bacula
Login: backup
Password ********
IP or Hostname 172.17.20.100
Port : 3306
Test the Connection – If ok than next
4 Baculum Console Access : test and next
5. Authorization Params to Baculum
6. Set Admin user password for access
Leave a Comment