This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
vnstat:install:in_ubuntu_with_image_output [21.10.2018 20:35] 127.0.0.1 external edit |
vnstat:install:in_ubuntu_with_image_output [22.10.2022 15:30] (current) |
||
|---|---|---|---|
| Line 27: | Line 27: | ||
| < | < | ||
| apt-get update | apt-get update | ||
| - | apt-get install make gcc libc6-dev wget libgd3 libgd-dev | + | apt-get install make gcc libc6-dev wget libgd3 libgd-dev libsqlite3-0 libsqlite3-dev |
| </ | </ | ||
| Line 33: | Line 33: | ||
| < | < | ||
| cd /usr/src | cd /usr/src | ||
| - | wget http:// | + | wget http:// |
| - | tar zxvf vnstat-2.0.tar.gz | + | tar zxvf vnstat-2.10.tar.gz |
| </ | </ | ||
| Compile and install the binaries | Compile and install the binaries | ||
| < | < | ||
| - | cd vnstat-2.0 | + | cd vnstat-2.10 |
| ./configure --prefix=/ | ./configure --prefix=/ | ||
| </ | </ | ||
| Line 71: | Line 71: | ||
| < | < | ||
| apt-get update | apt-get update | ||
| - | apt-get install make gcc libc6-dev wget libgd3 libgd-dev | + | apt-get install make gcc libc6-dev wget libgd3 libgd-dev libsqlite3-0 libsqlite3-dev |
| </ | </ | ||
| Line 77: | Line 77: | ||
| < | < | ||
| cd /usr/src | cd /usr/src | ||
| - | wget http:// | + | wget http:// |
| - | tar zxvf vnstat-2.0.tar.gz | + | tar zxvf vnstat-2.10.tar.gz |
| </ | </ | ||
| Compile and install the binaries | Compile and install the binaries | ||
| < | < | ||
| - | cd vnstat-2.0 | + | cd vnstat-2.10 |
| ./configure --prefix=/ | ./configure --prefix=/ | ||
| </ | </ | ||
| Line 99: | Line 99: | ||
| which should reply " | which should reply " | ||
| - | ===== Ubuntu 9.10 - 13.10 ===== | ||
| - | |||
| - | Open a terminal and gain root permissions | ||
| - | |||
| - | < | ||
| - | |||
| - | Verify that root has been gained | ||
| - | |||
| - | < | ||
| - | |||
| - | which should reply " | ||
| - | |||
| - | Install needed development packages | ||
| - | < | ||
| - | apt-get update | ||
| - | apt-get install make gcc libc6-dev wget libgd2-xpm libgd2-xpm-dev | ||
| - | </ | ||
| - | |||
| - | Get the latest release and extract it | ||
| - | < | ||
| - | cd /usr/src | ||
| - | wget http:// | ||
| - | tar zxvf vnstat-2.0.tar.gz | ||
| - | </ | ||
| - | |||
| - | Compile and install the binaries | ||
| - | < | ||
| - | cd vnstat-2.0 | ||
| - | ./configure --prefix=/ | ||
| - | </ | ||
| - | |||
| - | Install the service file and start the daemon | ||
| - | < | ||
| - | cp -v examples/ | ||
| - | initctl start vnstat | ||
| - | </ | ||
| - | |||
| - | Verify that daemon process got started | ||
| - | < | ||
| - | pgrep -c vnstatd | ||
| - | </ | ||
| - | which should reply " | ||