Installing FreePBX 2.11 on Ubuntu 12.04 Server (Precise Pangolin)

Install Ubuntu 12.04 Server LTS 32 or 64-bit

Commercial Modules

Commercial modules and add-ons are not currently supported on the Ubuntu platform. Commercial Modules can be purchased in the FreePBX Distro Market Place and are only supported on the FreePBX Distro platform.

 

Initial System Setup

Configure your root password.

sudo passwd root

Switch to the Root User

sudo -i

Update Your System

apt-get update && sudo apt-get upgrade -y 

Install Required Dependencies

Install PearDB

You may receive a warning:

WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"

At this time it is safe to ignore that message

Reboot server

Install Dependencies for Google Voice

Install iksemel

Install and Configure Asterisk

Download Asterisk source files.

Compile and install DAHDI.

Compile and install LIBPRI.

Compile and install Asterisk

Install Asterisk-Extra-Sounds

Install and Configure FreePBX

Download and extract FreePBX.

Now create the Asterisk user and set ownership permissions.

A few small modifications to Apache.

Configure Asterisk database in MYSQL. 

Set permissions on MYSQL database.

Restart Asterisk and install FreePBX.

** If “. /install_amp” fails to run correctly, in terminal type:

./install_amp --username=asteriskuser --password=$ASTERISK_DB_PW --webroot /var/www

Finally, one last mod and start FreePBX.

Start FreePBX

Navigate: 

http://yourlocalipaddress/html or if you prefer http://localhost/admin

Return to Documentation Home I Return to Sangoma Support