標題:
My Asterisk 11 and its setup -- 分享
[打印本頁]
作者:
ckleea
時間:
2012-11-7 12:57
標題:
My Asterisk 11 and its setup -- 分享
Asterisk 11 已經出了差不多兩星期,而 11.0.1 更剛發表。
希望透過這帖與大家分享我怎樣從 Asterisk 1.8 更新到 11.0.1 (我通常使用 SVN,所以現在的版本應該再新一點)
Environmental setup
Installation
Migration of the conf files
Revision and updates of settings
作者:
ckleea
時間:
2012-11-7 12:57
本帖最後由 ckleea 於 2012-11-8 08:13 編輯
設備
實體或虛擬PC
256MB or above RAM
10GB or above harddisk space
root access via SSH and WinSCP
我的設定主要是跟 Centos 5.8 進行,Asterisk 是自已 compile
其他設定盡量從舊系統抄過來,用最短和簡單的方法,將asterisk 進入工作狀態。
作者:
ckleea
時間:
2012-11-7 12:58
本帖最後由 ckleea 於 2012-11-9 11:20 編輯
先執行我的scripts
## Install libraries on Centos 6 32 bits
## wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
## rpm -Uvh epel-release-6-7.noarch.rpm
## rm -rf epel-release-6-7.noarch.rpm
## Install libraries on Centos 5 32 bits
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5-4.noarch.rpm
rm -rf epel-release-5-4.noarch.rpm
## yum update
yum groupinstall "Development tools"
yum -y install nano ncurses-devel neon-devel sqlite sqlite-devel iksemel iksemel-devel mysql-server mysql-devel libical
yum -y install gcc gcc-c++ libxml2-devel ncurses-devel openssl-devel mysql-devel sqlite-devel unixODBC-devel libtool-ltdl-devel freetds-devel libvorbis-devel alsa-lib-devel bluez-libs-devel curl-devel libtiff-devel libssl-dev speex speex-devel libusb-devel CIG-devel openldap-devel gmime-devel net-snmp-devel flex bison lua-devel subversion make gnutls-devel gnutls-utils kernel-devel newt-devel mlocate lynx tar wget nmap bzip2 mod_ssl crontabs vixie-cron libxml2 texinfo neon neon-devel
## Install Asterisk 11 Branch
mkdir /usr/src/asterisk
cd /usr/src/asterisk
svn co http://svn.asterisk.org/svn/asterisk/branches/11 asterisk11
cd asterisk11
contrib/scripts/install_prereq install
## this is ony for format MP3 - SVN required
contrib/scripts/get_mp3_source.sh
contrib/scripts/get_ilbc_source.sh
./configure
make menuconfig
make
make install
make samples
make progdocs
複製代碼
先準備 development libraries 和 tools
然後download asterisk 11 latest sources from SVN
如果 compile 時遇到 error,可以行這句
contrib/scripts/install_prereq install
作者:
ckleea
時間:
2012-11-7 12:58
留用帖子 - 3
作者:
ckleea
時間:
2012-11-7 12:59
留用帖子 - 4
作者:
ckleea
時間:
2012-11-7 12:59
留用帖子 - 5
作者:
ckleea
時間:
2012-11-7 12:59
留用帖子 - 6
作者:
ckleea
時間:
2012-11-7 13:00
留用帖子 - 7
作者:
ckleea
時間:
2012-11-7 13:00
留用帖子 - 8
作者:
ckleea
時間:
2012-11-7 13:01
留用帖子 - 9
作者:
bubblestar
時間:
2012-11-7 22:16
在 PC 升級的過程一般都或多或少有些技術上問題,期待分享。
歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/)
Powered by Discuz! 7.2