CentOS 7 and RHEL 7 安装FreeSWITCH 1.6

原文地址:
     https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7#CentOS7andRHEL7-CentOS7andRHEL7-Stable

CentOS 7 and RHEL 7

Skip to end of metadata
Go to start of metadata

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.repo

[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

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值