CentOS 7 and RHEL 7 安裝FreeSWITCH 1.6
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
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
|