How to Install FreePBX on OpenSUSE Latest

FreePBX is an open-source IP PBX (internet protocol private branch exchange) software that allows you to create a phone system with features such as call routing, call forwarding, voicemail, and more. In this tutorial, we will guide you through the installation process of FreePBX on OpenSUSE Latest.

Prerequisites

Before we begin, it is essential to ensure that your OpenSUSE system meets the following requirements:

Installation Process

  1. Open the terminal on your OpenSUSE system and verify that the system is up to date by running the command:
sudo zypper update
  1. Add the FreePBX repository by running the command:
sudo zypper addrepo -f http://packages.freepbx.org/release/FreePBX-15/openSUSE_Leap_15/
  1. Import the repository key by running the command:
wget -q0 - http://packages.schmoozecom.net/schmooze-commercial-GPG-KEY | sudo apt-key add -
  1. Update the system's package index by running the command:
sudo zypper refresh
  1. Install the following required dependencies by running the command:
sudo zypper install -y apache2 mysql-community-server asterisk asterisk-mysql asterisk-dahdi asterisk-devel asterisk-alsa asterisk-voicemail asterisk-sounds-extra dahdi-linux
  1. Install FreePBX by running the command:
sudo zypper install -y FreePBX
  1. Start the Apache and MySQL service by running the command:
sudo systemctl start apache2 mysql
  1. Set Apache and MySQL to start at boot by running the command:
sudo systemctl enable apache2 mysql
  1. Set the file permissions by running the command:
sudo chmod 777 /var/spool/asterisk/monitor /var/www/html/admin/modules/_cache /var/www/html/admin/modules/_temp /var/www/html/admin/modules/_bin /var/www/html/admin/modules/_cel /var/www/html/admin/modules/_xmpp /var/www/html/admin/modules/_cdr
  1. Configure the firewall to allow access to the FreePBX web interface by running the command:
sudo firewall-cmd --zone=public --add-service=http --permanent
  1. Reload the firewall by running the command:
sudo firewall-cmd --reload
  1. Access the FreePBX web interface by opening a web browser and navigating to:
http://localhost/freepbx
  1. Complete the FreePBX wizard to set up your phone system.

Congratulations! You have successfully installed FreePBX on your OpenSUSE Latest system.

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!