This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
vnstat:install:in_debian [23.01.2015 21:05] vergo created |
vnstat:install:in_debian [21.10.2018 20:38] vergo |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Disclaimer ===== | ===== Disclaimer ===== | ||
- | These instructions assume | + | These instructions assume |
- access to ' | - access to ' | ||
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) - Debian 9 ===== |
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.13.tar.gz | + | tar zxvf vnstat-2.0.tar.gz |
</ | </ | ||
Compile and install the binaries | Compile and install the binaries | ||
< | < | ||
- | cd vnstat-1.13 | + | cd vnstat-2.0 |
- | make && make install | + | ./configure --prefix=/ |
</ | </ | ||
- | Install the service | + | Install the service |
< | < | ||
cp -v examples/ | cp -v examples/ | ||
Line 55: | Line 55: | ||
which should reply " | which should reply " | ||
- | ===== Debian 7 (Wheezy) ===== | + | ===== Debian 7 (wheezy) and most likely also older releases |
Open a terminal and gain root permissions | Open a terminal and gain root permissions | ||
Line 70: | Line 70: | ||
< | < | ||
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 76: | ||
< | < | ||
cd /usr/src | cd /usr/src | ||
- | wget http:// | + | wget http:// |
- | tar zxvf vnstat-1.13.tar.gz | + | tar zxvf vnstat-2.0.tar.gz |
</ | </ | ||
Compile and install the binaries | Compile and install the binaries | ||
< | < | ||
- | cd vnstat-1.13 | + | cd vnstat-2.0 |
- | make && make install | + | ./configure --prefix=/ |
</ | </ | ||
- | Install the service | + | Install the service |
< | < | ||
cp -v examples/ | cp -v examples/ |