国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 濮阳县| 明光市| 长武县| 新蔡县| 浦江县| 烟台市| 岱山县| 会东县| 繁峙县| 巴中市| 遂平县| 新泰市| 女性| 卢龙县| 隆化县| 玉龙| 镇康县| 达尔| 安顺市| 肇庆市| 吉林省| 洛扎县| 高安市| 阿尔山市| 根河市| 沈阳市| 砀山县| 建昌县| 安达市| 临澧县| 西充县| 九龙县| 色达县| 靖江市| 富锦市| 古田县| 措勤县| 巫山县| 措勤县| 中卫市| 阜城县|