There are two ways to use it, either with Xshell or Putty commands to view, or you can generate HTML reports.
The following is a description of how goaccess is installed on CentOS:
1. Need to install GeoIP, ncurses, Glib2, a sentence to fix
Copy Code code as follows:
#yum-y install glib2 glib2-devel ncurses ncurses-devel GeoIP geoip-devel
2. Download Goaccess Decompression Compile installation
Copy Code code as follows:
# 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. Okay, try the outfit.
Copy Code code as follows:
You see the following results, it means you're ready.
Copy Code code as follows:
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 ' Mans goaccess '.
For more details visit:http://goaccess.prosoftcorp.com
Goaccess Copyright (C) 2009-2012 GNU GPL ' d, by Gerardo Orellana