The included script (install) and archive (install.tar.gz) will build
FreePBX 2.11, 12, or 13 plus Asterisk 11, 12, 13, or 14 on a Raspberry Pi.
iptables, dnsmasq, exim4, and pygooglevoice are also installed.
Installation takes a little over an hour to complete on a Raspberry Pi 3.
Download the latest Raspbian image.
For FreePBX 12 or 13, Debian Jessie Lite is recommended:
https://downloads.raspberrypi.org/raspbian_lite_latest
For FreePBX 2.11, Debian Wheezy is required:
https://downloads.raspberrypi.org/raspbian/images/raspbian-2015-05-07/2015-05-05-raspbian-wheezy.zip
Write the image to an 8 GB or larger SD card. To accomplish this, I recommend imageUSB:
http://osforensics.com/downloads/imageusb.zip
Connect the Raspberry Pi to your LAN using an Ethernet cable.
Insert the SD card and power up the Raspberry Pi.
Copy install and install.tar.gz to the /home/pi directory. To accomplish this, I recommend WinSCP:
https://winscp.net/eng/download.php
Using an SSH client, log in using pi:raspberry. To accomplish this, I recommend PuTTY:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Make the install script executable:
$ chmod +x install
Run the install script:
$ sudo ./install
When prompted:
Set root password
Select time zone (in US, use America, not US)
Select FreePBX version
Select Asterisk version
Answer Edge option (FreePBX 13 only)
Answer IPv6 option (No recommeded)
Review selections
Expand Filesystem (Item 1)
Boot Option (Item 3 / B1)
Advanced Options (Item 9 / A2 / Hostname: FreePBX)
Finish / Reboot Now: No
The Raspberry Pi will reboot.
Log in as root.
If desired, enable PuTTY logging when prompted.
The system will be updated and then reboot.
Log in as root.
If desired, enable PuTTY logging when prompted.
Confirm install.
Installation will proceed unattended and then reboot.
Log in a root.
Installation is complete.
Utility scripts included in /root:
abn / dbn / qbn
===============
Add / Delete / Query Blacklist Number
add-fcc-blacklist / del-fcc-blacklist
=====================================
Add / Delete FCC Blacklist
ipt-add / ipt-del / ipt-chk / ipt-dsp
=====================================
Add / Delete / Check / Display iptables Entries
cell-phone-presence-bt / cell-phone-presence-obi
================================================
Cell Phone Presence Detection
pbx-backup / pbx-restore
========================
Backup / Restore PBX Configuration
image-backup / image-shrink
===========================
Backup / Shrink an Image of the System SD Card
upgrade
=======
Upgrade / Update Linux
asterisk-13to14
===============
Upgrade Asterisk 13 to Asterisk 14
asterisk-upgrade
================
Upgrade Asterisk
set-timezone
============
Set System and PHP Time Zone
regen-ssh-keys
==============
Regenerate SSH Keys
clear-cache / clear-logs
========================
Clear Cache / Logs
↧