Hi Shon,

Shon Stephens wrote:
> I am completely unfamiliar with Debian and its installation
> system. I would like to know how others have easily
> installed a Bacula client (FD) on Debian hosts.
>   

I was, like yourself, unfamiliar with the Debian install method; having 
been used to the RedHat Fedora release.  However that has changed 
recently as I've moved over to Ubuntu which as you may be aware is based 
on Debian.  Although others like Eric, Jason and Zakai have already 
answered how to make bacula-fd on Debian I thought I'd mention that 
installing it as a service is slightly different to RedHat and the 
standard directories are slightly  different too.

Anywhoo, here's my recipe for installation...

As root make a directory for the file daemon to be installed into: -

    # mkdir /usr/local/bacula

Download bacula into a suitable directory.  I use a local account for 
this called webby: -

    # su webby
    $ cd ~webby/downloads
    $ wget http://downloads.sourceforge.net/bacula/bacula-2.2.5.tar.gz

    $ tar xfz bacula-2.2.5.tar.gz
    $ cd bacula-2.2.5/
    $ CFLAGS="-g -Wall" \
    > ./configure \
    > --enable-client-only \
    > --sbindir=/usr/local/bacula/bin \
    > --sysconfdir=/usr/local/bacula/conf \
    > --enable-smart-alloc \
    > --with-subsys-dir=/var/run

A lot of work goes on here... note that the directories specified will 
be used when we do the next command.

    # make install

Now edit the configuration file in 
/usr/local/bacula/conf/bacula-fd.conf  You should only have to change 
the director name and password.

By default Ubuntu doesn't enable a firewall, not sure what the score is 
with pure debian.  As my server was a public facing server with a 
configured firewall I had to ensure ports 9102 and 9103 were open.

Finally I installed it as a service as follows : -

      # cp /usr/local/bacula/conf/bacula-ctl-fd /etc/init.d/bacula
      # chmod 755 bacula

      # update-rc.d bacula defaults 30 70
       Adding system startup for /etc/init.d/bacula ...
         /etc/rc0.d/K70bacula -> ../init.d/bacula
         /etc/rc1.d/K70bacula -> ../init.d/bacula
         /etc/rc6.d/K70bacula -> ../init.d/bacula
         /etc/rc2.d/S30bacula -> ../init.d/bacula
         /etc/rc3.d/S30bacula -> ../init.d/bacula
         /etc/rc4.d/S30bacula -> ../init.d/bacula
         /etc/rc5.d/S30bacula -> ../init.d/bacula
      #

If your director, storage and file daemons are all connected by a LAN 
you should be ready after updating the director's config file.  If, like 
me, your machines are separated by a broadband connection, with a NAT 
router in between, your fun is only just beginning ;-)

Hope that helps.

Best Regards,
David Legg


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to