[Freeswitch-users] Re- FreeSWITCH version 1.6.5 installation instructions on CentOS 6.7

Andrew Keil andrew.keil at visytel.com
Mon Nov 23 05:56:16 MSK 2015


To FreeSWITCH Users,

Here are my instructions to install FreeSWITCH 1.6.5 on CentOS 6.7.

Please note: Currently mod_fsv and mod_vpx (both are relating to FreeSWITCH video features) are not supported inside these instructions, however if you are wanting to move off 1.4.x (since this is going end-of-life in 2016 at some stage) then this could at least be a very good first step, especially if upgrading to Centos 7 is not possible based on your current environment setup.

This is based on a fresh installation of CentOS 6.7 (CentOS-6.7-x86_64-bin-DVD1.iso).  In my case I ran a default setup selecting Software Development Workstation.

1) Make sure yum update is run and CentOS is up-to-date

2) {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 effect.

3) yum -y install epel-release

4) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel libcurl-devel libxml2-devel libidn-devel
4.1) These should be already installed and up-to-date

5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel libuuid-devel lua-devel libsndfile-devel
5.1) These should install successfully

6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will not be supported)

7) cd /usr/local/src

8) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git

9) cd /usr/local/src/freeswitch

10) ./bootstrap.sh

11) vi modules.conf
11.1) comment out (ie. place '#' infront):
mod_fsv
mod_vpx
Save and close (<Esc> :wq!)

12) ./configure

13) make

14) make install

15) make cd-sounds-install

16) make cd-moh-install

17) cd /usr/local/freeswitch/conf

18) vi vars.xml
18.1) 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/autoload_configs

20) vi modules.conf.xml
20.1) comment out (ie. place '<!--' infront and '-->' at the end):
mod_fsv
mod_vpx
Save and close (<Esc> :wq!)

21) cd /usr/local/freeswitch/bin

22) ./freeswitch -nonat -nonatmap

23) ... to exit from the FreeSWITCH console

Version: FreeSWITCH Version 1.6.5+git~20151120T205750Z~70b8c17763~64bit (git 70b8c17 2015-11-20 20:57:50Z 64bit)

Kind Regards,

Andrew Keil
Visytel Pty Ltd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151123/f0cac500/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list