Installing asterisk on Ubuntu is very easy, its a sequence of some simple commands.There are quite a few packages ubuntu will require in order to complete the installation of asterisk on ubuntu successfully
To install the required packages enter root mode using:Sudo su
1- Setup the system
#apt-get install build-essential
#apt-get install linux-headers-`uname -r`
#apt-get install libssl-dev
#apt-get install ncurses-dev
#apt-get install libnewt-dev
#apt-get install zlib1g-dev
#apt-get install bison
2-Change to the proper directory
cd /usr/src/
3-Downloading Packages through Ubuntu
type following in Ubuntu CLI
directories
# tar zxvf zaptel-*.tar.gz
# tar zxvf libpri-*.tar.gz
# tar zxvf asterisk-*.tar.gz
# tar zxvf asterisk-sounds.tar.gz
5-now compile zaptel,libpri,asterisk
#cd /usr/src/libpri
#make
#make install
#cd /usr/src/zaptel
#./configure
#make
#make install
#make config
#cd /usr/src/asterisk
#./configure
#make
#make install
#make samples
6-you can run asterisk by type the following command
#/etc/init.d/asterisk start
0 comments:
Post a Comment