最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

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

 更新時間:2014年02月28日 15:53:45   作者:  
非常小又精悍的 Nginx 日志分析工具 GoAccess,今天在 CentOS VPS 上安裝測試了一番,就2個字,神器!

使用方法有兩種,可以用 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

相關文章

最新評論

安庆市| 新兴县| 班戈县| 扎兰屯市| 沙湾县| 海盐县| 赤水市| 弥勒县| 吐鲁番市| 托里县| 福贡县| 志丹县| 巧家县| 揭西县| 金堂县| 湘乡市| 太仓市| 贵南县| 盈江县| 昭苏县| 获嘉县| 漠河县| 布尔津县| 衡山县| 桑日县| 泸定县| 东源县| 察雅县| 溧水县| 弥渡县| 怀宁县| 马山县| 大姚县| 肃北| 灌南县| 昭苏县| 娱乐| 霞浦县| 铜鼓县| 富顺县| 城口县|