How To: Compile and Install Asterisk on Rackspace Cloud Ubuntu Server
Here is an easy to follow video tutorial on how to install Asterisk on a Rackspace Ubuntu cloud server. I am using the following commands to complete the install below.
passwd apt-get update apt-get upgrade -y && reboot apt-get install linux-headers-$(uname -r) apt-get install build-essential wget libssl-dev libncurses5-dev libnewt-dev libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-dev cd /usr/src/ wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz tar zxvf dahdi-linux-complete* tar zxvf libpri* tar zxvf asterisk* cd /usr/src/dahdi-linux-complete* make && make install && make config cd /usr/src/libpri* make && make install cd /usr/src/asterisk* ./configure && make menuselect && make && make install && make config && make samples /etc/init.d/dahdi start /etc/init.d/asterisk start asterisk -rvvv
One Comment
→
Now we can compile and install Asterisk. To compile Asterisk, simply type make at the Linux command line.