Archive:FreePBX Distribution: Difference between revisions
m Added statement about Asterisk 18 |
m Corrected and updated a few item, started upgrade to FreePBX 16 |
||
| Line 1: | Line 1: | ||
FreeBPX Distribution is a fully fledged VoIP server allowing complete customisation to your needs and works with most setups. It is an appliance, with a complete Linux setup and web manager to allow easy administration. | FreeBPX Distribution is a fully fledged VoIP server allowing complete customisation to your needs and works with most setups. It is an appliance, with a complete Linux setup and web manager to allow easy administration. | ||
We have implemented FreePBX | We have implemented FreePBX 16 and Asterisk 18. This is the latest version of Asterisk and is a LTS release so will be supported well into the future with fixes (slated to be supported until 2024). This is a complete distribution and so needs to be installed on its own machine. We will be setting this up on a separate virtual machine rather than the main server. | ||
We will be configuring this system to work with the Mitel 5330e IP Phone so some settings are specific to the 5330e/5340e models of this phone. We will also be using Twilio as a SIP trunk so some settings are specific for this. | We will be configuring this system to work with the Mitel 5330e IP Phone so some settings are specific to the 5330e/5340e models of this phone. We will also be using Twilio as a SIP trunk so some settings are specific for this. | ||
| Line 7: | Line 7: | ||
== Prerequisites == | == Prerequisites == | ||
* Download the latest FreePBX ISO image. This is currently FreePBX 15 available [https://downloads.freepbxdistro.org/ISO/SNG7- | * Download the latest FreePBX ISO image. This is currently FreePBX 15 available [https://downloads.freepbxdistro.org/ISO/SNG7-PBX-64bit-2104-1.iso here directly] or at [https://www.freepbx.org/downloads/ this website]. Please do not be phased as at the moment, we will be upgrading to FreePBX 16 once FreePBX 15 is installed. | ||
* This will need burning to a | * This will need burning to a DVD or writing to a USB stick. We use a USB stick and Rufus under windows to write it to a USB stick (use DD mode). This guide will cover the USB method but the CD method is very similar. | ||
== Booting the installation system == | == Booting the installation system == | ||
# Insert the USB stick into the computer. | # Insert the USB stick or DVD into the computer. | ||
# Power on the machine. | # Power on the machine. | ||
# Press the key to bring up the boot device menu. | # Press the key to bring up the boot device menu. | ||
# Select the USB stick that is inserted. | # Select the USB stick or DVD that is inserted if needed. | ||
# When the boot menu appears, select 'FreePBX 15 Advanced Installation'. | # When the boot menu appears, select 'FreePBX 15 Advanced Installation'. | ||
# Next, select 'Advanced Installation with Normal Video'. | # Next, select 'Advanced Installation with Normal Video'. | ||
| Line 62: | Line 62: | ||
# Under 'Partitioning', select 'I will configure partitioning'. | # Under 'Partitioning', select 'I will configure partitioning'. | ||
# Click 'Done'. | # Click 'Done'. | ||
# Under 'New mount | # Under 'New mount points will use the following partitioning scheme', change 'LVM' to 'Btrfs'. | ||
# If there are already any partitions on the disk, you will have to select each one and click '-' on each one until the disk is empty. | # If there are already any partitions on the disk, you will have to select each one and click '-' on each one until the disk is empty. | ||
# We want to use the whole drive. At the top of the list, click 'Click here to create them automatically'. This will automatically create the correct partitions using the whole drive. | # We want to use the whole drive. At the top of the list, click 'Click here to create them automatically'. This will automatically create the correct partitions using the whole drive. | ||
| Line 100: | Line 100: | ||
# Click 'Done'. | # Click 'Done'. | ||
This will be an internet facing machine so it is '''HIGHLY RECOMMENDED''' to type a password that fills the strength bar so that it says '''Strong'''. Use a combination of uppercase letters, lowercase letters, numbers and symbols and make the password as long as you can possibly remember. Do not use common words that may be in the dictionary or names. If you do, you will be warned with a yellow bar at the bottom and will be asked to click 'Done' again. It is '''HIGHLY RECOMMENDED''' to use a different password if you are warned of this as you will be at risk of attack. | This will be an internet facing machine, even more so if exposing SSH so it is '''HIGHLY RECOMMENDED''' to type a password that fills the strength bar so that it says '''Strong'''. Use a combination of uppercase letters, lowercase letters, numbers and symbols and make the password as long as you can possibly remember. Do not use common words that may be in the dictionary or names. If you do, you will be warned with a yellow bar at the bottom and will be asked to click 'Done' again. It is '''HIGHLY RECOMMENDED''' to use a different password if you are warned of this as you will be at risk of attack. | ||
=== Completing the installation === | === Completing the installation === | ||
| Line 113: | Line 113: | ||
# Type a username into the '''Username''' field. Avoid common usernames, such as admin and user as these are easily guessed if your server is attacked. | # Type a username into the '''Username''' field. Avoid common usernames, such as admin and user as these are easily guessed if your server is attacked. | ||
# Type a password into the '''Password''' and '''Confirm Password''' fields. Make sure this is strong, especially if you plan to make the admin pages web facing at latter date. | # Type a password into the '''Password''' and '''Confirm Password''' fields. Make sure this is strong, especially if you plan to make the admin pages web facing at latter date. | ||
# Type an e-mail address into the '''Notifications Email address''' field. This is used if there are any critical errors on the server to inform you. | # Type an e-mail address into the '''Notifications Email address''' field. This is used if there are any critical errors on the server and to inform you of automatic system updates. | ||
# You can change the '''System Identifier''' to something else if you like, this is especially handy if managing more than one FreePBX server. | # You can change the '''System Identifier''' to something else if you like, this is especially handy if managing more than one FreePBX server. | ||
# Choose your settings to enable automatic updates as you would like for your system. | # Choose your settings to enable automatic updates as you would like for your system. | ||
| Line 129: | Line 129: | ||
# Unless you want to set up the firewall, click 'Abort'. | # Unless you want to set up the firewall, click 'Abort'. | ||
# You may get a few adverts after this - click 'Not Now' to skip them. | # You may get a few adverts after this - click 'Not Now' to skip them. | ||
# Your system is now basically | # Your system is now basically set up - you will be presented with the dashboard. | ||
== Updating the server == | == Updating the server == | ||
| Line 142: | Line 142: | ||
# If there are updates offered, type <code>y</code> to accept the changes. The updates will then be downloaded and installed. Some packages take a long time to install and the system will look like it has hung. Be patient, they will eventually install. | # If there are updates offered, type <code>y</code> to accept the changes. The updates will then be downloaded and installed. Some packages take a long time to install and the system will look like it has hung. Be patient, they will eventually install. | ||
# It is recommended that once the update is finished, you reboot the machine so that the updates are applied. Type <code>reboot</code>. | # It is recommended that once the update is finished, you reboot the machine so that the updates are applied. Type <code>reboot</code>. | ||
=== Upgrading to FreePBX 16 === | |||
At the moment, FreePBX 16 is not available seperately so we need to upgrade to FreePBX 16 through FreePBX 15. | |||
=== Updating FreePBX modules === | === Updating FreePBX modules === | ||