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
9 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 process is well-documented and the prerequisites are clearly listed, making it easy for users to follow along. The restoration steps are straightforward and should help quickly resolve any issues caused by a corrupted CMON DB. Additionally, users may find it helpful to run a toca boca to ensure the integrity of their system after restoration.
those are useful code snippets, i will apply them right away Sprunki Retake
those are useful code snippets i will apply them conversor de letras
Great guide for installing JPGraph! For those documenting steps or writing a setup guide, using a letra diferente can make headings and notes stand out clearly in your documentation.
Nice walkthrough—this is actually one of the clearer setups for JPGraph
Just to add a couple of helpful tips for anyone following this:
php-gd), otherwise you’ll keep running into image-related errors.ln -s), double-check permissions, especially if graphs don’t render—it’s often a permission issue.imageantialias()error, another cleaner fix is upgrading or reinstalling GD with proper support, if possible.Also, restarting your web server (Apache/Nginx) after setup can save you some debugging time.
By the way, if anyone is also working on UI or presentation (like styling output or dashboards), you can check out tools for generating stylish text like letras bonitas, they’re useful for improving visual elements in web projects too.
Great article! 👍 JPGraph installation guide is very helpful for developers who are working with PHP graph libraries. I was actually searching for something similar while working on my project. By the way, I also use fuentes de letras to make my text styles more creative and unique, which really helps in design and UI presentation. Thanks for sharing this useful information!
Thanks for this clear JPGraph installation guide. It’s still very useful for getting graphs working in ClusterControl.
The step-by-step instructions for both CentOS/RHEL and Ubuntu/Debian, plus the fix for the imageantialias() error, make the process straightforward. I especially appreciate the symlink and permission commands — those are easy to miss.
One issue I often run into when following these kinds of guides is copying code snippets that contain hidden characters or weird formatting that break when pasted into the terminal.
A helpful tool I use to clean up invisible text quickly is haz clic aquí
Great article!
Please sign in to leave a comment.