If you’ve spent a lot of time reading posts like this and precisely copying necessary commands, We’ve got something for you. The authors of the latest version of FreePBX provide us a ready-to-use script for installing their solution.
First of all – you can install Debian by following the instructions in our post on this topic.
Table of Contents
1) FreePBX installation
The entire installation process is based on downloading a script from the GitHub repository prepared by the FreePBX developers.
sudo wget https://github.com/FreePBX/sng_freepbx_debian_install/raw/master/sng_freepbx_debian_install.sh -O /tmp/sng_freepbx_debian_install.sh
Make the script executable and run it.
sudo chmod +x /tmp/sng_freepbx_debian_install.sh
sudo /tmp/sng_freepbx_debian_install.sh
The installation will take about 30 minutes or longer, depending on internet speed and machine resources. It’s a good idea to open a parallel connection to your machine in another window and monitor the script’s progress in the log file.
sudo tail -f /var/log/pbx/freepbx17-install-.log
The script will first install the packages necessary for FreePBX, then configure the Sangoma Debian repository to download the packages required for FreePBX commercial modules. After that, it will proceed with the actual installation.
2) Installation options
The installation script can be run with the following options:
–dahdi
This option is used when installing FreePBX with DAHDI support, which is required for Sangoma cards. This option will also download the necessary wanpipe and DAHDI drivers.
–testing
This is useful when testing the “developer” or “testing” repository. We manage two Debian repositories: “production” and “developer/testing.” New or updated packages are first tested in the testing repository to ensure they do not cause any issues before being moved to the “production” repository.
–nofreepbx
This is a useful option if you do not want to install the FreePBX package and just want to create the initial FreePBX configuration.
–noasterisk
Use this option if you do not want to install the Asterisk package because you want to use your own Asterisk configuration.
–dahdi-only
This is used to install DAHDI support on a system that has already been installed and configured without DAHDI.
–skipversion
During installation, the script always checks if the version of the installation script on GitHub is newer than the currently running script version. If the GitHub version is newer, the script execution will stop. You can bypass this version check with this option, but it is not recommended.
3) Frequently Asked Questions
Question: Is FreePBX 17 supported exclusively on the Debian operating system?
Answer: Officially, the Debian operating system is the supported platform for FreePBX 17 / PBXact 17, and development and testing are fully focused on Debian.
Question: Can FreePBX 17 run on any Debian-based Linux distribution, such as Ubuntu?
Answer: Yes, it can run on other Debian-based distributions like Ubuntu, but Debian is used for development and testing purposes.
Question: How will updates to Linux operating system packages be handled?
Answer: For FreePBX 17, Sangoma maintains mirror updates for packages related to FreePBX dependencies, Asterisk, and commercial modules. Most other Linux operating system packages, such as Apache, Fail2ban, MariaDB, SSH, etc., are managed directly by the external Debian repository.
You can use the following commands to manually update the operating system:
apt update && apt upgrade -y
Question: What is the purpose of the freepbx17 package in Debian?
Answer: The “freepbx17” package is solely for the initial configuration of FreePBX on the Debian operating system. Removing or updating the freepbx17 package is not recommended or supported. To avoid accidental updates, this package is marked as “on-hold.” The same applies to the “sangoma-pbx17” package.
If you would like to monitor everything, that is happening on your PBX, try our proprietary VoiperoManager software.
Setup takes only a few minutes and the system is completely FREE.
Read, what our VoiperoManager system can do in terms of live monitoring and reporting of VoIP systems based on Asterisk.