Posts

Showing posts from January 22, 2017

Install Asterisk from Source

After logging in to your Ubuntu Server as an user, issue following command to switch to root sudo su Now you are root, but you need to set password with command passwd Note that you still wont be able to ssh into your server as root, you would still need to ssh as user and then type su. Next step would be to install initial dependencies for asterisk apt-get install build-essential wget libssl-dev libncurses5-dev libnewt-dev libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-dev git subversion Now when we are root and dependencies are satisfied, we can move to /usr/src/ dir and download asterisk there cd /usr/src wget downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz Next we unpack it. tar zxvf asterisk-13-current.tar.gz Now we need to cd into the newly unpacked directory, but we don't really know what the directory is called. It starts with asterisk-13 and then there is minor version which is at the time of writing th