FreeSWITCH Installation
#############################################
# FreeSWITCH Installation #
#############################################
# Install GIT and dependencies
cd /usr/src
yum -y install gcc-c++ gettext-devel expat-devel curl-devel zlib-devel openssl-devel bzip2
yum -y install autoconf automake libtool gcc-c++ ncurses-devel make expat-devel zlib zlib-devel libjpeg-devel
# GIT Install
wget http://git-core.googlecode.com/files/git-1.7.9.5.tar.gz && tar xzvf git-1.7.9.5.tar.gz && cd git-1.7.9.5 && make prefix=/usr/local all && make prefix=/usr/local install
cd ..
# Download Git trunk
git clone git://git.freeswitch.org/freeswitch.git freeswitch-git
cd freeswitch-git
./bootstrap.sh
vim modules.conf // enable xml_curl and disable uncessary modules
./configure
make
make install
make sounds-install
make moh-install
make samples
vim /usr/local/freeswitch/conf/autoload_configs/modules.conf //again enable/disable necessary modules
cd /usr/local/freeswitch/bin/
./freeswitch -nonat
## iSWITCH performance & Optimization ##
mv db/ db_old
mkdir db
mount -t tmpfs tmpfs /usr/local/freeswitch/db
df -h
# to remove ramdisk
umount -lt tmpfs /usr/local/freeswitch/db
#increase ulimits
ulimit -c unlimited;
ulimit -d unlimited;
ulimit -f unlimited;
ulimit -i unlimited;
ulimit -n 999999;
ulimit -q unlimited;
ulimit -u unlimited;
ulimit -v unlimited;
ulimit -x unlimited;
ulimit -s 244;
ulimit -l unlimited;
ulimit -a;
# Freeswitch troubleshooting
#to stop freeswitch
... (three dots on freeswitch console)
#to start freeswitch
cd /usr/local/freeswitch/bin
./freeswitch -nonat
#############################################
# FreeSWITCH Installation #
#############################################
# Install GIT and dependencies
cd /usr/src
yum -y install gcc-c++ gettext-devel expat-devel curl-devel zlib-devel openssl-devel bzip2
yum -y install autoconf automake libtool gcc-c++ ncurses-devel make expat-devel zlib zlib-devel libjpeg-devel
# GIT Install
wget http://git-core.googlecode.com/files/git-1.7.9.5.tar.gz && tar xzvf git-1.7.9.5.tar.gz && cd git-1.7.9.5 && make prefix=/usr/local all && make prefix=/usr/local install
cd ..
# Download Git trunk
git clone git://git.freeswitch.org/freeswitch.git freeswitch-git
cd freeswitch-git
./bootstrap.sh
vim modules.conf // enable xml_curl and disable uncessary modules
./configure
make
make install
make sounds-install
make moh-install
make samples
vim /usr/local/freeswitch/conf/autoload_configs/modules.conf //again enable/disable necessary modules
cd /usr/local/freeswitch/bin/
./freeswitch -nonat
## iSWITCH performance & Optimization ##
mv db/ db_old
mkdir db
mount -t tmpfs tmpfs /usr/local/freeswitch/db
df -h
# to remove ramdisk
umount -lt tmpfs /usr/local/freeswitch/db
#increase ulimits
ulimit -c unlimited;
ulimit -d unlimited;
ulimit -f unlimited;
ulimit -i unlimited;
ulimit -n 999999;
ulimit -q unlimited;
ulimit -u unlimited;
ulimit -v unlimited;
ulimit -x unlimited;
ulimit -s 244;
ulimit -l unlimited;
ulimit -a;
# Freeswitch troubleshooting
#to stop freeswitch
... (three dots on freeswitch console)
#to start freeswitch
cd /usr/local/freeswitch/bin
./freeswitch -nonat
No comments:
Post a Comment