Ubuntu 10.10
From FusionPBX
Contents
Support
For basic support on this install Contact: witchdoc on server: irc.freenode.net channel: #fusionpbx #freeswitch-de
Download Ubuntu 10.04 LTS Server (lucid)
http://www.ubuntu.com/server/get-ubuntu/download and install.
Update you package src list
Ubuntu Server 10.04 tls add the fallowing lines to /etc/apt/sources.list file.
deb http://ppa.launchpad.net/freeswitch-drivers/freeswitch-nightly-drivers/ubuntu lucid main deb-src http://ppa.launchpad.net/freeswitch-drivers/freeswitch-nightly-drivers/ubuntu lucid mainte
update you system
apt-get update && apt-get upgrade
list freeswitch pkgs
apt-cache search freeswitch
Install Freeswitch pkgs
apt-get install (freeswitch pkgs from the list)
Fusionpbx
Dependencies Subversion
apt-get install subversion
PHP >= 5.3.3
apt-get install php5.3
Install the backend of your choice
sqlite
apt-get install sqlite3 php5-sqlite
mysql
apt-get install mysql-server php5-mysql
postgresql
apt-get install php5-pgsql postgresql-8.4
NginX Deps
Dependencies
apt-get install nginx php5-fpm
Nginx Setup
edit nginx.conf
Replace :
location / { root /var/www/nginx; index index.html index.htm; }
Witch:
location / { root /usr/local/www/fusionpbx; index index.php index.html index.htm; }
Replace :
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html; # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; # include fastcgi_params; #}
with:
pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /var/www/fusionpbx$fastcgi_script_name; include fastcgi_params; }
Apache Setup
Apache
apt-get install apache2
Lighttpd Setup
PgSQL Setup
TO set and configure PgSQL for use with FusionPBX, Follow this line for line.
su pgsql createuser -s -e FusionPBX createdb -O FusionPBX FusionPBX psql -d FusionPBX -U FusionPBX ALTER USER FusionPBX with PASSWORD 'pbx2010'; or any passwd you want exit from su back to root
Mysql Setup
FusionPBX Setup
- Load fusionpbx in the browser choose Postgres for the database.
- Then press next put in the user account and password from that was created from the previous command.
- Make sure 'Create database User and 'Create Database Password' are empty and then submit the form.
- Login with 'superadmin' and 'fusionpbx'