[Freeswitch-users] Freeswitch Installation

Lloyd Aloysius lloyd.aloysius at gmail.com
Mon Feb 25 17:47:52 MSK 2013


For Auto start at boot

cp /usr/src/freeswitch.git/build/freeswitch.init.redhat
/etc/init.d/freeswitch

Edit /etc/init.d/freeswitch like below

PROG_NAME=freeswitch
PID_FILE=${PID_FILE-/usr/local/freeswitch/log/freeswitch.pid}
FS_USER=${FS_USER-freeswitch}
FS_FILE=${FS_FILE-/usr/local/freeswitch/bin/freeswitch}
FS_HOME=${FS_HOME-/usr/local/freeswitch}
LOCK_FILE=/var/lock/subsys/freeswitch
FREESWITCH_ARGS="-nc"
RETVAL=0

chmod 755 /etc/init.d/freeswitch

chkconfig --add freeswitch

chkconfig --level 2345 freeswitch on

*
*


On Mon, Feb 25, 2013 at 9:45 AM, Lloyd Aloysius <lloyd.aloysius at gmail.com>wrote:

> here is how I install
>
> 1. Install CentOS 6.3 basic
>
> 2. Disable SELinux - /etc/selinux/config
>
> SELINUX=disabled
>
> 3. Some of the following not necessary
>
> yum -y groupinstall base
> yum -y install perl
> yum -y install crontabs
> yum -y install sudo
> yum -y install wget
> yum -y install vim-enhanced
> yum -y install emacs
> yum -y install git
> yum -y install bind-utils
> yum -y install sendmail sendmail-cf system-switch-mail mailx
> yum -y install rsync
> chkconfig sendmail on
> chkconfig crond on
>
>
> 4.FreeSWITCH Required Packages
>
> yum install autoconf automake gcc-c++ git-core libjpeg-devel libtool make
> ncurses-devel unixODBC-devel openssl-devel gnutls-devel libogg-devel
> libvorbis-devel curl-devel libtiff-devel libjpeg-devel python-devel
> expat-devel zlib zlib-devel bzip2 which patch
>
>
> 5.cd /usr/src
>
> git clone git://git.freeswitch.org/freeswitch.git
>
> cd freeswitch/
>
> ./bootstrap.sh
>
> ./configure
>
> make
>
> make install
>
> make cd-sounds-install
>
> make cd-moh-install
>
> adduser freeswitch
>
> chown -R freeswitch:freeswitch /usr/local/freeswitch
>
> Lloyd
>
>
> On Mon, Feb 25, 2013 at 4:49 AM, Venkateshwaran Thirugnanam <
> venkateshwaran54 at gmail.com> wrote:
>
>> Hi All,
>>    1.I need to install freeswitch on centos 6.3 please guild me with
>> procedure..I can't find a procedure on internet...I need to install with
>> Autoboot freeswitch from startup...
>>    2.Why we need to install epel for Centos 6?whether its mandatory or
>> optional?
>> Guild me
>>
>> Regards,
>> Kumaran T
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130225/54a1a8b0/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list