這篇文章主要介紹“Debian怎么安裝FreeSwitch和mod_hiredis”,在日常操作中,相信很多人在Debian怎么安裝FreeSwitch和mod_hiredis問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”Debian怎么安裝FreeSwitch和mod_hiredis”的疑惑有所幫助!接下來,請跟著小編一起來學習吧!
創(chuàng)新互聯建站專注為客戶提供全方位的互聯網綜合服務,包含不限于網站設計、網站制作、海滄網絡推廣、微信小程序、海滄網絡營銷、海滄企業(yè)策劃、海滄品牌公關、搜索引擎seo、人物專訪、企業(yè)宣傳片、企業(yè)代運營等,從售前售中售后,我們都將竭誠為您服務,您的肯定,是我們最大的嘉獎;創(chuàng)新互聯建站為所有大學生創(chuàng)業(yè)者提供海滄建站搭建服務,24小時服務熱線:18982081108,官方網址:www.cdcxhl.com
下載最新的Debian 10
使用Virtual Box一直下一步安裝即可。如果需要查看freeswitch占用端口,
請先安裝apt-get install net-tools
deb http://ftp.cn.debian.org/debian buster main deb http://ftp.cn.debian.org/debian buster-updates main deb http://ftp.cn.debian.org/debian-security/ buster/updates main deb http://ftp.cn.debian.org/debian buster-backports main
apt-get update && apt-get install -yq gnupg2 wget lsb-release wget -O - https://files.freeswitch.org/repo/deb/debian-release/fsstretch-archive-keyring.asc | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/debian-release/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list echo "deb-src http://files.freeswitch.org/repo/deb/debian-release/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list apt-get update # Install dependencies required for the build apt-get build-dep freeswitch # then let's get the source. Use the -b flag to get a specific branch cd /usr/src/ git clone https://github.com/signalwire/freeswitch.git -bv1.10 freeswitch cd freeswitch # Because we're in a branch that will go through many rebases, it's # better to set this one, or you'll get CONFLICTS when pulling (update). git config pull.rebase true # ... and do the build ./bootstrap.sh -j ./configure make make install
進入usr/src/freeswitch/src/mod/applications/mod_hireds目錄
make
make install
即可
然后修改autoload_configs/modules.conf.xml by uncommenting the line:
配置autoload_configs/hiredis.conf.xml文件如下
Configuration example:
Connection parameters:
進入/usr/local/freeswitch/bin
目錄,運行./freeswitch啟動
配置文件在/usr/local/freeswitch/conf目錄下
到此,關于“Debian怎么安裝FreeSwitch和mod_hiredis”的學習就結束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學習,快去試試吧!若想繼續(xù)學習更多相關知識,請繼續(xù)關注創(chuàng)新互聯網站,小編會繼續(xù)努力為大家?guī)砀鄬嵱玫奈恼拢?/p>
分享名稱:Debian怎么安裝FreeSwitch和mod_hiredis
本文路徑:http://weahome.cn/article/ipoijh.html