国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > Nginx > 正文

神器!最佳 Nginx 日志分析工具 GoAccess

2024-08-30 12:27:07
字體:
來源:轉載
供稿:網友

使用方法有兩種,可以用 XShell 或 Putty 上去命令查看,也可以生成 html 報告。

下面介紹GoAccess 在 CentOS 上的安裝方法:

1. 需要安裝 GeoIP, ncurses, glib2, 一句搞定
代碼如下:
#yum -y install glib2 glib2-devel ncurses ncurses-devel GeoIP GeoIP-devel

2. 下載 GoAccess 解壓編譯安裝
代碼如下:
# wget http://downloads.sourceforge.net/project/goaccess/0.5/goaccess-0.5.tar.gz
# tar zxvf goaccess-0.5.tar.gz
# cd goaccess-0.5
# ./configure --enable-geoip --enable-utf8
# make && make install
# make clean

3. 好了,試試裝好沒
代碼如下:
# goaccess

看到以下結果就說明裝好了
代碼如下:
GoAccess - 0.5
Usage: goaccess [ -e IP_ADDRESS][ - a ][ - c ]< -f log_file >
The following options can also be supplied to the command:
-f - Path to input log file.
-c - Prompt log/date configuration window.
-a - Enable a List of User-Agents by host.
For faster parsing, don't enable this flag.
-e - Exclude an IP from being counted under the
HOST module. Disabled by default.
Examples can be found by running `man goaccess`.
For more details visit: http://goaccess.prosoftcorp.com
GoAccess Copyright (C) 2009-2012 GNU GPL'd, by Gerardo Orellana

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 万安县| 丹凤县| 隆林| 兴安县| 许昌市| 白城市| 乌兰浩特市| 灵宝市| 潢川县| 胶南市| 靖西县| 内乡县| 乌拉特前旗| 大连市| 诸城市| 宣城市| 河北区| 封丘县| 山丹县| 青阳县| 沂水县| 洛隆县| 茶陵县| 凉城县| 晋城| 高碑店市| 郓城县| 赤壁市| 扶沟县| 罗源县| 宁安市| 巴林左旗| 藁城市| 泰宁县| 洛川县| 孝昌县| 长葛市| 宿州市| 任丘市| 宣城市| 中西区|