New appliance install

From FusionPBX
Revision as of 12:41, 19 July 2014 by Rneese (talk | contribs) (Install Script)
Jump to: navigation, search

Overview

This is an easy install even for newbies. Stick to the steps and everything should go just fine. With Debian netinstall as a base you will create your FusionPBX appliance.

  • Debian Wheezy netinstall
  • Attention OpenVZ users!!!
  • Download the script. Modify it, and run it
  • Create your super user on the webinterface
  • Restart your new FusionPBX appliance
  • Notes (experiences)

Well, lets get started!


Install Debian Wheezy

Download and install a minimal Debian wheezy

Get it here: http://www.debian.org/distrib/netinst Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux) All other packages will be added later.

Attention OpenVZ users!!!

echo "Those of you running this script on openvz. You must run it as root and "
echo "bash  Fusionpbx-Debian-Pkg-Install-New.sh or it fails the networking check."
echo "Please take the time to refer to this document if you have install issues on openvz"
echo "http://openvz.org/Virtual_Ethernet_device and make sure to setup a eth0 ."

On Proxmox VE that means you choose your vmbr0 as Network interface.


Install Script

Download the install script to your home directory. You will run the script only once.

cd ~
wget fusionpbx.googlecode.com/svn/branches/dev/scripts/install/Debian/Fusionpbx-Minimal-Install.sh
  • Read the full head:
  • Change your settings and choose your apps until you see:
#<------Stop Edit HERE--------->
vi Fusionpbx-Minimal-Option-Install-New.sh
  • Make the script executable
chmod u+x Fusionpbx-Minimal-Option-Install-New.sh

Run the install script as root or sudo -s

# ./Fusionpbx-Minimal-Option-Install-New.sh

in OpenVZ

# bash Fusionpbx-Minimal-Option-Install-New.sh

Lean back and enjoy!

The install script will install FreeSWITCH , FusionPBX, PostgreSQL/Sqlite, monit, fail2ban, and a few other things. Everything unattended.

Browser Install

Script finished and shows you something like this:

       Please open a web-browser to http://<xxx.xxx.x.xx>
       or the Doamin name asigned to the machine like http://"<myhostname>".
       On the First Configuration page of the web user interface "fusionpbx".
       Also Please fill in the SuperUser Name and Password fields.
       Freeswitch & FusionPBX Web User Interface Installation Completed
       Now you can configure FreeSWITCH using the FusionPBX web user interface
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
The install fusionpbx has finished...

From a web browser go to your mentioned url http://<my_ip_address>

  • Step 1. Create your own super admin user.
  • Step 2. Sqlite just click next. / Postgres? (can someone test it?)

Before you start configuring and setting everything up, make a reboot.

Reboot

Restarting your machine will help to restart all apps in FusionPBX and Linux daemons.

Moreover you see a nice PBX Administration Menu next time you log in!

System Uptime:  08:49:57 up 7 min,  1 user,  load average: 0.05, 0.02, 0.00
Your Current HostName/DomainName for the system is : myhostname
Your Current WAN/Primary Network Interface IP is : xxx.xxx.x.xx
To Access the web interface go to http://<my_ip_address>

   PBX Administration Menu:

----- Network Configuration -------
w) Configure Wide Area Network (WAN)
--------- Maintance ---------------
1) Set Root Password         2) Configure Timezone & Time
3) Web Service Options       4) Freeswitch CLI
5) Restart Freeswitch        6) Clear & Rotate logs
7) Backup PBX System         8) Restore From Backup
9) Factory Reset System      10) Drop to Shell
11) Disable/Enable nat       12) Enable/Disable SSH Root
    for FreeSwitch               with out ssh key
13) Add/remove SSH Keys for
    Root Access

--------Network Test Tools -------
p) Ping IP   t)Traceroute IP

---------Upgrade Options ----------
u) Upgrade

-------- Extra - Options -----------
pkgs) Install and enable extra fusionpbx apps/modues
rbt) Reboot System
pwr) Power Off System
x) Logout of terminal

Choice:

Set everything up as you need it.

Have fun with all the new features!


Notes

Alix alix6f2

  • You will need approx 1.4 GB for a minimal install
  • voyage is debian distro fo embedded platforms. http://linux.voyage.hk/