New appliance install

From FusionPBX
Revision as of 12:51, 19 July 2014 by Rneese (talk | contribs) (Reboot)
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 or nano Fusionpbx-Minimal-Install.sh
  • Make the script executable
chmod u+x Fusionpbx-Minimal-Install.sh

Run the install script as root or sudo -s

# ./Fusionpbx-Minimal-Install.sh

in OpenVZ

# bash Fusionpbx-Minimal-Install.sh

Lean back and enjoy!

The install script will install FreeSWITCH , FusionPBX, Sqlite(Default)/Postgersql(Optional), 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...

Reboot

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

First Run Menu

System Uptime: 07:49:11 up 1:04, 2 users, load average: 0.24, 0.26, 0.31 HostName/DomainName: pbx WAN IP: 10.0.0.200

PBX Administration Setup Menu:


Network Configuration -------
wan) Configure Wide Area Network (WAN) 

Setup Menu---------------

1) Set Root Password 2) Configure Timezone & Time 3) install Optional Fusion Pkgs 4) Disable/Enable nat Freeswitch 5) Enable/Disable SSH Root 6) Add/remove SSH Keys for

  with out ssh key Root Access

Network Test Tools -------
pt) Ping IP   tr)Traceroute IP

VPN Configuration -------

vpn) Configure OpenVPN Connections


upgrd) Upgrade pkgs rbt) Reboot System pwr) Power Off System x) Logout

Choice:

Use pkgs option to add in extra functions to the gui before setting it up. This is so they are setup when you login and setup the gui for the first time. This option is also available from the admin menu.

Admin Menu

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/