码迷,mamicode.com
首页 > 其他好文 > 详细

菜鸟学freeswitch(一)freeswitch安装

时间:2018-12-27 13:14:00      阅读:261      评论:0      收藏:0      [点我收藏+]

标签:libco   技术分享   asm   ima   postgre   图片   mkdir   1.4   git   

一 源码安装

1.1 linux安装依赖 centos7

yum install -y http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm epel-release
yum install -y git alsa-lib-devel autoconf automake bison broadvoice-devel bzip2 curl-devel db-devel e2fsprogs-devel flite-devel g722_1-devel gcc-c++ gdbm-devel gnutls-devel ilbc2-devel ldns-devel libcodec2-devel libcurl-devel libedit-devel libidn-devel libjpeg-devel libmemcached-devel libogg-devel libsilk-devel libsndfile-devel libtheora-devel libtiff-devel libtool libuuid-devel libvorbis-devel libxml2-devel lua-devel lzo-devel mongo-c-driver-devel ncurses-devel net-snmp-devel openssl-devel opus-devel pcre-devel perl perl-ExtUtils-Embed pkgconfig portaudio-devel postgresql-devel python26-devel python-devel soundtouch-devel speex-devel sqlite-devel unbound-devel unixODBC-devel wget which yasm zlib-devel

1.2 创建目录-克隆源码

 cd /usr/local/src
git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch

1.3 进入源码目录-编译运行

cd /usr/local/src/freeswitch
./bootstrap.sh -j
./configure
make
make -j install
cd /usr/local
mkdir freeswitch
cd freeswitch
mkdir sounds make
-j cd-sounds-install make -j cd-moh-install

1.4 安装快捷运行方式

ln -sf /usr/local/freeswitch/bin/freeswitch /usr/bin/ 
ln -sf /usr/local/freeswitch/bin/fs_cli /usr/bin/

 

1.5启动freeswitch

  在控制台输入 freeswitch 

技术分享图片

 

菜鸟学freeswitch(一)freeswitch安装

标签:libco   技术分享   asm   ima   postgre   图片   mkdir   1.4   git   

原文地址:https://www.cnblogs.com/pangyangqi/p/10184199.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!