Difference between revisions of "Debian Wheezy with PostgreSQL"

From FusionPBX
Jump to: navigation, search
(Step 1)
(Step 2)
Line 51: Line 51:
 
Enter the following:
 
Enter the following:
 
   
 
   
'''Database Name = fusionpbx (all lower case)'''
+
* Database Name = fusionpbx (all lower case)
  
'''Database Root User = fusionpbx (all lower case)'''
+
* Database Root User = fusionpbx (all lower case)
  
'''Database Password = The password you entered''' during the scripted install.  
+
* Database Password = The password you entered during the scripted install.
Leave the last 2 fields empty.
+
 +
* Leave the last 2 fields empty.
  
 
It will take a minute or so to finish setting up.
 
It will take a minute or so to finish setting up.

Revision as of 07:39, 19 April 2013

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!

Install Debian Wheezy

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.

Install Script

Download the install script to the /usr/src directory and make it executable.

cd /usr/src 
wget http://fusionpbx.googlecode.com/svn/branches/dev/scripts/install/ubuntu/install_fusionpbx.sh
chmod 755 install_fusionpbx.sh

Run the install script

./install_fusionpbx.sh install-both user

The install script 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 sandwich, 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.

PHP PDO Drivers

PostgreSQL and SQLite PHP PDO drivers.

apt-get install php5-pgsql php5-sqlite

Browser Install

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.


Step 1

  • 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

Step 2

Enter the following:

  • Database Name = fusionpbx (all lower case)
  • Database Root User = fusionpbx (all lower case)
  • Database Password = The password you entered during the scripted install.
  • Leave the last 2 fields empty.

It will take a minute or so to finish setting up.

Optional

This is an optional step and is needed only if the web server timed out during the install. It can be run simply to ensure everything is installed correctly.

cd /var/www/fusionpbx
php /var/www/fusionpbx/core/upgrade/upgrade.php

That should do it. You should now be able to log in and start your FusionPBX configuration. Good Luck!