Asterisk 1.6.1.8 Installation Process
[root@localhost ~]#yum upgrade
[root@localhost ~]#yum -y install gcc gcc-c++ make openssl-devel newt-devel ncurses-devel libtermcap-devel libxml2-devel kernel-devel perl curl curl-devel
[root@localhost ~]#uname -r
[root@localhost ~]#yum -y install libtool-ltdl libtool-ltdl-devel unixODBC-devel mysql mysql-devel mysql-server mysql-connector-odbc
[root@localhost ~]#cd /usr/src
[root@localhost src]# mkdir asterisk
[root@localhost ~]#cd asterisk
[root@localhost asterisk]#wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.1.8.tar.gz
[root@localhost asterisk]#wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
[root@localhost asterisk]#wget http://downloads.digium.com/pub/libpri/libpri-1.4-current.tar.gz
[root@localhost asterisk]#tar zxvf asterisk-1.6.1.8.tar.gz
[root@localhost asterisk]#tar zxvf dahdi-linux-complete-current.tar.gz
[root@localhost asterisk]#tar zxvf libpri-1.4-current.tar.gz
[root@localhost asterisk]#cd libpri-1.4.11.5/
[root@localhost libpri-1.4.11.5]# make clean
[root@localhost libpri-1.4.11.5]# make
[root@localhost libpri-1.4.11.5]#make install
(Restart the server)
[root@localhost ~]#cd /usr/src/asterisk
[root@localhost asterisk]#cd dahdi-linux-complete-2.4.1.1+2.4.1/
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]#make all
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]#make config
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]#service dahdi start
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]#chkconfig dahdi on
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]# cd
[root@localhost ~]#cd /usr/src/asterisk/asterisk-1.6.1.8
[root@localhost asterisk-1.6.1.8]#./configure
[root@localhost asterisk-1.6.1.8]#make menuselect
[root@localhost asterisk-1.6.1.8]#make
[root@localhost asterisk-1.6.1.8]#make install
[root@localhost asterisk-1.6.1.8]#make samples
[root@localhost asterisk-1.6.1.8]# make config
[root@localhost asterisk-1.6.1.8]# service asterisk start
[root@localhost asterisk-1.6.1.8]# chkconfig asterisk on
[root@localhost ~]# asterisk -vvvvc
*CLI> core stop now
Installation Complete.
[root@localhost ~]#yum upgrade
[root@localhost ~]#yum -y install gcc gcc-c++ make openssl-devel newt-devel ncurses-devel libtermcap-devel libxml2-devel kernel-devel perl curl curl-devel
[root@localhost ~]#uname -r
[root@localhost ~]#yum -y install libtool-ltdl libtool-ltdl-devel unixODBC-devel mysql mysql-devel mysql-server mysql-connector-odbc
[root@localhost ~]#cd /usr/src
[root@localhost src]# mkdir asterisk
[root@localhost ~]#cd asterisk
[root@localhost asterisk]#wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.1.8.tar.gz
[root@localhost asterisk]#wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
[root@localhost asterisk]#wget http://downloads.digium.com/pub/libpri/libpri-1.4-current.tar.gz
[root@localhost asterisk]#tar zxvf asterisk-1.6.1.8.tar.gz
[root@localhost asterisk]#tar zxvf dahdi-linux-complete-current.tar.gz
[root@localhost asterisk]#tar zxvf libpri-1.4-current.tar.gz
[root@localhost asterisk]#cd libpri-1.4.11.5/
[root@localhost libpri-1.4.11.5]# make clean
[root@localhost libpri-1.4.11.5]# make
[root@localhost libpri-1.4.11.5]#make install
(Restart the server)
[root@localhost ~]#cd /usr/src/asterisk
[root@localhost asterisk]#cd dahdi-linux-complete-2.4.1.1+2.4.1/
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]#make all
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]#make config
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]#service dahdi start
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]#chkconfig dahdi on
[root@localhost dahdi-linux-complete-2.4.1.1+2.4.1]# cd
[root@localhost ~]#cd /usr/src/asterisk/asterisk-1.6.1.8
[root@localhost asterisk-1.6.1.8]#./configure
[root@localhost asterisk-1.6.1.8]#make menuselect
[root@localhost asterisk-1.6.1.8]#make
[root@localhost asterisk-1.6.1.8]#make install
[root@localhost asterisk-1.6.1.8]#make samples
[root@localhost asterisk-1.6.1.8]# make config
[root@localhost asterisk-1.6.1.8]# service asterisk start
[root@localhost asterisk-1.6.1.8]# chkconfig asterisk on
[root@localhost ~]# asterisk -vvvvc
*CLI> core stop now
Installation Complete.
0 comments:
Post a Comment