Some graphs requires JPGraph to be installed.
Download JPGraph here: http://jpgraph.net/download/
Put the jpgraph-3.5.0b1.tar.gz file on the ClusterControl server and do
Centos/Redhat
sudo tar xvfz jpgraph-3.5.0b1.tar.gz -C /var/www/html/cmon
sudo cd /var/www/html/cmon
sudo ln -s jpgraph-3.5.0b1 jpgraph
sudo chown apache:apache -R jpgraph*
Ubuntu/Debian
sudo tar xvfz jpgraph-3.5.0b1.tar.gz -C /var/www/cmon
cd /var/www/cmon
sudo ln -s jpgraph-3.5.0b1 jpgraph
sudo chown www-data:www-data -R jpgraph*
If you get the error (some Ubuntu only):
The function imageantialias() is not available in your PHP installation
Then do:
cd /var/www/cmon/jpgraph/src/
sudo EDITOR gd_image.inc.php
## go to line 110:
## comment that line out, put // in front of the line so it reads:
// JpGraphError::RaiseL(25128);//('The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.')
Comments
3 comments
Hi, just wondering if this could be made part of the automatic Configurator tool? The online Configurator tool is really great, makes it really easy to set up test clusters on Galera, MySQL Cluster and plain replication, and it would be helpful if JPGraph was part of it rather than an additional step. Thanks for the great tool guys.
The instructions provided cover the installation and setup of the JPGraph library on a web server running either CentOS/RHEL or Ubuntu/Debian. The steps involve extracting the JPGraph archive, creating a symbolic link, and setting the appropriate file permissions. Additionally, there is a note about a potential issue with the imageantialias() function on some Ubuntu systems, and a suggested workaround by commenting out the corresponding line in the gd_image.inc.php. omegle file.
The tip about resolving the imageantialias() error on Ubuntu is also valuable iq test free
Please sign in to leave a comment.