系統環境介紹:
sudo apt-get install build-essential linux-headers-`uname -r` sudo apt-get install bison festival festival-dev libssl-dev zlib1g-dev libnewt-dev sudo apt-get install libvorbis-dev automake mysql-server mysql-client mysql-admin libmysqlclient15-dev sudo apt-get install php5 php5-cli php5-common php5-dev sudo apt-get install curl libgnutls26 libgnutls-dev libtiff4-dev libtiff-tools sudo apt-get install libasound2-dev portaudio19-dev libportaudio2 jackd sudo apt-get install unixodbc unixodbc-bin unixodbc-dev sudo apt-get install libbluetooth-dev sudo apt-get install sox
NOTE:
安裝過程中會提示:需設定 MySQL 的 root 密碼。
cd /usr/src wget http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz tar xzf speex-1.2rc1.tar.gz cd speex-1.2rc1 ./configure --prefix=/usr make make install ldconfig -v
cd /usr/src wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre17.tgz tar xzf spandsp-0.0.6pre17.tgz cd spandsp-0.0.6 ./configure --prefix=/usr make make install ldconfig -v
cd /usr/src wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz cd iksemel-1.4 ./configure --prefix=/usr make make check make install ldconfig -v
cd /usr/src wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-current.tar.gz cd dahdi-linux-* make make install cd /usr/src wget http://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-current.tar.gz cd dahdi-tools-* ./configure make make install make config