Last active
August 29, 2015 13:57
-
-
Save zhacker98/9643809 to your computer and use it in GitHub Desktop.
Debian FreeSWITCH Installer from GIT Version 1.2 Stable (Created on Debian 7.0 x64 , but should work on all Debian Variants)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Created for Debian 7.0 x64 (Wheezy) but should work on any Debian Variant | |
blue='\e[0;34m' | |
NC='\e[0m' # No Color | |
echo -e "${blue}Installing Prerequisites Required for the installer to complete${NC}" | |
apt-get install -y autoconf automake devscripts gawk g++ git-core libjpeg-dev libncurses5-dev libtool make python-dev pkg-config libtiff5-dev libperl-dev libgdbm-dev libdb-dev sudo gcc flex bison libmysqlclient-dev libssl1.0.0 libcurl3 libxml2 libpcre3 gettext && \ | |
cd /usr/local/src/ && \ | |
echo -e "${blue}Cloning FreeSWITCH v1.2 Stable from GIT${NC}" | |
git clone https://stash.freeswitch.org/scm/fs/freeswitch.git && cd /usr/local/src/freeswitch/ && git checkout v1.2.stable && \ | |
echo -e "${blue}Compiling FreeSWITCH from Source${NC}" | |
cd /usr/local/src/freeswitch/ && ./bootstrap.sh && ./configure && make && make install && make all cd-sounds-install cd-moh && \ | |
echo -e "${blue}All Done, Now Go Make It Happen${NC}" | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GIT repo changed from git://git.freeswitch.org/freeswitch.git to https://stash.freeswitch.org/scm/fs/freeswitch.git