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 [22.12.2015 00:39] 127.0.0.1 external edit |
vnstat:install:in_debian [10.07.2019 17:54] 127.0.0.1 external edit |
||
---|---|---|---|
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 8 (jessie) |
Open a terminal and gain root permissions | Open a terminal and gain root permissions | ||
Line 26: | Line 26: | ||
< | < | ||
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 |
</ | </ | ||
Line 32: | Line 32: | ||
< | < | ||
cd /usr/src | cd /usr/src | ||
- | wget http:// | + | wget http:// |
- | tar zxvf vnstat-1.15.tar.gz | + | tar zxvf vnstat-2.3.tar.gz |
</ | </ | ||
Compile and install the binaries | Compile and install the binaries | ||
< | < | ||
- | cd vnstat-1.15 | + | cd vnstat-2.3 |
- | make && make install | + | ./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 70: | Line 71: | ||
< | < | ||
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 |
</ | </ | ||
Line 76: | Line 77: | ||
< | < | ||
cd /usr/src | cd /usr/src | ||
- | wget http:// | + | wget http:// |
- | tar zxvf vnstat-1.15.tar.gz | + | tar zxvf vnstat-2.3.tar.gz |
</ | </ | ||
Compile and install the binaries | Compile and install the binaries | ||
< | < | ||
- | cd vnstat-1.15 | + | cd vnstat-2.3 |
- | make && make install | + | ./configure --prefix=/ |
</ | </ | ||