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 [06.05.2019 20:26]
vergo
vnstat:install:in_debian [22.10.2022 15:30] (current)
Line 11: Line 11:
   - that the process is stopped in case of errors   - that the process is stopped in case of errors
  
-===== Debian 8 (jessie) - Debian 9 =====+===== Debian 8 (jessie) and later =====
  
 Open a terminal and gain root permissions Open a terminal and gain root permissions
Line 32: Line 32:
 <code> <code>
 cd /usr/src cd /usr/src
-wget http://humdi.net/vnstat/vnstat-2.2.tar.gz +wget http://humdi.net/vnstat/vnstat-2.10.tar.gz 
-tar zxvf vnstat-2.2.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-2.2+cd vnstat-2.10
 ./configure --prefix=/usr --sysconfdir=/etc && make && make install ./configure --prefix=/usr --sysconfdir=/etc && make && make install
 </code> </code>
Line 45: Line 45:
 <code> <code>
 cp -v examples/systemd/vnstat.service /etc/systemd/system/ cp -v examples/systemd/vnstat.service /etc/systemd/system/
-sed -i -e '/^ProtectSystem=/d' /etc/systemd/system/vnstat.service 
 systemctl enable vnstat systemctl enable vnstat
 systemctl start vnstat systemctl start vnstat
Line 77: Line 76:
 <code> <code>
 cd /usr/src cd /usr/src
-wget http://humdi.net/vnstat/vnstat-2.2.tar.gz +wget http://humdi.net/vnstat/vnstat-2.10.tar.gz 
-tar zxvf vnstat-2.2.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-2.2+cd vnstat-2.10
 ./configure --prefix=/usr --sysconfdir=/etc && make && make install ./configure --prefix=/usr --sysconfdir=/etc && make && make install
 </code> </code>
vnstat/install/in_debian.1557163599.txt.gz · Last modified: 06.05.2019 20:26 by vergo