Skip to content

Instantly share code, notes, and snippets.

@zhacker98
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhacker98/9643809 to your computer and use it in GitHub Desktop.
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)
#!/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
@zhacker98
Copy link
Author

GIT repo changed from git://git.freeswitch.org/freeswitch.git to https://stash.freeswitch.org/scm/fs/freeswitch.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment