User Tools

Site Tools


vnstat:install:in_debian_with_image_output

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_with_image_output [06.05.2019 20:27]
vergo
vnstat:install:in_debian_with_image_output [18.08.2019 15:31] (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.4.tar.gz 
-tar zxvf vnstat-2.2.tar.gz+tar zxvf vnstat-2.4.tar.gz
 </​code>​ </​code>​
  
 Compile and install the binaries Compile and install the binaries
 <​code>​ <​code>​
-cd vnstat-2.2+cd vnstat-2.4
 ./configure --prefix=/​usr --sysconfdir=/​etc && make all && make install ./configure --prefix=/​usr --sysconfdir=/​etc && make all && 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.4.tar.gz 
-tar zxvf vnstat-2.2.tar.gz+tar zxvf vnstat-2.4.tar.gz
 </​code>​ </​code>​
  
 Compile and install the binaries Compile and install the binaries
 <​code>​ <​code>​
-cd vnstat-2.2+cd vnstat-2.4
 ./configure --prefix=/​usr --sysconfdir=/​etc && make all && make install ./configure --prefix=/​usr --sysconfdir=/​etc && make all && make install
 </​code>​ </​code>​
vnstat/install/in_debian_with_image_output.1557163628.txt.gz · Last modified: 06.05.2019 20:27 by vergo