Stephen Brown
2010-Nov-19 21:56 UTC
[asterisk-users] Installing Asterisk to it's own directory
I'd like to start playing with 1.8, however I don't want to potentially damage anything on my existing 1.6.2 install on my production server. I'd like to test 1.8 against my existing configs leaving my 1.6.2 install untouched. Looking at the output of ./configure --help suggests that it's possible to install Asterisk into another prefix of my choosing, but as this is unfamiliar territory to me I'm not exactly sure how to accomplish this? Ideally, I'd like to just dump the newly compiled 1.8 and all it's dependencies into a standalone directory (say /testing/asterisk or something) and update my init script to point to the new binaries. I also run a Sangoma USB FXO card and DAHDI for a POTS line that I would like to test as well, should it work with the pre-compiled binaries that are already there? (DAHDI, etc) I've never tried this before, and before I potentially break something I'd like to know if it's possible and how to implement it? Thanks, Stephen
Jose P. Espinal
2010-Nov-20 03:13 UTC
[asterisk-users] Installing Asterisk to it's own directory
Hi Stephen, That's what people do when building precompiled packages for certain distros (along with a few more things). I use to do the following when building packages (with a few more options): ./configure --prefix=/usr --sysconfdir=/etc make make install DESTDIR=/my/destination/directory That would create the complete installation structure under '/my/destination/directory' Regards, Stephen Brown wrote:> I'd like to start playing with 1.8, however I don't want to potentially > damage anything on my existing 1.6.2 install on my production server. > > I'd like to test 1.8 against my existing configs leaving my 1.6.2 > install untouched. Looking at the output of ./configure --help suggests > that it's possible to install Asterisk into another prefix of my > choosing, but as this is unfamiliar territory to me I'm not exactly sure > how to accomplish this? > > Ideally, I'd like to just dump the newly compiled 1.8 and all it's > dependencies into a standalone directory (say /testing/asterisk or > something) and update my init script to point to the new binaries. I > also run a Sangoma USB FXO card and DAHDI for a POTS line that I would > like to test as well, should it work with the pre-compiled binaries that > are already there? (DAHDI, etc) > > I've never tried this before, and before I potentially break something > I'd like to know if it's possible and how to implement it? > > Thanks, > Stephen > > >-- Jose P. Espinal http://www.eslackware.com IRC: [OFTC|FreeNode] Khratos @ #slackware | #asterisk/-doc/-bugs
Paul Belanger
2010-Nov-21 00:51 UTC
[asterisk-users] Installing Asterisk to it's own directory
On 10-11-19 04:56 PM, Stephen Brown wrote:> I've never tried this before, and before I potentially break something > I'd like to know if it's possible and how to implement it? >$ mkdir -p ~/digium/asterisk/testing $ cd ~/digium/asterisk/testing $ svn co http://svn.asterisk.org/svn/asterisk/branches/1.8 $ cd 1.8 $ ./contrib/scripts/live_ast configure $ make $ ./contrib/scripts/live_ast install $ ./contrib/scripts/live_ast samples $ ./live/asterisk -vvvvvc -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com & http://asterisk.org
Apparently Analagous Threads
- secret vs remotesecret on outgoing calls in Asterisk 1.6.2.16.1
- issue with installtion asterisk
- http://www.asterisk.org/downloads naming schema
- After wiki.asterisk.org was upgraded my user no loger exists.
- Restarting Asterisk using a script - Thanks to all -