CentOS 7 and RHEL 7 安装FreeSWITCH 1.6
来源:互联网 发布:安防网络工程公司 编辑:程序博客网 时间:2024/06/09 17:40
CentOS 7 and RHEL 7
- Created by Sergey Safarov, last modified by Matthew Vale on 2016.05.05
About
This article contain FreeSWITCH™ installation instruction on hosts with CentOS7 or RHEL7 operation system.
Installing from RPM Packages
Stable
FreeSWITCH™ can be installed from packages as follows
yum
install
-y http:
//files
.freeswitch.org
/freeswitch-release-1-6
.noarch.rpm epel-release
yum
install
-y freeswitch-config-vanilla freeswitch-lang-* freeswitch-sounds-*
systemctl
enable
freeswitch
Master
WARNING not suitable for production
The master branch of FreeSWITCH™ can be installed from packages as follows
yum
install
-y http:
//files
.freeswitch.org
/freeswitch-release-1-6
.noarch.rpm epel-release
edit /etc/yum.repos.d/freeswitch-testing.repo and update the highlighted lines
[freeswitch-testing]
name=FreeSwitch Packages for Enterprise Linux $releasever - Testing - $basearch
baseurl=http://files.freeswitch.org/yum_unstable/$releasever/$basearch
#mirrorlist=http://mirrors.freeswitch.org/mirrorlist?repo=testing-freeswitch$releasever&arch=$basearch
#failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH
[freeswitch-testing-debuginfo]
name=FreeSwitch Packages for Enterprise Linux $releasever - Testing - $basearch - Debug
baseurl=http://files.freeswitch.org/yum/testing/$releasever/$basearch/debug
#mirrorlist=http://mirrors.freeswitch.org/mirrorlist?repo=testing-debug-freeswitch$releasever&arch=$basearch
#failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH
gpgcheck=1
[freeswitch-testing-source]
name=FreeSwitch Packages for Enterprise Linux $releasever - Testing - $basearch - Source
baseurl=http://files.freeswitch.org/yum/testing/$releasever/SRPMS
#mirrorlist=http://mirrors.freeswitch.org/mirrorlist?repo=testing-source-freeswitch$releasever&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH
gpgcheck=1
you can then install as follows
yum
install
-y freeswitch-config-vanilla freeswitch-lang-* freeswitch-sounds-*
systemctl
enable
freeswitch
Building from source
Stable
WARNING not suitable for production
FreeSWITCH™ can be built from source if you desire but it is not recommended.
yum
install
-y http:
//files
.freeswitch.org
/freeswitch-release-1-6
.noarch.rpm epel-release
yum
install
-y 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-devel libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel yasm-devel
cd
/usr/local/src
git clone -b v1.6 https:
//freeswitch
.org
/stash/scm/fs/freeswitch
.git
cd
/usr/local/src/freeswitch
.
/bootstrap
.sh -j
.
/configure
make
make
install
make
cd
-sounds-
install
make
cd
-moh-
install
Master
WARNING not suitable for production
FreeSWITCH™ can be built from source if you desire but it is not recommended.
yum
install
-y http:
//files
.freeswitch.org
/freeswitch-release-1-6
.noarch.rpm epel-release
yum
install
-y 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-devel libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel yasm-devel
cd
/usr/local/src
git clone https:
//freeswitch
.org
/stash/scm/fs/freeswitch
.git
cd
/usr/local/src/freeswitch
.
/bootstrap
.sh -j
.
/configure
make
make
install
make
cd
-sounds-
install
make
cd
-moh-
install
Building packages from source
Stable
FreeSWITCH™ can be built from source as a packages if you desire but it is not recommended as we host the package builds already (see above)
yum
install
-y http:
//files
.freeswitch.org
/freeswitch-release-1-6
.noarch.rpm epel-release
yum
install
-y 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-devel libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel yasm-devel
cd
/usr/local/src
git clone -b v1.6 https:
//freeswitch
.org
/stash/scm/fs/freeswitch
.git
cd
/usr/local/src/freeswitch
scripts
/ci/src_tarball
.sh; scripts
/ci/get_extra_sources
.sh;
mv
..
/src_dist/
* .
/src_dist/
; scripts
/ci/rpmbuilder
.sh 1.6.{matching revision}
Master
WARNING not suitable for production
FreeSWITCH™ can be built from source as a packages if you desire but it is not recommended as we host the package builds already (see above)
yum
install
-y http:
//files
.freeswitch.org
/freeswitch-release-1-6
.noarch.rpm epel-release
yum
install
-y 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-devel libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel yasm-devel
cd
/usr/local/src
git clone https:
//freeswitch
.org
/stash/scm/fs/freeswitch
.git
cd
/usr/local/src/freeswitch
scripts
/ci/src_tarball
.sh; scripts
/ci/get_extra_sources
.sh;
mv
..
/src_dist/
* .
/src_dist/
; scripts
/ci/rpmbuilder
.sh 1.7.0
- CentOS 7 and RHEL 7 安装FreeSWITCH 1.6
- CentOS/RHEL 7/6 安装最新Git
- Centos 7下编译FreeSWITCH 1.6
- RHEL 7 / CentOS 7 : Disable Firewalld and use iptables
- Install EPEL repo on CentOS 7 and RHEL 7
- freeswitch centos 安装
- freeswitch centos 安装
- CentOS 6.5 安装freeswitch
- CentOS 7 / RHEL 7 上安装 LAMP + phpMyAdmin
- CentOS 7 / RHEL 7 上安装 LAMP + phpMyAdmin
- CentOS 7 / RHEL 7 上安装 LAMP + phpMyAdmin
- RHEL/CentOS 7最小化安装后需做的30件事情
- RHEL/CentOS and Debian/Ubuntu上使用Nginx安装odoo9
- RHEL / CentOS 7 install MongoDB
- CentOS / RHEL 7 : Booting process
- rhel 安装Centos yum
- RHEL 7的安装
- RHEL 7 安装MariaDB
- TCP服务器端和客户端程序设计
- android缓存框架ASimpleCache源码分析
- 记录一些开源项目和一些需要的文章
- C++03、条件编译
- 233333333333
- CentOS 7 and RHEL 7 安装FreeSWITCH 1.6
- 第三方登录和分享
- UDP服务器端和客户端程序设计
- Keil MDK中的Code, RO-data , RW-data, ZI-data分别代表什么意思?
- opensips之do_action()分析
- extjs5(MVVM特性
- [leetcode] 232. Implement Queue using Stacks
- IntelliJ IDEA启动自动进入最后一个项目
- 哈夫曼树及二叉树