Linux

AMANADA client installation instructions for Linux

Prerequisites
Add the default user and group which AMANDA will run as:

groupadd backup
useradd amanda -g backup -d /var/lib/amanda -s /bin/bash -c "AMANDA user"

AMANDA requires pkg-config (>0.16) and GLIB (>2.2.0) to compile:

  • Centos 5.x

    yum install pkgconfig glib2-devel
  • Centos 4.x
    cd /extra/src
    wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
    tar zxf pkg-config-0.23.tar.gz
    cd pkg-config-0.23
    ./configure
    make
    make install

    Glib:

    cd /extra/src
    wget http://ftp.gnome.org/pub/gnome/sources/glib/2.18/glib-2.18.2.tar.gz
    tar zxf glib-2.18.2.tar.gz
    cd glib-2.18.2
    ./configure
    make
    make install
    LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH

In order to generate progress picture, gnuplot needs to be installed:

yum install gnuplot

Client Installation

cd /extra/src
wget http://voxel.dl.sourceforge.net/sourceforge/amanda/amanda-2.6.0p2.tar.gz
tar zxvf amanda-2.6.0p2.tar.gz
cd amanda-2.6.0p2

Configure:

./configure --with-user=amanda --with-group=backup --without-server \
--with-gnutar-listdir=/var/lib/amanda/gnutar-lists \
--with-amandates=/var/lib/amanda/amandates

If you get no errors, build AMANDA but don't do it as the root user. The non-root user will need some write permissions in your source directory in order to compile, so add them before compiling:

chmod -R ugo+rw ../amanda-2.6.0p2
su amanda
make

But you do need to be root to install the programs:

exit
make install

Recent Updates

  • 1 year 12 months ago
  • 1 year 12 months ago
  • 1 year 12 months ago
    php 8.x
  • 2 years 1 hour ago
    10.6.7
  • 2 years 1 day ago
    Drop Centos 5/6 stuff