Friday, August 27, 2010

Configure Bacula GUI with WebMin

SkyHi @ Friday, August 27, 2010
Suppose you have just installed bacula as in my previus post here.
DOWNLOAD AND START WEBMIN
Download the webmin software :
cd /tmp
wget http://downloads.sourceforge.net/project/webadmin/webmin/1.500/webmin-1.500.tar.gz?use_mirror=dfn

Install Perl-Net-SSL if you plan to use SSL for connecting to webmin :
yum install perl-Net-SSLeay.i386
Extract WebMin from the tarball and install it :
tar -zxf webmin-1.500.tar.gz
cd webmin-1.500

Run setup script :
./setup.sh
NOTE : The default settings must be fine, simply specify you login password.
CONFIGURE THE FIREWALL
Configure the firewall to permit access to webmin server (suppose the default config with https port on 10000) by editing /etc/sysconfig/iptables config file. Add a line like this before the REJECT line :
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT
Restart the firewall
service iptables restart
CONFIGURE WEBMIN
Login to your WebMin Server , and fill the search box with the word “bacula”
Click the first result, and change go to change the module config.
- Change Database type to MySql
- Change config dir to /usr/share/bacula/etc

Now you have a fully configured system for bacula, with bacula gui provided by WebMin.


REFERENCES
http://www.crippaandrea.it/?p=370