Difference between revisions of "Vnstat"

From SME Server
Jump to navigationJump to search
(New page: wget http://dag.wieers.com/rpm/packages/vnstat/vnstat-1.4-3.2.el4.rf.i386.rpm yum localinstall vnstat-1.4-3.2.el4.rf.i386.rpm Add the interfaces you would like to monitor: vnstat -u -i...)
 
Line 1: Line 1:
 +
How to install vnstat and the the PHP frontent.
 +
Original post
 +
Get vnstat and install:
 
  wget http://dag.wieers.com/rpm/packages/vnstat/vnstat-1.4-3.2.el4.rf.i386.rpm
 
  wget http://dag.wieers.com/rpm/packages/vnstat/vnstat-1.4-3.2.el4.rf.i386.rpm
 
  yum localinstall vnstat-1.4-3.2.el4.rf.i386.rpm
 
  yum localinstall vnstat-1.4-3.2.el4.rf.i386.rpm
Line 6: Line 9:
 
  vnstat -u -i eth1
 
  vnstat -u -i eth1
  
 +
Get the frontend and configure:
 
  cd /home/e-smith/files/ibays/Primary/html/
 
  cd /home/e-smith/files/ibays/Primary/html/
 
  wget http://www.sqweek.com/sqweek/files/vnstat_php_frontend-1.4.tar.gz
 
  wget http://www.sqweek.com/sqweek/files/vnstat_php_frontend-1.4.tar.gz
 
  tar -xvzf vnstat_php_frontend-1.4.tar.gz
 
  tar -xvzf vnstat_php_frontend-1.4.tar.gz
 
  cd vnstat_php_frontend-1.4
 
  cd vnstat_php_frontend-1.4
nano config
+
nano config:

Revision as of 13:34, 27 October 2008

How to install vnstat and the the PHP frontent. Original post Get vnstat and install:

wget http://dag.wieers.com/rpm/packages/vnstat/vnstat-1.4-3.2.el4.rf.i386.rpm
yum localinstall vnstat-1.4-3.2.el4.rf.i386.rpm

Add the interfaces you would like to monitor:

vnstat -u -i eth0
vnstat -u -i eth1

Get the frontend and configure:

cd /home/e-smith/files/ibays/Primary/html/
wget http://www.sqweek.com/sqweek/files/vnstat_php_frontend-1.4.tar.gz
tar -xvzf vnstat_php_frontend-1.4.tar.gz
cd vnstat_php_frontend-1.4

nano config: