Installing Freepbx on Void Linux

Here is a step-by-step guide for installing Freepbx onto Void Linux:

Prerequisites

Before you begin installing Freepbx, make sure you have these prerequisites:

Installation

  1. Update your system repository:
$sudo xbps-install -S && sudo xbps-install void-repo-nonfree
  1. Install required dependencies using the following command:
$sudo xbps-install -S git wget tzdata curl nano unzip sox mpg123 lame speex opus libedit libxml2 libxslt libuuid jack kernel-headers gcc polkit-devel sqlite sqlite-devel mariadb mariadb-devel libogg libvorbis alsa-lib alsa-utils ntp 
  1. Create a new directory to download and install Asterisk and FreePBX:
$mkdir freepbx && cd freepbx
  1. Download Asterisk and FreePBX from the official website using the following commands:
$wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz
$wget https://mirror.freepbx.org/modules/packages/freepbx/freepbx-15.0-latest.tgz
  1. Extract both the tar files you have just downloaded using the following commands:
$tar -zxvf asterisk-16-current.tar.gz
$tar -zxvf freepbx-15.0-latest.tgz
  1. Change the working directory to the extracted Asterisk directory and install the Asterisk dependencies by running the following commands:
$cd asterisk-16.*
$sudo contrib/scripts/install_prereq install
  1. Once you have installed the Asterisk dependencies, run the following commands to configure and install Asterisk:
$sudo ./configure --libdir=/usr/lib64
$sudo make && sudo make install && sudo make samples
  1. After installation of Asterisk, change the directory to the freepbx folder and run the following commands below:
$cd ../freepbx
$sudo ./start_asterisk start
$sudo ./install -n --dbuser=root --dbpass=yourpassword
  1. Freepbx installation will take some time depending on your system specifications. Once completed, you can access Freepbx from your web-browser using the following URL: http:///admin.

That's it! Freepbx is now installed on your Void Linux machine.

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!