FusionPBX is an open source, web based PBX solution based on FreeSWITCH. It provides a user-friendly interface for configuring and managing a VoIP system. This tutorial will guide you through the process of installing FusionPBX on OpenSUSE Latest.
Before you can install FusionPBX on OpenSUSE Latest, you need to make sure that you have the following prerequisites:
First, you need to install some dependencies that are required by FusionPBX. To do this, run the following command:
zypper install -y apache2-utils bzip2 fail2ban git memcached mod_ssl nginx nodejs postgresql10 postgresql10-contrib postgresql10-server socat sudo tar wget
This command will install all the necessary dependencies required by FusionPBX.
FusionPBX is built on top of FreeSWITCH. Therefore, you need to install FreeSWITCH first. To do this, run the following command:
wget https://files.freeswitch.org/freeswitch-releases/freeswitch-1.10.5.tar.gz
tar xvfz freeswitch-1.10.5.tar.gz
cd freeswitch-1.10.5
./configure --prefix=/usr/local/freeswitch
make && make install
This command will download the latest version of FreeSWITCH, extract it, configure it and then install it on your system.
Now that you have installed the dependencies and FreeSWITCH, you can proceed with the installation of FusionPBX. To do this, follow the below steps:
git clone https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx
cd /var/www/fusionpbx
./install.sh
sudo -u postgres psql -c "create database fusionpbx"
sudo -u postgres psql -c "create user fusionpbx password 'mypassword'"
sudo -u postgres psql -c "grant all privileges on database fusionpbx to fusionpbx"
su - postgres -c "psql fusionpbx < /var/www/fusionpbx/resources/install/sql/switch.sql"
su - postgres -c "psql fusionpbx < /var/www/fusionpbx/resources/install/sql/fusionpbx.sql"
cp /var/www/fusionpbx/resources/templates/conf/autoload_configs/* /usr/local/freeswitch/conf/autoload_configs/
cp /var/www/fusionpbx/resources/templates/conf/*.xml /usr/local/freeswitch/conf/
cp /var/www/fusionpbx/resources/templates/conf/*/* /usr/local/freeswitch/conf/
chown -R wwwrun:www /var/lib/php7
In order to finalize the installation, start the necessary services by running the following commands:
systemctl start postgresql
systemctl start memcached
systemctl start nginx
systemctl enable postgresql
systemctl enable memcached
systemctl enable nginx
Now, you should be able to access the FusionPBX web interface by navigating to https://<your-server-ip>/
. Login using the default username admin
and password admin
.
Congratulations! You have successfully installed FusionPBX on OpenSUSE Latest. You can now start configuring your PBX 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!
Alternatively, for the best virtual desktop, try Shells!