Ubuntu-based Asterisk Installation

Source: Internet
Author: User
1. Switch to the root account sudosusudo-i2. Install the package apt-get-yinstalllinux-headers-$ (uname-r) build-essentialautomakeautoconfbisonflexlibtoollibncurses5-devlibssl-devsubversionsvn-buildpackageapt

1. Switch to the root account

Sudo su

Sudo-I

2. install the software package

Apt-get-y install linux-headers-$ (uname-r) build-essential automake autoconf bison flex libtool libncurses5-dev libssl-dev subversion svn-buildpackage

Apt-get-y install cvs libgsm1 libgsm1-dev

Apt-get-y install sysvconfig

Apt-get-y install libxml2 libxml2-dev

3. Go to www.asterisk.org/downloads/ to download asterisk. Put it in/usr/src.

I downloaded asterisk-1.6.2.8.

4. Unzip tar-xzf asterisk-1.6.2.8.tar.gz

Cd asterisk-1.6.2.8

./Configure (if this step is incorrect, install the corresponding software package as prompted)

Make

Make install

5. Start the service

Service asterisk start

========================================================== ========================================================== =

L first install some things required for basic Compilation

Apt-get install build-essential

Apt-get install linux-headers-2.6.28-11-server

L install dahdi to support the Conference and Page functions of Asterisk.

L library environment required for installing Asterisk

Apt-get install bison

Apt-get install libnewt-dev

Apt-get install libncurses5-dev

L install Asterisk

L install MYSQL

Apt-get install mysql-server

Apt-get install libmysqlclient15-dev

L install Asterisk-addons

L create related table structure information and Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.