Re: amanda upgrade questions
2007-05-10 19:44:45
On Thursday 10 May 2007, Donofrio, Lewis wrote:
>In config file you are referring to the .config file that is home to all the
> switches like --with- ssh and etc?
> ______________________________________________________________________
> Lewis Donofrio AT umich DOT edu
>Cell: (734) 323-8776
>
Yup, that one.
Here is mine.
#!/bin/sh
# since I'm always forgetting to su amanda...
if [ `whoami` != 'amanda' ]; then
echo
echo "!!!!!!!!!!!! Warning !!!!!!!!!!!!"
echo "Amanda needs to be configured and built by the user amanda,"
echo "but must be installed by user root."
echo
exit 1
fi
make clean
rm -f config.status config.cache
./configure --with-user=amanda \
--with-group=disk \
--with-owner=amanda \
--with-gnu-ld \
--prefix=/usr/local \
--with-tapedev="FILE:/amandatapes" \
--with-debugging=/tmp/amanda-dbg/ \
--with-tape-server=coyote \
--with-bsdtcp-security --with-amandahosts \
--with-configdir=/usr/local/etc/amanda \
--with-config=Daily \
--with-gnutar=/bin/tar
make
--------
You will also need to add/modify the ~/.amandahosts file IIRC.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
I just know I'm a better manager when I have Joe DiMaggio in center field.
-- Casey Stengel
|
|
|