If any of those packages are not installed install them by using yum
yum install bison
yum install bison-devel
yum install ncurses
yum install ncurses-devel
yum install zlib
yum install zlib-devel
yum install openssl
yum install openssl-devel
yum install gnutls-devel
yum install gcc
yum install gcc-c++
CentOS Linux Install Core Development Tools Automake, Gcc (C/C++), Perl, Python & Debuggers
yum groupinstall 'Development Tools'
Use DVD via yum command, just open /etc/yum.repos.d/CentOS-Media.repo and make sure enabled=1. To use this repo, put in your DVD and use it with the other repos too:
yum --enablerepo=c5-media groupinstall Development Tools'
Installing Libpri:
cd /path/to/source/libpri
make
make install
make
make install
Installing Zaptel:
cd /usr/src/asterisk/zaptel
# if you have a 2.4 kernel you should type just make
make
# if you have a 2.6 kernel you should type make linux26
make linux26 - if you have a 2.6 kernel
make install
# if you have a 2.4 kernel you should type just make
make
# if you have a 2.6 kernel you should type make linux26
make linux26 - if you have a 2.6 kernel
make install
Installing Asterisk:
cd /usr/src/asterisk/asterisk
# before making Asterisk you have to install mpg123 package (to be able to play mp3 files for music on hold).
make mpg123
# for Asterisk v1.4 you should start configure script
./configure
make
make install
make samples
# before making Asterisk you have to install mpg123 package (to be able to play mp3 files for music on hold).
make mpg123
# for Asterisk v1.4 you should start configure script
./configure
make
make install
make samples
ไม่มีความคิดเห็น:
แสดงความคิดเห็น