1. Download these files from http://sourceforge.net/project/showfiles.php?group_id=50727
bacula-2.0.3.tar.gz
depkgs
2. run:
apt-get install g++
3. run:
ln -s make /usr/bin/gmake
4. Create a bacula directory, into which you will place both the Bacula source as well as the dependency package.
5. Detar the depkgs into the bacula directory.
6. cd bacula/depkgs
7. make
8. Configure and install MySQL
download and install mysql-server from www.mysql.com/downloads:
dpkg -i mysql-server-5.0_5.0.21-3ubuntu1_i386.deb
dpkg -i libmysqlclient15-dev_5.0.21-3ubuntu1_i386.deb
9. apt-get install zlib1g-dev
10. Detar the Bacula source code preferably into the bacula directory discussed above.
11. Configure Bacula:
./configure --with-mysql --enable-smartalloc --with-openssl
make
make install
12. from /etc/bacula run:
./grant_mysql_privileges
./create_mysql_database
./make_mysql_tables
13. Start Bacula:
/etc/bacula/bacula start
14. Interface with Bacula using the Console program:
/etc/bacula/bconsole
No comments:
Post a Comment