网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

Debian怎么安装FreeSwitch和mod_hiredis

这篇文章主要介绍“Debian怎么安装FreeSwitch和mod_hiredis”,在日常操作中,相信很多人在Debian怎么安装FreeSwitch和mod_hiredis问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Debian怎么安装FreeSwitch和mod_hiredis”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

创新互联建站专注为客户提供全方位的互联网综合服务,包含不限于网站设计、网站制作、海沧网络推广、微信小程序、海沧网络营销、海沧企业策划、海沧品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;创新互联建站为所有大学生创业者提供海沧建站搭建服务,24小时服务热线:18982081108,官方网址:www.cdcxhl.com

1.下载Debian

下载最新的Debian 10

2.安装Debian 10省略

使用Virtual Box一直下一步安装即可。如果需要查看freeswitch占用端口,

请先安装apt-get install net-tools

3.更改apt源

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

4.安装FreeSwitch

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

5.安装mod_hiredis模块

进入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:

6.安装后如何启动

进入/usr/local/freeswitch/bin

目录,运行./freeswitch启动

配置文件在/usr/local/freeswitch/conf目录下

到此,关于“Debian怎么安装FreeSwitch和mod_hiredis”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注创新互联网站,小编会继续努力为大家带来更多实用的文章!


新闻标题:Debian怎么安装FreeSwitch和mod_hiredis
转载源于:http://bjjierui.cn/article/ipoijh.html

其他资讯