返回列表 發帖

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-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 進入工作狀態。

TOP

本帖最後由 ckleea 於 2012-11-9 11:20 編輯

先執行我的scripts
  1. ## Install libraries on Centos 6 32 bits
  2. ## wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
  3. ## rpm -Uvh epel-release-6-7.noarch.rpm
  4. ## rm -rf epel-release-6-7.noarch.rpm

  5. ## Install libraries on Centos 5 32 bits
  6. wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  7. rpm -Uvh epel-release-5-4.noarch.rpm
  8. rm -rf epel-release-5-4.noarch.rpm

  9. ## yum update
  10. yum groupinstall "Development tools"
  11. yum -y install nano ncurses-devel neon-devel sqlite sqlite-devel iksemel iksemel-devel mysql-server mysql-devel libical
  12. 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


  13. ## Install Asterisk 11 Branch
  14. mkdir /usr/src/asterisk
  15. cd /usr/src/asterisk
  16. svn co http://svn.asterisk.org/svn/asterisk/branches/11 asterisk11
  17. cd asterisk11
  18. contrib/scripts/install_prereq install
  19. ## this is ony for format MP3 - SVN required
  20. contrib/scripts/get_mp3_source.sh
  21. contrib/scripts/get_ilbc_source.sh
  22. ./configure
  23. make menuconfig
  24. make
  25. make install
  26. make samples
  27. make progdocs
複製代碼
先準備 development libraries 和 tools
然後download asterisk 11 latest sources from SVN
如果 compile 時遇到 error,可以行這句
contrib/scripts/install_prereq install

TOP

留用帖子 - 3

TOP

留用帖子 - 4

TOP

留用帖子 - 5

TOP

留用帖子 - 6

TOP

留用帖子 - 7

TOP

留用帖子 - 8

TOP

留用帖子 - 9

TOP

在 PC 升級的過程一般都或多或少有些技術上問題,期待分享。

TOP

返回列表