New Debian Deb Package install

From FusionPBX
Revision as of 20:13, 28 October 2014 by Rneese (talk | contribs) (Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui)
Jump to: navigation, search

Install Debian Wheezy with iso

Download and install a minimal Debian wheezy

Get iso's here:

Offline Install Iso:

i386: http://cdimage.debian.org/debian-cd/7.7.0/i386/iso-cd/debian-7.7.0-i386-CD-1.iso

amd64: http://cdimage.debian.org/debian-cd/7.7.0/amd64/iso-cd/debian-7.7.0-amd64-CD-1.iso


Net Install iso:

net-x86: http://cdimage.debian.org/debian-cd/7.6.0/i386/iso-cd/debian-7.6.0-i386-netinst.iso

net-amd64: http://cdimage.debian.org/debian-cd/7.6.0/amd64/iso-cd/debian-7.6.0-amd64-netinst.iso


Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)

All other packages will be added later.

Get New Install Script

This script is in testing phase: (Uses head/Devel based pkgs currently)

http://fusionpbx.googlecode.com/svn/branches/dev/scripts/install/Debian/Fusionpbx-Debian-Package-Install.sh

Steps for install

Step 1 : Install a minimal version of debian. (Including ssh server)

step 2 : ssh into the system.. then wget http://fusionpbx.googlecode.com/svn/branches/dev/scripts/install/Debian/Fusionpbx-Debian-Package-Install.sh

step 3 : chmod +x Fusionpbx-Debian-Package-Install.sh

step 4 : nano / vi the Fusionpbx-Debian-Package-Install.sh script and select the extra options you want

In this script section change the n to y to enable or the y to n to disable the option.

#<------Start Edit HERE--------->
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)
keep_logs=5

#Set what language lang/say pkgs and language sound files to use.
#en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong 
use_lang="en-us"

#Install / Use freeswitch default music on hold
use_default_music="n" 

#Set a Nginx of Apache y=Nginx n=Apache (Under Development)
#use_nginx="y"

#----Optional Fusionpbx Apps/Modules----

adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access
backup="n" # : pbx backup module. backup sqlite db / configs/ logs
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.
conference_centers="n" # : tools for multi room confrences and room contol
conference="n" # : tools for single room confrences and room contol
content="n" # : Advanced-Content Manager
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files
exec="n" # : comman shells pages for executing (php/shells) commands
fax="n" # : fusionpbx send/recieve faxes service
fifo="n" # : first in first out call queues system
hot_desk="n" # : allows users to login and recieve calls on any office phone
schemas="n" # :
services="n" # : allows interaction with the processes running on your server
sipml5="n" # : php base softphone
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX
traffic_graph="n" # : php graph for monitoing the network interface traffic
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers
aastra="n" # : phone provisioning tool &  templates for aastra phones
atcom="n" # : phone provisioning tool &  templates for atcom phones
cisco="n" # : phone provisioning tool & templates for cisco phones
grandstream="n" # : phone provisioning tool & templates for grandstream phones
linksys="n" # : phone provisioning tool & templates for linksys phones
panasonic="n" # : phone provisioning tool & templates for panasonic phones
polycom="n" # : phone provisioning tool & templates for polycom phones
snom="n" # : provisioning tool & templates for snom phones
yealink="n" # : phone provisioning tool & templates for yealink phones
verto="n" # (x86/amd64 Only) (future option on arm)
accessible_theme="n" # : accessible theme for fusionpbx
classic_theme="n" # : classic theme for fusionpbx
default_theme="n" # : default theme for fusionpbx
minimized_theme="n" # : minimal theme for fusionpbx
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps 

#------Postgresql start-------
#Optional (Not Required)
# Please Select Server or Client not both.
# Used for connecting to remote postgresql database servers
# Install postgresql Client 9.3 for connection to remote postgresql servers (y/n)
postgresql_client="n" 

# Install postgresql server 9.3 (y/n) (client included)(Local Machine)
# Notice:
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance
# life in half due to all the needed reads and writes. This cuts the life of
# your pbx emmc/sd in half.
postgresql_server="n"

# Set Postgresql Server Admin username ( Lower case only )
pgsql_admin=

# Set Postgresql Server Admin password
pgsql_admin_passwd=

# Set Database Name used for fusionpbx in the postgresql server
# (Default: fusionpbx)
db_name=fusionpbx

# Set FusionPBX database admin name.(used by fusionpbx to access
# the database table in the postgresql server.
# (Default: fusionpbx)
db_user_name=fusionpbx

# Set FusionPBX database admin password .(used by fusionpbx to access
# the database table in the postgresql server).
# Please set a very secure passwd
db_user_passwd=

#-------Postgresql-End--------------
# disbale generation of xml_cdr files and only store in cdr in the database
xml_cdr_files="n"

# disable  extra logging and on show warnings/errors. shrinks the size of 
# logfiles and whats displayed in the logging page
logging_level="n"

#Extra Option's
#Install openvpn scripts
install_openvpn="n"

#Install Ajenti Optional Admin Portal
install_ajenti="n"

#<------Stop Edit Here-------->

Step 5: save file

step 6 : ./Fusionpbx-Debian-Package-Install.sh

About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...

Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.

Happy PBX'ing......


Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui

Adminer:

apt-get -y --force-yes install fusionpbx-app-adminer

Backup:

apt-get -y --force-yes install fusionpbx-app-backup

Call Broadcast:

apt-get -y --force-yes install fusionpbx-app-call-broadcast

Call Center:

apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active

Call Flows

apt-get -y --force-yes install fusionpbx-app-call-flows

Conference Center:

apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings

Conferences: (old Conferences Tool)

apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings 

Content Editor:

apt-get -y --force-yes install fusionpbx-app-content

Editing Tools pages:

apt-get -y --force-yes install fusionpbx-app-edit

Execution tools Page:

apt-get -y --force-yes install fusionpbx-app-exec

Faxing application:

apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax

Fifo: (First In First Out Queues)

apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list

Hot Desking:

apt-get -y --force-yes install fusionpbx-app-hot-desking

Shemas: (Database Schemas tools)

apt-get -y --force-yes install fusionpbx-app-schemas

Services: (Optional Services page)

apt-get -y --force-yes install fusionpbx-app-services

RTPM: (Html5 Sip Soft Phone)

apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp

SQL Query:

apt-get -y --force-yes install fusionpbx-app-sql-query

Traffic Graph:

apt-get -y --force-yes install fusionpbx-app-traffic-graph

Xmpp: Xmpp interface / Mod Dingaling Interface Page

apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp;

Aastra: (aastra phone teplates + provisioning pages/tools)

apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra  && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/

Atcom: (atcom phone teplates + provisioning pages/tools)

apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom  && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/

Cisco: (cisco phone teplates + provisioning pages/tools)

apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/

Grandstream: (grandstream phone teplates + provisioning pages/tools)

apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/

Linksys: (aastr phone teplates + provisioning pages/tools)

apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys  && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/

Panasonic: (aastr phone teplates + provisioning pages/tools)

apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic  && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/

Polycom: (aastr phone teplates + provisioning pages/tools)

apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/

Snom: (aastr phone teplates + provisioning pages/tools)

apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/

Yealink: (aastr phone teplates + provisioning pages/tools)

apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && mkdir -p /etc/fusionpbx/resources/templates/provision && cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/

Verto:

apt-get -y --force-yes install freeswitch-mod-verto

Accessible Gui Interface Theme:

apt-get -y --force-yes install freeswitch-theme-accessible

Classic Gui Interface Theme:

apt-get -y --force-yes install freeswitch-theme-classic

Default Gui Interface Theme:

apt-get -y --force-yes install freeswitch-theme-default

Minimized Gui Interface Theme:

apt-get -y --force-yes install freeswitch-theme-minimized

All extra modules/Apps

apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference \
fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list \
fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices \
fusionpbx-app-provision fusionpbx-provisioning-template-aastra fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible \
fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto

Copy all installed phone templates into place :

cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/