Changes

From SME Server
Jump to navigationJump to search
117 bytes added ,  14:12, 27 October 2008
no edit summary
Line 8: Line 8:  
  vnstat -u -i eth0
 
  vnstat -u -i eth0
 
  vnstat -u -i eth1
 
  vnstat -u -i eth1
 +
 +
(Ignore the error message you get)
    
Get the frontend and configure:
 
Get the frontend and configure:
Line 20: Line 22:  
  $iface_title['eth0'] = 'Internal';
 
  $iface_title['eth0'] = 'Internal';
 
  $iface_title['ppp0'] = 'Internet';
 
  $iface_title['ppp0'] = 'Internet';
And finnaly set application:
+
Finnaly set application path:
 
  $vnstat_bin = '/usr/bin/vnstat';
 
  $vnstat_bin = '/usr/bin/vnstat';
 +
Then change permission on /var/lib/vnstat/* files
 +
chmod 666 /var/lib/vnstat/*;
    
Wait and you should see the application working at http://yourserverIP/vnstat_php_frontend-1.4
 
Wait and you should see the application working at http://yourserverIP/vnstat_php_frontend-1.4
67

edits

Navigation menu