User Tools

Site Tools


vnstat:install:in_centos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vnstat:install:in_centos [23.01.2015 21:13]
vergo created
vnstat:install:in_centos [22.10.2022 15:30] (current)
Line 3: Line 3:
 ===== Disclaimer ===== ===== Disclaimer =====
  
-These instructions assume that+These instructions assume
  
   - access to 'root' account or user with admin permissions   - access to 'root' account or user with admin permissions
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
  
-===== CentOS 7 =====+===== CentOS 7 and later =====
  
 Open a terminal and gain root permissions Open a terminal and gain root permissions
Line 25: Line 25:
 Install needed development packages Install needed development packages
 <code> <code>
-yum install make gcc wget+yum install make gcc wget sqlite sqlite-devel
 </code> </code>
  
Line 31: Line 31:
 <code> <code>
 cd /usr/src cd /usr/src
-wget http://humdi.net/vnstat/vnstat-1.13.tar.gz +wget http://humdi.net/vnstat/vnstat-2.10.tar.gz 
-tar zxvf vnstat-1.13.tar.gz+tar zxvf vnstat-2.10.tar.gz
 </code> </code>
  
 Compile and install the binaries Compile and install the binaries
 <code> <code>
-cd vnstat-1.13 +cd vnstat-2.10 
-make && make install+./configure --prefix=/usr --sysconfdir=/etc && make && make install
 </code> </code>
  
Line 68: Line 68:
 Install needed development packages Install needed development packages
 <code> <code>
-yum install make gcc wget+yum install make gcc wget sqlite sqlite-devel
 </code> </code>
  
Line 74: Line 74:
 <code> <code>
 cd /usr/src cd /usr/src
-wget http://humdi.net/vnstat/vnstat-1.13.tar.gz +wget http://humdi.net/vnstat/vnstat-2.10.tar.gz 
-tar zxvf vnstat-1.13.tar.gz+tar zxvf vnstat-2.10.tar.gz
 </code> </code>
  
 Compile and install the binaries Compile and install the binaries
 <code> <code>
-cd vnstat-1.13 +cd vnstat-2.10 
-make && make install+./configure --prefix=/usr --sysconfdir=/etc && make && make install
 </code> </code>
  
vnstat/install/in_centos.1422040409.txt.gz · Last modified: 23.01.2015 21:13 by vergo