Debian Wheezy with PostgreSQL
THIS INSTALL IS FOR 64 BIT MACHINES
This is an easy install even for newbies. Stick to the numbered steps and everything should go just fine.
First you will download Debian wheezy and then burn an installation CD/DVD. Next you will download the fusionpbx install script and execute it. during this install you will select PostgreSQL for you database. After this you will run an update. Finally you will go to the FusionPBX Interface and complete the install by selecting the PostgreSQL database and entering a few UserIDs and Paswords.
Well, lets get started!
1 http://cdimage.debian.org/cdimage/wheezy_di_rc1/amd64/iso-cd/debian-wheezy-DI-rc1-amd64-CD-1.iso In step 1 you will download this ISO and burn it to a bootable CD or DVD to install the operating system. When you do this MINIMAL install, all of the defaults selections should be fine.
2 cd /usr/src
We need to download the install script to the proper directory. Miss this step and files could be setup in the wrong place causing an installation failure.
3 wget http://fusionpbx.googlecode.com/svn/branches/dev/scripts/install/ubuntu/install_fusionpbx.sh
This will download the install script to the correct directory.
4 chmod 755 install_fusionpbx.sh
This will give the install script the permissions it needs to properly install.
5 ./install_fusionpbx.sh install-both user
This is the install script and it will install Freeswitch, PostgreSQL, FusionPBx, and a few other things.
This is not an unattended install. You will need to hit enter to proceed past integrity checks at several milestones until you get to the Freeswitch portion at which point you will be advised of the probable compile and installation time. At this point you can run for coffee, a sandwhich, or the outhouse before returning to finish the installation
Be sure and enter "P" for PostgreSQL (without the quote marks) when it prompts you to choose a database.
6 cd /var/www/fusionpbx
7 php /var/www/fusionpbx/core/upgrade/upgrade.php
8 apt-get install php5-pgsql
9 From a web browser go to http://<Your_ip_address> This will take you to the FusionPBX install page to complete the installation. This page will only appear the first time you go to the user interface. To complete the installation do the following.
10 FIRST PAGE. From the drop-down select "PostgreSQL" Then enter the Username and password you wish to use to access the FusionPBX Web Interface. Select next to go to page 2
11 Page 2. Database Name = fusionpbx (all lower case) Database Root User = fusionpbx (all lower case) Database Password = The password you entered during the scripted install. It will take a minute or so to finish seting up.
That should do it. You should now be able to log in and start your FusionPBX configuration. Good Luck!