惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

AI
AI
GbyAI
GbyAI
Blog — PlanetScale
Blog — PlanetScale
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
L
LangChain Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
U
Unit 42
aimingoo的专栏
aimingoo的专栏
N
Netflix TechBlog - Medium
H
Hackread – Cybersecurity News, Data Breaches, AI and More
A
About on SuperTechFans
B
Blog
I
InfoQ
T
The Exploit Database - CXSecurity.com
H
Heimdal Security Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
L
LINUX DO - 最新话题
Google Online Security Blog
Google Online Security Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Help Net Security
Help Net Security
Stack Overflow Blog
Stack Overflow Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Threat Research - Cisco Blogs
量子位
P
Privacy & Cybersecurity Law Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
Cisco Talos Blog
Cisco Talos Blog
博客园_首页
The Last Watchdog
The Last Watchdog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
有赞技术团队
有赞技术团队
NISL@THU
NISL@THU
WordPress大学
WordPress大学
K
Kaspersky official blog
D
DataBreaches.Net
Hugging Face - Blog
Hugging Face - Blog
Vercel News
Vercel News
雷峰网
雷峰网
Webroot Blog
Webroot Blog
B
Blog RSS Feed
W
WeLiveSecurity
Scott Helme
Scott Helme
A
Arctic Wolf
阮一峰的网络日志
阮一峰的网络日志
G
Google Developers Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO

博客园 - 成都兰斯

南京电信IPTV折腾记 acme在群晖下自动更新证书 群晖3622使用nvme硬盘 curl 绑定域名访问 nginx日志分析工具goaccesss Java和C#排序差异 Win下Rsync安装 zte交换机 操作 SQL Server 数据的索引引发的血案 Dell服务器通过IPMI调整风扇转速 ipmi调整超微主板 N1 救砖 超微主板不识别M2-解决方案 Centos7安装zookpeer Centos7 安装Java8 通过CMD命令行打开防火墙端口 Windows win10 L2TP拨号 Esxi直通板载Sata Esxi 增加网卡驱动 生成ISO
centos6安装goaccess
成都兰斯 · 2020-06-10 · via 博客园 - 成都兰斯

  最近一直在分析nginx的日志,希望加入监控,目前看来,goaccess是比较好的方案。

goaccess 目前的版本是1.4。官方地址如下:https://goaccess.io/download

根据官方文档进行安装。

$ wget https://tar.goaccess.io/goaccess-1.4.tar.gz
$ tar -xzvf goaccess-1.4.tar.gz
$ cd goaccess-1.4/
$ ./configure --enable-utf8 --enable-geoip=legacy
$ make
# make install
在执行到 configure这步的时候,会提示如下错误。
checking for GeoIP_new in -lGeoIP... no
configure: error: 
    *** Missing development files for the GeoIP library

看来是缺少GeoIP包。然后根据搜索结果提示,yum安装geo包失败。改为手动安装。

$ wget https://github.com/maxmind/geoip-api-c/releases/download/v1.6.12/GeoIP-1.6.12.tar.gz
$ tar -xzvf GeoIP-1.6.12.tar.gz
$ cd GeoIP-1.6.12
$ ./configure
$ make
# make install

安装完成后,再进行goaccess的安装,configure通过,但是,make 和make install的过程中再次报错。

报错内容:

error while loading shared libraries: libGeoIP.so.1: cannot open shared object file: No such file or directory

把对应文件做软连,命令如下:

ln -s /usr/local/lib/libGeoIP.so* /lib64/

然后再make && make install。

搞定

生产上,又增加了一个异常。

checking for mvaddwstr in -lncursesw... no
configure: error: *** Missing development libraries for ncursesw

查询了下,需要ncurses组件,那就yum一个

yum -y install ncurses-devel

gogogo