最新国产好看的视频,伊人天堂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

相關文章

最新評論

昆明市| 安岳县| 浏阳市| 巴南区| 台北市| 许昌市| 综艺| 泌阳县| 安宁市| 宜兰县| 高淳县| 梁平县| 韶山市| 当雄县| 易门县| 彭水| 郓城县| 武宣县| 石泉县| 祁阳县| 洞口县| 永丰县| 松原市| 山丹县| 油尖旺区| 泰安市| 灌阳县| 苍梧县| 阿坝| 儋州市| 海淀区| 永仁县| 正宁县| 达州市| 阜新市| 梁河县| 繁峙县| 汨罗市| 都江堰市| 阿鲁科尔沁旗| 分宜县|