Baculum version 7.2.1-0 release and Installation Procedures

Baculum is a great native Bacula Community interface that also allows to change Bacula configurations nicelly through a GUI. This release is focused on performance improvements, but also has been included numerous features.

From version 7.2.1-0 are prepared binary packages for: CentOS, Fedora, Ubuntu and Debian. Bellow to this post I included text file
with installation instruction the packages.

Changes:

– Add run job again button
– Add session cache
– Add deb template files and deb configs examples
– Search field works for all table cells
– Remember sort order for data grids
– Remove temporary Bvfs table when restore starts
– Add example Nginx config
– Add jobbytes and jobfiles columns in job list
– Split configuration windows into two tabs: actions and console
– Set default job attributes (level, client, fileset, pool, storage,
priority) in Run job panel
– Do not refresh window lists if toolbar is open or elements are checked
– Fix working with php-fpm
– Fix sorting formatted values in tables
– Improve size formatter precision
– Fix jobs count in job list
– Fix end-of-file warning in bconsole calls. Patch from Ulrich Leodolter
– Show jobid in job configuration window
– Get system timezone for PHP if possible
– Fix restore when a lot of jobids given
– Show copy job label in job list
– Get job show result by job name or jobid
– Set half size window as default window size
– Not remember controls state in jobs window
– Fix showing table header
– Update SELinux policy module
– Fix update pool action when no volumes in pool
– Change default elements limit to 500 elements
– Add drive parameter to bconsole release command execution
– Fix expectation failed error during restore
– Switch to debug mode only when debug is enabled in config
– Fix remove users file during upgrade deb packages
– Fix default values in Makefile
– Change Makefile to using also for deb packages template

Installation Procedures:

=== Fedora packages ===

1. Add Baculum repository:

# dnf config-manager –add-repo http://download.opensuse.org/repositories/home:/ganiuszka/Fedora_23/home:ganiuszka.repo

2. Install base Baculum package

# dnf install baculum

3. If SELinux enabled then is required additional baculum-selinux package:

# dnf install baculum-selinux

4. Install Baculum web server configuration and Baculum start

a) For Apache web server

# dnf install baculum-httpd
# service httpd restart

b) For Lighttpd web server

# dnf install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole will be accessible to Baculum via sudo then required is create a file:

# vi /etc/sudoers.d/baculum

and put to the file following content:

a) For Apache web server:

Defaults:apache !requiretty
apache ALL= NOPASSWD: /usr/sbin/bconsole

b) For Lighttpd web server

Defaults:lighttpd !requiretty
lighttpd ALL= NOPASSWD: /usr/sbin/bconsole

=== CentOS packages ===

1. Add Baculum repository:

# yum-config-manager –add-repo http://download.opensuse.org/repositories/home:/ganiuszka/CentOS_7/home:ganiuszka.repo

2. Install base Baculum package

# yum install baculum

3. If SELinux enabled then is required additional baculum-selinux package:

# yum install baculum-selinux

4. Install Baculum web server configuration and Baculum start

a) For Apache web server

# yum install baculum-httpd
# service httpd restart

b) For Lighttpd web server

Because Lighttpd binary packages default do not exist in CentOS repository, there is required to install epel repository by following command:

# yum install epel-release

and then install Lighttpd configuration for Baculum:

# yum install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole will be accessible to Baculum via sudo then required is create a file:

# vi /etc/sudoers.d/baculum

and put to the file following content:

a) For Apache web server:

Defaults:apache !requiretty
apache ALL= NOPASSWD: /usr/sbin/bconsole

b) For Lighttpd web server

Defaults:lighttpd !requiretty
lighttpd ALL= NOPASSWD: /usr/sbin/bconsole

=== Ubuntu packages ===

1. Add Baculum PPA repository:

# add-apt-repository ppa:ganiuszka/baculum

2. Update packages index

# apt-get update

3. Install base Baculum package

# apt-get install baculum

4. Install Baculum web server configuration end Baculum start

a) For Apache web server:

# apt-get install baculum-apache2

Enable mod_rewrite module in Apache

# ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load

Enable Baculum configuration in Apache

# ln -s /etc/apache2/sites-available/baculum.conf /etc/apache2/sites-enabled/baculum.conf

Start Baculum

# service apache2 restart

b) For Lighttpd web server:

# apt-get install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole will be accessible to Baculum via sudo then required is create a file:

# vi /etc/sudoers.d/baculum
and put to the file following content:

Defaults:www-data !requiretty
www-data ALL= NOPASSWD: /usr/sbin/bconsole

Above sudo configuration is common both for Apache and Lighttpd web servers.

=== Debian packages ===

Because for Baculum 7.2.1-0 on Debian there does not exist any special packages repository, recommended method to install Baculum packages is download packages for Ubuntu Vivid manually and then install them.

1. Download base Baculum package and install it

# wget https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum_7.2.1-0ppa1~vivid1_all.deb
# gdebi baculum_7.2.1-0ppa1~vivid1_all.deb

2. Download and install web server configuration for Baculum.

a) For Apache web server

# wget https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum-apache2_7.2.1-0ppa1~vivid1_all.deb
# gdebi baculum-apache2_7.2.1-0ppa1~vivid1_all.deb

Enable mod_rewrite module in Apache

# ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load

Enable Baculum configuration in Apache

# ln -s /etc/apache2/sites-available/baculum.conf /etc/apache2/sites-enabled/baculum.conf

Start Baculum

# service apache2 restart

b) For Lighttpd web server

# wget https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum-lighttpd_7.2.1-0ppa1~vivid1_all.deb
# gdebi baculum-lighttpd_7.2.1-0ppa1~vivid1_all.deb

3. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole will be accessible to Baculum via sudo then required is create a file:

# vi /etc/sudoers.d/baculum
and put to the file following content:

Defaults:www-data !requiretty
www-data ALL= NOPASSWD: /usr/sbin/bconsole

Disponível em: pt-brPortuguês (Portuguese (Brazil))enEnglish

Leave a Reply