How to Install GoAccess on Ubuntu 16.04

r00t May 3, 2018

Install GoAccess on Ubuntu 16.04

In this tutorial we’ll learn how to install GoAccess on Ubuntu 16.04. We will also install and configure its prerequisites. GoAccess is an Open-source software written in C language and has a simple yet important duty: Analyze log files. GoAccess allow you to monitor logs on a real-time basis in either the terminal or a web browser. It processes many types of web access logs. It allows you to generate reports in HTML, JSON, and CSV format.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install GoAccess on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Installing GoAccess on Ubuntu 16.04.

You can easily install GoAccess on Ubuntu Linux 16.04 LTS server or desktop system or above by typing the apt-get command as follows:

apt-get install goaccess

Step 3. Using GoAccess.

GoAccess is a web log analyzer. If you do not have a web server running, install the Apache web server:

apt-get -y install apache2

To analyze the log using GoAccess from a terminal, type:

goaccess /var/log/apache2/access.log --log-format=COMBINED

Congratulation’s! You have successfully install and configure GoAccess on your Ubuntu 16.04 server. Thanks for using this tutorial for installing GoAccess on Ubuntu system.

The Tags:

Leave a Comment

Comments are closed.