CentOS / RHEL: View Vnstat Graphs Using PHP Web Interface Frontend
How do Install view vnstat – a network console output using my web-browser? How do I install vnstat php frontend on CentOS / RHEL / Fedora Linux based system?
You can use a PHP fronted for vnStat called “vnStat php frontend”. This script was created as vnstat is console mode only and the author wanted to make a nice report of the data collected by vnStat. You need to install the following software(s) on your server:
[b] PHP 5
[c] php-gd extension
You can install all of the above softwares using the yum command: # yum install httpd php php-gd Configure httpd service as per your requirements: # vi /etc/httpd/conf/httpd.conf Turn on the httpd service: # chkconfig httpd on # service httpd start # netstat -tulpn | grep :80
The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.