freeSwitch1.7+vBilling centos6.6 mini install
来源:互联网 发布:mysql覆盖索引 编辑:程序博客网 时间:2024/05/16 11:32
以下大部分内容贴自:http://www.8000hz.com/archives/freeswitch-git-compile-1-7.html
但在执行过程中遇到一些错误,进行了补全。
下载源代码
git clone https://freeswitch.org/stash/scm/fs/freeswitch.git
准备依赖
cd freeswitchsh support-d/prereq.shyum -y install curl-devel pcre-devel speex-devel ldns-devel lua-devel libsndfile-devel
cd freeswitch/libs
编译libyuv
git clone https://freeswitch.org/stash/scm/sd/libyuv.gitcd libyuvmake -f linux.mk CXXFLAGS="-fPIC -O2 -fomit-frame-pointer -Iinclude/"make installcp /usr/lib/pkgconfig/libyuv.pc /usr/lib64/pkgconfig/
编译VPX
cd ..git clone https://freeswitch.org/stash/scm/sd/libvpx.gitcd libvpx./configure --enable-pic --disable-static --enable-shared
这里可能会提示 Neither yasm nor nasm have been found
解决方法:yasm是一个汇编编译器,声称是nasm的升级版,各版本地址:http://www.tortall.net/projects/yasm/releases/我选择的是最新的1.3.0
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar -vxf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure
make&&make install
搞定!继续下面步骤
makemake installcp /usr/local/lib/pkgconfig/vpx.pc /usr/lib64/pkgconfig/
编译OPUS
cd ..git clone https://freeswitch.org/stash/scm/sd/opus.gitcd opus./autogen.sh./configuremakemake installcp /usr/local/lib/pkgconfig/opus.pc /usr/lib64/pkgconfig
编译libpng
git clone https://freeswitch.org/stash/scm/sd/libpng.gitcd libpng ./configuremakemake installcp /usr/local/lib/pkgconfig/libpng* /usr/lib64/pkgconfig/pkg-config --list-all | grep png
编译&安装
cd ..sh bootstrap.sh./configure --prefix=/usr/local/freeswitchmakemake install
如果出现问题:configure: error: You need to either install libldns-dev or disable mod_enum in modules.conf
解决办法:
修改modules.conf,注释叼 mod_enum 模块!重新从 ./configure 开始
启动 /usr/local/freeswitch/bin/freeswitch-c-nonat-rp
freeswitch安装完!
如果启动freeswitch 失败:libyuv错误 cannot open shared object file: No such file or directory
解决办法:
vi /etc/ld.so.conf
添加以下几行:
/usr/local/lib
/usr/lib
/lib
sudo ldconfig
搞定!
——————————————————————————————————————vBilling Install————————————————————————————————————————————————
Vbilling安装:
# wget --no-check-certificate http://goo.gl/ap7KV -O install.sh
# chmod +x install.sh
# ./install.sh
到此已经全都安装好了!
如果启动httpd服务失败
httpd: Could not reliably determine the server's fully qualified domain name
- freeSwitch1.7+vBilling centos6.6 mini install
- centos6.7 mini 安装 tomcat8
- centos6.7 mini ambari hadoop
- freeswitch1.6 录音功能
- virtualbox5.0.8 centos6.7 mini 安装
- centos6.7 mini 安装oracle jdk 1.8
- centos6.7 mini 安装 Galera Cluster
- CentOS6.7mini版本依赖的yum
- ubuntu下安装freeswitch1.6
- centos6.6 install xiaomi wifi
- CentOS6.6 for Zabbix install
- centos6.7 mini 安装hadoop2.7.3完全分布式
- windows配置freeswitch1.6使用mysql
- ubuntu16.04.3配置freeswitch1.6使用PostgreSQL
- ubuntu16.04 freeswitch1.6使用odbc
- Mac Mini install ssl certificate
- CentOS6.5 install Git
- Centos6 install ClamAV
- centos+mariadb练习1
- 端口镜像和链路汇聚
- 数据结构上机测试4.1:二叉树的遍历与应用1--知先序和中序求后序
- 【Mockplus教程】MAC 安全提示无法安装怎么办?
- android 一个公共的适配器,简化适配器代码
- freeSwitch1.7+vBilling centos6.6 mini install
- MyEclipse+Tomcat+MAVEN+SVN项目完整环境搭建
- 一个强大的在线编译运行网站,JAVA/C#/PHP绝大部分语言都有
- 解决用VideoView 播放一些视频无法播放问题
- poj-3026 Borg Maze
- 比较简单和理解的下拉框联动实现
- 回文数猜想
- 黑马程序员_多线程
- 用对象改写switch结构