Linux and FreeBSD Installation
Currently, we are supporting CentOS 64 bit and Debian 64 bit versions. We recommend that you make yourself familiar with Linux before installing the system.
In many installations, there is a service running on the standard HTTP ports (80 and 443). If you wish to continue running the service on the host, you need to assign different ports to the PBX. You can do this by editing the script
--http-port <port> and
--https-port <port> the OPTIONS variable.
The PBX needs to have access to the public Internet for the activation of the license key and for installing software updates
https://license.vodia.com for the license and
https://portal.vodia.com for software updates). If you need to disconnect Internet access after installation, you will need a permanent key which is available upon special request.
In order to start the installation, you need to be logged in as system administrator to a shell (typically bash).
Download and run the install script for your operating system. Before running the install script, edit the install script and read the comments. You may choose to install different languages and make other modifications to the installation script that fit your purpose.
If you need to write a pidfile, you may do so by editing the OPTIONS variable in the installation script. You need to add
--pidfile <filename> to the list of options. For normal installations, this is not neccessary.
Please note that you will might have to configure your firewall (iptables). Otherwise, you will not be able to access the web interface of the PBX and register phones.
We recommend that you reboot the server after the initial installation. This will make sure that everything will come up automatically in the case you have to restart the server. It will also make sure that there is only one PBX process running on the server.
$ wget http://portal.vodia.com/downloads/pbx/install-centos.sh $ chmod a+rx install-centos.sh $ ./install-centos.sh
$ wget http://portal.vodia.com/downloads/pbx/install-debian.sh $ chmod a+rx install-debian.sh $ ./install-debian.sh
On Raspberry Pi:
- Navigate to http://www.raspberrypi.org/downloads and download the Raspbian IMG and follow the installation process on this thread.
- After the IMG has been installed SSH into your raspberry PI. The default login for Raspbian is "root" and password "raspberry".
$ wget http://portal.vodia.com/downloads/pbx/install-mini3.sh $ chmod a+x install-mini3.sh $ sudo ./install-mini3.sh
Follow the directions after the .sh script has been initiated.
After the installation you can check if the PBX is running using the following command:
ps -C pbxctrl
You can restart the service using the following command:
Once the service is installed, you can update the software through the web interface. The procedure is the same for all operating systems. It is important that the executable has the name "pbxctrl" and can be moved and deleted by the PBX process.
Uninstalling the Software
You can uninstall the software by deleting the working directory of the PBX (usually /usr/local/pbx) and by deleting the script pbx in the /etc/init.d directory.
Installing in the Cloud
There is a large range of service providers that can run the Vodia PBX. In this section shows examples on how to install the PBX in the cloud.
Installing Linux's Version of Vodia's IP PBX on AWS (Amazon Web Service) Instance
Some AWS Linux templates don't by default come with swap space. This can cause random crashes of the PBX service, e.g. when cron jobs are running in the background. Please make sure that during the installation you set up swap space for the instance.