参考:https://goaccess.io/download
1
2
3
|
yum install gcc gcc-c++
yum install GeoIP-devel
yum install glib2 glib2-devel GeoIP-devel ncurses-devel zlib zlib-devel
|
1
2
3
4
5
|
wget tar -xzvf goaccess-1.2. tar .gz
cd goaccess-1.2/
. /configure -- enable -utf8 -- enable -geoip=legacy
make && make install
|
1
|
ln -s /usr/local/bin/goaccess /usr/bin/
|
本文转自 yawei555 51CTO博客,原文链接:http://blog.51cto.com/huwei555/1981933,如需转载请自行联系原作者