GUI Installation: Difference between revisions

From VoIPmonitor.org
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:


====Install the GUI====
====Install the GUI====
Example is GUI for php 8.1 and
First backup current/previous - expected is default GUI location in /var/www/html
First backup current/previous - expected is default GUI location in /var/www/html
  cp -a /var/www/html /var/www/html-backup
  cp -a /var/www/html /var/www/html-backup
  mkdir /tmp/new
  mkdir /tmp/new
  cd /tmp/new
  cd /tmp/new
  wget  
#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


==Example of modules stored for various versions of php in deb10 ==
 
===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/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.4/cli/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
Line 40: Line 48:
  /etc/php/7.2/cli/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


===From develop link===
 


Note: old [[GUI installation]]
Note: old [[GUI installation]]

Revision as of 23:39, 3 March 2023

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