GUI Installation

From VoIPmonitor.org
Revision as of 00:39, 4 March 2023 by Petr.halounek (talk | contribs)
Jump to navigation Jump to search

GUI installation

Installing GUI for the first time

The GUI requires some additional packages to be installed/configured - the steps of installing GUI varies by OS/distribution used. Please follow the GUI installation Content of our doc in Install section for your linux distro

Re-installing the GUI

After php upgrade

If you upgraded the OS or php and the GUI pages failed to load/dispaly - It is sufficent to re-install the ioncube for php and GUI package of voipmonitor.

Check your current ioncube configuration

grep 'ioncube' /etc -Inri

and remove the old configuration file 00ioncube from the location

Check your php version

php --version

Install new ioncube

Example is for php 8.1 in kubu 22.04

wget http://voipmonitor.org/ioncube/x86_64/ioncube_loader_lin_8.1.so -O /usr/lib/php/8.1/ioncube_loader_lin_8.1.so
echo 'zend_extension = /usr/lib/php/8.1/ioncube_loader_lin_8.1.so' > /etc/php/8.1/cli/conf.d/01-ioncube.ini
echo 'zend_extension = /usr/lib/php/8.1/ioncube_loader_lin_8.1.so' > /etc/php/8.1/apache2/conf.d/01-ioncube.ini
service apache2 restart

Notes: Plese, take care on version of ioncube you will download, also take care on the destination folder you are storing the module to and the line you will add to .ini files.

Install the GUI

First backup current/previous - expected is default GUI location in /var/www/html

cp -a /var/www/html /var/www/html-backup
mkdir /tmp/new
cd /tmp/new
#download the GUI package for your php from our site. https://www.voipmonitor.org/download
wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&phpver=81&festry" -O w.tar.gz
tar -xzf w.tar.gz
cd voipmonitor*/scripts
bash install-gui ../../w.tar.gz
#follow on line instructions - you should know where the voip traffic comming - which interface, and how much space you can allocate for packets records - for spoolir


From develop link

Examples of paths for modules stored for various versions of php in deb10

/etc/php/7.4/apache2/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.4/cli/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.3/apache2/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20180731/ioncube_loader_lin_7.3.so
/etc/php/7.3/cli/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20180731/ioncube_loader_lin_7.3.so
/etc/php/7.2/apache2/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20170718/ioncube_loader_lin_7.2.so
/etc/php/7.2/cli/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20170718/ioncube_loader_lin_7.2.so


Note: old GUI installation