[Asterisk-Users] how to keep Asterisk up to date on many servers
Dana Olson
rickaster at gmail.com
Tue Mar 22 12:26:29 MST 2005
On Mon, 21 Mar 2005 21:36:53 -0800, Geoff Nordli <geoffn at gnaa.net> wrote:
> Hi Everyone.
>
> Asterisk is one of those applications that need to be built from cvs on a
> regular basis to keep up with the changes. I have always used package
> management tools like apt.
>
> How does everyone manage their Asterisk servers?
>
> Geoff
I use Asterisk stable, which is updated frequently enough for my liking.
I use Debian Woody on my servers.
I have Asterisk already running, and my service is interrupted only briefly.
Here's what I do:
Download the packages to /usr/src/.
tar zxvf zaptel-1.0.7.tar.gz
cd zaptel-1.0.7/
make clean
checkinstall -D --pkgname=zaptel --pkggroup=Asterisk
--maintainer=myemail at ddress --dpkgflags=--force-overwrite --nodoc
--default -bk --pkgrelease=`uname -r` --pkgversion=1.0.7
mv zaptel_1.0.7-`uname -r`_i386.deb ../debs/
cd ..
tar zxvf libpri-1.0.7.tar.gz
cd libpri-1.0.7/
make clean
checkinstall -D --pkgname=libpri --pkggroup=Asterisk
--maintainer=myemail at ddress --dpkgflags=--force-overwrite --nodoc
--default -bk --pkgversion=1.0.7 --pkgrelease=1
mv libpri_1.0.7-1_i386.deb ../debs/
cd ..
tar zxvf asterisk-1.0.7.tar.gz
cd asterisk-1.0.7/
make clean
checkinstall -D --pkgname=asterisk --pkggroup=Asterisk
--maintainer=myemail at ddress --dpkgflags=--force-overwrite --nodoc
--default -bk --pkgversion=1.0.7 --pkgrelease=1
mv asterisk_1.0.7-1_i386.deb ../debs/
cd ..
tar zxvf asterisk-sounds-1.0.7.tar.gz
cd asterisk-sounds-1.0.7/
checkinstall -D --pkgname=asterisk-sounds --pkggroup=Asterisk
--maintainer=myemail at ddress --dpkgflags=--force-overwrite --nodoc
--default -bk --pkgversion=1.0.7 --pkgrelease=1
mv asterisk-sounds_1.0.7-1_i386.deb ../debs/
This builds and installs all of the packages I use and then puts the
resulting .deb packages into /usr/src/debs. I can then copy the .debs
to other servers and just install them with dpkg -i --force-overwrite.
Works like a charm for me.
--
Dana
More information about the asterisk-users
mailing list