Posts Tagged FreePBXv3
Installing FreePBXv3 in Elastix-2.0 RC3
Yes it’s surprisingly easy, and yes you too can have it today!
This is still very much a work-in-progress, as we’re merging two unfinished products and I’ve not had enough of a chance to test it thoroughly either so I’m hoping for some response from the community on this one. I think this is quite possibly the first time that FreePBXv3 has been tied into a major distro, and I reckon it’d be cool to see Elastix-2.0 support FreePBXv3 officially.
I have however tested Ext’s registering happily, calling each other, so I know that FreePBXv3 is tied in correctly.
Anyway, I’ve tar’d up a slightly older version of FreePBXv3, as they’re undergoing some design changes right at the moment which mean that the current version doesn’t install. So, we’ll be using this.
Total installation should only take about 5 minutes, so this How-To will be nice and short!
So what you’re going to do is start by installing the latest Elastix-2.0 RC3. In my case I used i386.
Once it’s installed, ssh into the server and run:
cd /var/www/html wget http://c2s.co.nz/dumpfiles/freepbxv3.tar.bz2 tar xvjf freepbxv3.tar.bz2 cd freepbxv3 sh preinstall.sh
It’s 8.5MB, and this is the snapshot of FreePBXv3 that we’re going to be using.
I’ve already modified the preinstall.sh so it uses the user “asterisk” instead of “nobody”, keeping in line with how Elastix does things.
You’re going to then run the following commands to upgrade PHP:
yum install yum-priorities cd /etc/yum.repos.d/ wget http://dev.centos.org/centos/5/CentOS-Testing.repo yum --enablerepo=c5-testing install php /etc/init.d/httpd restart
We need PHP-5.2 because of one of the FreePBX dependencies (Kohana) and Elastix only comes with PHP-5.1