How to Install FusionPBX on Elementary OS Latest

Prerequisites

Steps

  1. Update the system:

    sudo apt update && sudo apt upgrade -y
    
  2. Install necessary dependencies:

    sudo apt install -y git wget curl sqlite3 ffmpeg libpq-dev libssl-dev lsof
    
  3. Clone the FusionPBX repository to your local machine:

    git clone https://github.com/fusionpbx/fusionpbx.git /usr/local/src/fusionpbx
    
  4. Navigate to the FusionPBX directory:

    cd /usr/local/src/fusionpbx
    
  5. Install FusionPBX:

    ./install.sh
    
  6. During the installation process, you will be asked a series of questions. Answer these as follows:

    • Install freeswitch for FusionPBX? Yes
    • Install PostgreSQL for FusionPBX? Yes
    • Install NGINX for FusionPBX? Yes
    • Install PHP for FusionPBX? Yes
    • Install nodejs for FusionPBX? Yes
    • Default domain name (use your own domain name or leave blank to use IP address): leave blank
    • Install SSL (https)? Yes
    • Install Let's Encrypt? Yes
    • Email domains: enter your email domain
    • Email address: enter your email address
    • Install PHP extensions? Yes
    • Install FusionPBX Database? Yes
    • Sync FusionPBX? Yes
    • Install systemd service file? Yes
    • Install scripts? Yes
    • Start service? Yes
  7. Once the installation is complete, start the FusionPBX service:

    systemctl start freeswitch
    systemctl start nginx
    systemctl start php7.2-fpm
    systemctl start postgresql
    systemctl start fusionpbx
    
  8. Check that the services are running:

    systemctl status freeswitch
    systemctl status nginx
    systemctl status php7.2-fpm
    systemctl status postgresql
    systemctl status fusionpbx
    
  9. Open a web browser and navigate to https://your-server-ip-address. Log in with the default credentials (username: admin, password: fusionpbx).

  10. Congratulations! You have successfully installed FusionPBX on Elementary OS Latest.

Conclusion

This tutorial has provided a step-by-step guide for installing FusionPBX on Elementary OS Latest. By following these simple instructions, you can easily set up a fully functioning PBX system on your server.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!