在线精品99_中国九九盗摄偷拍偷看_91免费版在线观看_91.app_91高清视频在线_99热最新网站

Debian怎么安装FreeSwitch和mod

201次阅读
没有评论

共计 2507 个字符,预计需要花费 7 分钟才能阅读完成。

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

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 install

5. 安装 mod_hiredis 模块

进入 usr/src/freeswitch/src/mod/applications/mod_hireds 目录

make

make install

即可

然后修改 autoload_configs/modules.conf.xml by uncommenting the line:

load module= mod_hiredis /
配置 autoload_configs/hiredis.conf.xml 文件如下

Configuration example:

configuration name= hiredis.conf description= mod_hiredis
  profiles
    profile name= default
      connections
        connection name= primary
          param name= hostname value= 172.18.101.101 /
          param name= password value= redis /        
          param name= port value= 6379 /
          param name= timeout_ms value= 500 /
        /connection
        connection name= secondary
          param name= hostname value= localhost /
          param name= password value= redis /        
          param name= port value= 6380 /
          param name= timeout_ms value= 500 /
        /connection
      /connections
      params
        param name= ignore-connect-fail value= true /
      /params
    /profile
  /profiles
/configuration
Connection parameters:

6. 安装后如何启动

进入 /usr/local/freeswitch/bin

目录,运行./freeswitch 启动

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

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

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-07-17发表,共计2507字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)
主站蜘蛛池模板: 色综合亚洲欧美在线 | 欧美精品久久久久久久影视 | 国产在线 | 欧洲 | 国产成人影院一区二区三区 | 亚洲熟妇丰满xxxxx小品 | 欧美成人伊人久久综合网 | 九九精品视频免费 | 国产黄色在线 | 成人免费看吃奶视频网站 | 手机看片福利一区二区三区 | 精品少妇爆乳无码av无码专区 | 亚洲欧美一区二区三区 | 国内精品久久久久久西瓜色吧 | 久久黄色免费视频 | 久久久久亚洲av成人网人人网站 | 亚洲国产成人高清在线观看 | 欧美视频久久久 | www四虎| 国产亚洲婷婷香蕉久久精品 | 日日摸夜夜添夜夜爽免费视频 | 国产suv精品一区二区88l | 精品国产自在现线看 | 青春草国产成人精品久久 | 亚洲欧美另类激情综合区蜜芽 | 亚洲十欧美十日韩十国产 | 欧美老熟妇乱大交xxxxx | 黑人上司好猛我好爽中文字幕 | 亚洲激情久久 | 一级做a爰片久久毛片潮喷 一级做a爰片久久毛片看看 | 亚洲成人激情小说 | 国产精品久久久十八禁 | 第四色亚洲 | 成人羞羞视频在线观看男生 | 亚洲九九视频 | 欧洲-级毛片内射 | 97久久国产亚洲精品超碰热 | 国产综合色香蕉精品五月婷 | 久视频在线 | 亚洲国产精品毛片av不卡在线 | 一级特黄高清完整大片 | 亚洲电影成人 成人影院 |