I compiled this manual from several official Freeswitch documentation pages, which is great place to start, but all of them are missing full steps - for example latest one at this time is missing post installation steps, but it is covered in older documentation, what is fine, but sometimes is hard to find, so I believe it will be nice to have all of this info just in one page. :)
1) We will need to install dependencies:
2) Getting source from git:
3) Now we need to install Freeswitch:
4) We will download sound-files:
5) Add user and change user owner of necessary folders:
6) We need to create symbolic link for freeswitch binary file, create missing folders, change rights and etc:
7) Now we need to copy default file and init file and update access rights:
8) Following step is not mandatory, but it is much easier when you can just run fs_cli from shell, otherwise you will need to run /usr/local/freeswitch/bin/fs_cli or to add freeswitch bin directory to $PATH.
9) Now you need to update /etc/init.d/freeswitch accordingly(lines 23-27):
10) Now we need to make sure that freeswitch starts automatically after reboot:
11) You can start freeswitch:
12) On this point you have up and running freeswitch, please do not forget to change default password for default extensions in /usr/local/freeswitch/conf/vars.xml