I'm trying to install Bacula 2.0.3 on Ubuntu.  I can't seem to locate
some of the dependencies.  OpenSSL doesn't give me support for TLS and
Encryption.  I can't find conio or readlines, although I'm not so sure
I need them.  I also would like to enable ACL support.  It would be
nice if I could install all the dependencies with apt-get, if
possible.  Does anyone know which packages I need to install?

I'm brand new to Bacula so if there are any other Bacula/Ubuntu
gotchas I'd like to hear about it.

PS. I'm working on a document describing howto install Bacula on
Ubuntu.  It's a bit of a mess but it documents what I've done so far,
so I'll drop it under my signature, please feel free to comment.

-- 
Best regards,

Sherman Boyd

==Install the software==

Install a '''Ubuntu Server 6.06''' LAMP server.  Then:

==Create the bacula user and group==

<pre>
adduser bacula --no-create-home --shell=/bin/false
Adding user `bacula'...
Adding new group `bacula' (1001).
Adding new user `bacula' (1001) with group `bacula'.
Not creating home directory `/home/bacula'.
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for bacula
Enter the new value, or press ENTER for the default
        Full Name []: Bacula Daemon
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [y/N] y
</pre>

==Install MySQL Server==

First we need to install MySQl and the MySQL headers:

<pre>
apt-get install mysql-server mysql-client libmysqlclient15-dev
/etc/init.d/mysql start
</pre>

Set a root password for MySQL:

<pre>
mysqladmin -u root password "yourpassword"
</pre>

<pre>
apt-get install phpmyadmin
</pre>

==Install Mail Server==

Install postfix for email delivery.

<pre>
apt-get install postfix
</pre>

Choose "Internet Site" when you are presented with the configuration wizard.

==Install Bacula==

Grab the latest Bacula from sourceforge:

http://sourceforge.net/project/showfiles.php?group_id=50727

Place it in /usr/src

<pre>
cd /usr/src
wget http://easynews.dl.sourceforge.net/sourceforge/bacula/bacula-2.0.3.tar.gz
tar xzvf bacula-2.0.3.tar.gz
cd bacula-2.0.3
</pre>

You will need these:
<pre>
apt-get install gcc g++ gawk python python-dev build-essential
</pre>

Now run the configuration script:

<pre>
./configure --sbindir=/usr/local/bacula/sbin
--sysconfdir=/usr/local/bacula/etc
--with-pid-dir=/usr/local/bacula/var/run --enable-smartaloc
--with-mysql

--with-working-dir=/usr/local/bacula/working --with-openssl
--with-python --with-dir-user=bacula --with-dir-group=bacula
--with-fd-user=root

--with-fd-group=root --with-sd-user=bacula --with-sd-group=bacula
--enable-conio --with-subsys-dir=/usr/local/bacula/var/run/subsys
--with-python
</pre>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to