Networking

Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.

Applications

Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.

Data

Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.

Monitoring

Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Apache

Installing GoAccess on CentOS/RHEL

Submitted by on June 24, 2014 – 11:02 am

GoAccess is a simple but useful “top”-like CLI utility giving you a quick overview of the Apache access_log entries.

Check for the latest version of GoAccess and modify the ${version} variable below as needed.

cd /tmp
version="0.7.1"
yum install glib2 glib2-devel glibc make geoip ncurses-devel -y
wget http://downloads.sourceforge.net/project/goaccess/${version}/goaccess-${version}.tar.gz
gzip -d goaccess-${version}.tar.gz
tar xvf goaccess-${version}.tar

cd goaccess*
./configure
make
make install
which goaccess

Sample command
goaccess -f /var/log/httpd/krazyworks.com/access.log

goaccess_01

Print Friendly, PDF & Email

Leave a Reply