freeswitch 在redhat 7.0/centos 7.0上的编译安装
来源:互联网 发布:三国志9高难度优化伴侣 编辑:程序博客网 时间:2024/05/16 08:28
参考官方文档:
https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7
https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7
1) Make sure yum update is run and CentOS is up-to-date2) {optional} inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take affect.3) yum -y install git4) yum -y install epel-release5) rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm6) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel7) yum -y install libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel8) cd /usr/local/src9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git10) cd /usr/local/src/freeswitch11) ./bootstrap.sh12) ./configure13) make14) make install15) make cd-sounds-install16) make cd-moh-install17) cd /usr/local/freeswitch/conf18) vi vars.xml Change: <X-PRE-PROCESS cmd="set" data="default_password=1234"/> {!!set it to something different!!} Save and close (<Esc> :wq!)19) cd /usr/local/freeswitch/conf/sip_profiles20) mv internal-ipv6.xml internal-ipv6.xml.removed {disables ipv6 support}21) mv external-ipv6.xml external-ipv6.xml.removed {disables ipv6 support}22) cd /usr/local/freeswitch/bin23) ./freeswitch -nonat -nonatmap24) ... to exit from FreeSWITCH console
报错:
Neither yasm nor nasm have been found. See the prerequisites section in the README for more info.
这个只需要安装yasm
有两种方法
1)
yum install yasm
2)
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar zxvf yasm-1.2.0.tar.gz
cd yasm-1.2.0/
./configure
make
make install
还有个执行 ./configure后面后很多参数。依赖比较多。建议不需要的不要enable
阅读全文
0 0
- freeswitch 在redhat 7.0/centos 7.0上的编译安装
- 在CentOS 5/RedHat Enterprise 5.3上编译安装GeoIP
- 在centos 6.5中编译和安装FreeSwitch
- 在centos和redhat上安装docker
- 在centos和redhat上安装docker
- 在centos和redhat上安装docker
- 在Linux CentOS上编译并安装Clang 3.5.0,适用于Redhat和Clang3.8
- 在 redhat 上编译
- Freeswitch on centos编译安装指南
- 在Redhat/Centos上安装和配置TortoiseHg和kdiff3
- 在centos/redhat上安装xCAT管理节点
- 使用yum在centos/redhat上安装mysql
- oracle 10.2g在CentOS 5.1和redhat 5企业版上的安装过程
- 在CentOS 5.6上编译安装Memcached
- 在Centos上编译安装Erlang R15B
- 在centos上编译和安装vlc
- 在CentOS上编译安装FFmpeg
- 在CentOS上编译安装FFmpeg
- 网易2017内推笔试2:数字游戏 [python]
- 第22章 钟灵毓秀的世界——三维地形的构建
- linux 简单驱动编写
- 《计算机操作系统》总结二(进程与线程)
- 11.14学习心得
- freeswitch 在redhat 7.0/centos 7.0上的编译安装
- C#字符串转数组,数组转字符串,后遍历数组
- 关于IOS证书过期的问题
- LeetCode-160. Intersection of Two Linked Lists
- C语言之指针*p++和*(p++)区别
- on release of batch it still contained JDBC statements
- Paxos算法
- 基于EasyNVR二次开发实现业务需求:用户、权限、设备管理
- dajngo debug=false时无法加载css、js