Difference between revisions of "Debian Wheezy with PostgreSQL"

From FusionPBX
Jump to: navigation, search
(Step 1)
(Install Debian Wheezy)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
== '''THIS INSTALL IS FOR 64 BIT MACHINES''' ==
+
==Overview==
 +
This is an easy install even for newbies.  Stick to the steps and everything should go just fine.
  
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.  
First you will download Debian wheezy and then burn an installation CD/DVD.
+
* During this install you will select PostgreSQL for you database.
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.
After this you will run an update.
+
* Finally you will go to the FusionPBX web interface and complete the install by selecting the PostgreSQL database and entering a few UserIDs and Paswords.
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!
 
Well, lets get started!
  
 
==Install Debian Wheezy==
 
==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.
+
Debian Stable
 +
 
 +
https://www.debian.org/CD/http-ftp/#stable
 +
 
 +
 
 +
In step 1 download the ISO and burn it to a CD or DVD to install the operating system.
 
When you do this MINIMAL install, all of the defaults selections should be fine.
 
When you do this MINIMAL install, all of the defaults selections should be fine.
  
Line 34: Line 38:
 
==PHP PDO Drivers==
 
==PHP PDO Drivers==
 
PostgreSQL and SQLite PHP PDO drivers.
 
PostgreSQL and SQLite PHP PDO drivers.
 +
 +
Open another SSH window and install PDO driver.
  
 
  apt-get install php5-pgsql php5-sqlite
 
  apt-get install php5-pgsql php5-sqlite
 +
  
 
==Browser Install==
 
==Browser Install==
Line 41: Line 48:
  
 
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.
 
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===
 
===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
+
* 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===
 
===Step 2===
 
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.

Latest revision as of 18:28, 19 March 2014

Overview

This is an easy install even for newbies. Stick to the 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 web interface and complete the install by selecting the PostgreSQL database and entering a few UserIDs and Paswords.

Well, lets get started!

Install Debian Wheezy

Debian Stable

https://www.debian.org/CD/http-ftp/#stable


In step 1 download the ISO and burn it to a 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.

Open another SSH window and install PDO driver.

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!