Difference between revisions of "Debian Wheezy with PostgreSQL"

From FusionPBX
Jump to: navigation, search
(Debian Wheezy with PostgreSQL)
(Install Debian Wheezy)
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.
+
==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.
+
* 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.
+
* Next you will download the fusionpbx install script and execute it.  
After this you will run an update.
+
* During this install you will select PostgreSQL for you database.
Finally you will go to the FusionPBX Interface and complete the install by selecting the PostgreSQL database and entering a few UserIDs and Paswords.
+
* 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!
 
Well, lets get started!
  
1  http://cdimage.debian.org/cdimage/wheezy_di_rc1/amd64/iso-cd/debian-wheezy-DI-rc1-amd64-CD-1.iso
+
==Install Debian Wheezy==
  
In step 1 you will download this ISO and burn it to a bootable CD or DVD to install the operating system.
+
Debian Stable
When you do this MINIMAL install, all of the defaults selections should be fine.
 
  
 +
https://www.debian.org/CD/http-ftp/#stable
  
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.
+
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==
  
3 wget http://fusionpbx.googlecode.com/svn/branches/dev/scripts/install/ubuntu/install_fusionpbx.sh
+
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
  
This will download the install script to the correct directory.
+
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
  
4  chmod 755 install_fusionpbx.sh
+
Be sure and enter "P" for PostgreSQL (without the quote marks) when it prompts you to choose a database.
 
 
This will give the install script the permissions it needs to properly install.
 
  
 +
==PHP PDO Drivers==
 +
PostgreSQL and SQLite PHP PDO drivers.
  
./install_fusionpbx.sh install-both user
+
Open another SSH window and install PDO driver.
  
This is the install script and it will install Freeswitch, PostgreSQL, FusionPBx, and a few other things.
+
  apt-get install php5-pgsql php5-sqlite
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. 
 
  
 +
==Browser Install==
 +
From a web browser go to http://<Your_ip_address>'''
  
6 cd /var/www/fusionpbx
+
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.
 
 
  
7  php /var/www/fusionpbx/core/upgrade/upgrade.php
+
===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)
  
8  apt-get install php5-pgsql
+
* Database Root User = fusionpbx (all lower case)
  
9 From a web browser go to http://<Your_ip_address>
+
* Database Password = The password you entered during the scripted install.
 +
   
 +
* Leave the last 2 fields empty.
  
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.
+
It will take a minute or so to finish setting up.
  
10  FIRST PAGE.
+
==Optional==
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
+
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.
  
11 Page 2. 
+
  cd /var/www/fusionpbx
Database Name = fusionpbx (all lower case)
+
php /var/www/fusionpbx/core/upgrade/upgrade.php
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!
 
That should do it. You should now be able to log in and start your FusionPBX configuration.  Good Luck!

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!