CentOS 6.2安装asterisk

  1. 最小化安装CentOS后,执行yum –y update,目前有的软件更新到最新
  2. yum –y install gcc gcc-c++ kernel-devel bison openssl openssl-devel ncurses-devel doxygen newt-devel mlocate curl-devel speex speex-devel libxml2-devel mysql-devel
  3. mkdir /usr/src/asterisk

    cd /usr/src/asterisk

    wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.11.1.tar.gz

  4. tar –zxvf asterisk-1.8.11.1.tar.gz
  5. cd /usr/src/asterisk/asterisk-VERSION

make clean

./configure

make menuselect(自定义选项,支持mysql连接选择res_config_mysql app_mysql cdr_mysql)

make

make install

make samples

make config

6. reboot

你可能感兴趣的:(centos)