User Tools

Site Tools


vnstat:install:in_debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vnstat:install:in_debian [23.01.2015 21:07]
vergo
vnstat:install:in_debian [22.10.2022 15:30] (current)
Line 3: Line 3:
 ===== Disclaimer ===== ===== Disclaimer =====
  
-These instructions assume that+These instructions assume
  
   - access to 'root' account or user with admin permissions   - access to 'root' account or user with admin permissions
Line 9: Line 9:
   - some basic Linux skills   - some basic Linux skills
   - commands aren't copypasted blindly   - commands aren't copypasted blindly
-  - process is stopped in case of errors+  - that the process is stopped in case of errors
  
-===== Debian 8 (jessie) =====+===== Debian 8 (jessie) and later =====
  
 Open a terminal and gain root permissions Open a terminal and gain root permissions
Line 26: Line 26:
 <code> <code>
 apt-get update apt-get update
-apt-get install make gcc libc6-dev wget+apt-get install make gcc libc6-dev wget libsqlite3-0 libsqlite3-dev
 </code> </code>
  
Line 32: Line 32:
 <code> <code>
 cd /usr/src cd /usr/src
-wget http://humdi.net/vnstat/vnstat-1.13.tar.gz +wget http://humdi.net/vnstat/vnstat-2.10.tar.gz 
-tar zxvf vnstat-1.13.tar.gz+tar zxvf vnstat-2.10.tar.gz
 </code> </code>
  
 Compile and install the binaries Compile and install the binaries
 <code> <code>
-cd vnstat-1.13 +cd vnstat-2.10 
-make && make install+./configure --prefix=/usr --sysconfdir=/etc && make && make install
 </code> </code>
  
-Install the service files and start the daemon+Install the service file and start the daemon
 <code> <code>
 cp -v examples/systemd/vnstat.service /etc/systemd/system/ cp -v examples/systemd/vnstat.service /etc/systemd/system/
Line 70: Line 70:
 <code> <code>
 apt-get update apt-get update
-apt-get install make gcc libc6-dev wget+apt-get install make gcc libc6-dev wget libsqlite3-0 libsqlite3-dev
 </code> </code>
  
Line 76: Line 76:
 <code> <code>
 cd /usr/src cd /usr/src
-wget http://humdi.net/vnstat/vnstat-1.13.tar.gz +wget http://humdi.net/vnstat/vnstat-2.10.tar.gz 
-tar zxvf vnstat-1.13.tar.gz+tar zxvf vnstat-2.10.tar.gz
 </code> </code>
  
 Compile and install the binaries Compile and install the binaries
 <code> <code>
-cd vnstat-1.13 +cd vnstat-2.10 
-make && make install+./configure --prefix=/usr --sysconfdir=/etc && make && make install
 </code> </code>
  
-Install the service files and start the daemon+Install the service file and start the daemon
 <code> <code>
 cp -v examples/init.d/debian/vnstat /etc/init.d/ cp -v examples/init.d/debian/vnstat /etc/init.d/
vnstat/install/in_debian.1422040075.txt.gz · Last modified: 23.01.2015 21:07 by vergo