Open Source Training Seminar FreePBX Paid Support

Installing freePBX on Ubuntu Server (Feisty)

Install feisty as usual, add the following repositories to /etc/apt/sources.list:

deb http://archive.canonical.com/ubuntu feisty-commercial main
deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu feisty-updates universe multiverse
deb http://archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu feisty universe multiverse

note/TODO: not sure which of the above are specifically needed, but asterisk is provided in this somewhere

Install required modules:

sudo apt-get install asterisk-classic php5-cli php-db php5-mysql mysql5-server libapache2-mod-php5

You may need to set up apache appropriately, at the least be sure php5 is enabled:

sudo a2enmod php5

Start installation of freepbx: (this has been tested with 2.3beta1)

cd /usr/src/freepbx
sudo ./install_amp

Here are some of the relevant settings I changed to work with ubuntu's asterisk and apache packages:

AMPBIN=/var/lib/asterisk/bin
ASTAGIDIR=/usr/share/asterisk/agi-bin
AMPWEBROOT=/var/www/freepbx
FOPWEBROOT=/var/www/freepbx/panel

Make sure apache can access freepbx files (it changes ownership to the asterisk user/group, this puts apache in the asterisk group) and reload apache:

sudo adduser www-data asterisk
sudo apache2ctl graceful

Other References

See also: http://blog.thegoldfish.net/asterisk-with-freepbx-on-ubuntu-704-desktop-tutorial/

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads