FreeSWITCH CentOS7下源码编译mod_mariadb

文章介绍了如何在CentOS系统上通过编辑yum仓库并使用`yuminstall`命令安装MariaDBConnectorC-devel、Freeswitch(包括1.10.11版本)和OpenSSL1.1-devel。还提到了可能存在的EPEL冲突及解决方法,最后提到如何检查Freeswitch的配置和日志路径。
摘要由CSDN通过智能技术生成

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
 

yum install -y http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-1.noarch.rpm
yum install -y --nogpgcheck mariadb-connector-c-devel

剩下的就没什么了

参考链接:

https://github.com/signalwire/freeswitch/issues/1611

查了下资料,貌似也可以这么玩:

编辑 /etc/yum.repos.d/okay.repo,内容为:

[okay]
name=Extra OKay Packages for Enterprise Linux - $basearch
baseurl=http://repo.okay.com.mx/centos/$releasever/$basearch/release
failovermethod=priority
enabled=1
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OKAY

[okay-debuginfo]
name=Extra OKay Packages for Enterprise Linux - $basearch - Debug
baseurl=http://repo.okay.com.mx/centos/$releasever/$basearch/debug
failovermethod=priority
enabled=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OKAY
#gpgcheck=1

现在就可以`yum install -y --nogpgcheck mariadb-connector-c-devel`

貌似也可以`yum install -y freeswitch`,目前是1.10.11版本

个人觉得`yum install -y openssl11-devel`也很好

这家有很多好东西

mod_av可能跟epel可能有冲突,可以先`yum remove -y epel-release`卸载epel,详细的安装过程可能是:

yum remove -y epel-release

yum install -y freeswitch --skip-broken

yum install -y freeswitch* --skip-broken

顺利的话`freeswitch -nonat`就可以起来,用`global_getvar`去查看log的目录和配置的目录等等

  • 6
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值