We recently installed asterisk for one our customer. I have documented the same step by step. It might useful for some body interested. As there is no apache are any other services installed on this server its very fast.
Linux version used Centos 6.0:
CentOS-6.0-i386-bin-DVD.iso
Once Installation completed assign stactic IP to the System.
Disable Selinux:
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
Update the system:
yum update -y
Once update is complete restart the system:
init 6
Install the prerequisites:
1. yum install kernel-devel-`uname -r`
2. yum -y groupinstall "Development tools" "Debugging Tools"
3. yum install gcc gcc-c++ libtermcap-devel libxml2-devel
4. yum install -y make wget openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel
change to source dirctory:
1. cd /usr/src/
Download the source files:
1. wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
Untar the files:
1. tar zxvf dahdi-linux-complete*
2. tar zxvf libpri*
3. tar zxvf asterisk*
Install Dahdi:
1. cd /usr/src/dahdi-linux-complete*
2. make
3. make install
4. make config
Install Lib pri:
1. cd libpri-1.4.14/
2. make
3. make install
In stall asterisk:
1. cd /usr/src/asterisk*
2. ./configure
3. make menuselect
4. make
5. make install
6. make samples
7. make config
8. service dahdi start
9. service asterisk start
Enable services at start up:
1. chkconfig dahdi on
2. chkconfig asterisk on
No comments:
Post a Comment