This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
vnstat:install:in_debian_with_image_output [21.10.2018 20:40] vergo |
vnstat:install:in_debian_with_image_output [06.05.2019 20:27] vergo |
||
---|---|---|---|
Line 32: | Line 32: | ||
< | < | ||
cd /usr/src | cd /usr/src | ||
- | wget http:// | + | wget http:// |
- | tar zxvf vnstat-2.0.tar.gz | + | tar zxvf vnstat-2.2.tar.gz |
</ | </ | ||
Compile and install the binaries | Compile and install the binaries | ||
< | < | ||
- | cd vnstat-2.0 | + | cd vnstat-2.2 |
./configure --prefix=/ | ./configure --prefix=/ | ||
</ | </ | ||
Line 45: | Line 45: | ||
< | < | ||
cp -v examples/ | cp -v examples/ | ||
+ | sed -i -e '/ | ||
systemctl enable vnstat | systemctl enable vnstat | ||
systemctl start vnstat | systemctl start vnstat | ||
Line 76: | Line 77: | ||
< | < | ||
cd /usr/src | cd /usr/src | ||
- | wget http:// | + | wget http:// |
- | tar zxvf vnstat-2.0.tar.gz | + | tar zxvf vnstat-2.2.tar.gz |
</ | </ | ||
Compile and install the binaries | Compile and install the binaries | ||
< | < | ||
- | cd vnstat-2.0 | + | cd vnstat-2.2 |
./configure --prefix=/ | ./configure --prefix=/ | ||
</ | </ |