[asterisk-users] Installing Asterisk to it's own directory

Gordon Henderson gordon+asterisk at drogon.net
Sat Nov 20 02:10:43 CST 2010


On Fri, 19 Nov 2010, Jose P. Espinal wrote:

> 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'

Also make sure that /my/destination/directory/etc/asterisk/asterisk.conf 
has the right paths in it and you start asterisk with a -C flag to point 
it to the conf file.

Gordon


>
>
> 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
>
>
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list