Next: 2 Big Brother
Up: Redhat FAQ
Previous: Contents
Contents
Subsections
- Create the amanda user. Put it in a a group that can do raw reads
and writes to disk devices.
$ sudo useradd -u 250 -g adm -G disk -d /var/amanda -m -s
/bin/bash amanda
- Change into the amanda source directory, configure, make and install
$ cd amanda-<version>
$ ./configure -with-user=amanda -with-group=adm
$ make
$ sudo make install
- Create a file called .amandahosts in the amanda home directory. It
should contain at least the following lines.
<backup server> amanda
<backup server FQDN> amanda
- Add to /etc/services:
amanda 10080/udp
amandaidx 10082/tcp
amidxtape 10083/tcp
- On Linux create the file /etc/xinetd.d/amanda:
# default: off
# description: AMANDA backup services
#
service amanda
{
socket_type = dgram
wait = yes
user = amanda
group = adm
server = /usr/local/libexec/amandad
disable = no
}
service amandaidx
{
socket_type = stream
wait = no
user = amanda
group = adm
server = /usr/local/libexec/amindexd
disable = no
}
service amidxtape
{
socket_type = stream
wait = no
user = amanda
group = adm
server = /usr/local/libexec/amidxtaped
disable = no
}
- On Solaris add to /etc/inetd.conf:
amanda dgram udp wait amanda /usr/local/libexec/amandad amandad
amandaidx stream tcp nowait amanda /usr/local/libexec/amindexd amindexd
amidxtape stream tcp nowait amanda /usr/local/libexec/amidxtaped amidxtaped
- Restart xinetd on Linux or inetd on Solaris.
- Create some necessary files and directories
$ sudo mkdir -p /usr/local/var/amanda/gnutar-lists
$ sudo chown -R amanda:adm /usr/local/var/amanda
$ sudo touch /etc/amandates
$ sudo chown amanda /etc/amandates
Next: 2 Big Brother
Up: Redhat FAQ
Previous: Contents
Contents
2005-03-20