GoAccess is an open-source real-time web log analyzer that provides quick and valuable insights into your web server traffic. Here is a step-by-step tutorial on how to install GoAccess on Debian Latest.
Before starting, make sure that your system is up-to-date:
sudo apt update
sudo apt upgrade
GoAccess requires some dependencies to be installed in order to run properly. Run the following command to install the dependencies:
sudo apt install -y libncursesw5-dev libglib2.0-dev libgeoip-dev build-essential
Download the latest version of GoAccess from the official website at http://goaccess.io/.
wget https://tar.goaccess.io/goaccess-1.5.1.tar.gz
Extract the downloaded package using the tar command:
tar -xzvf goaccess-1.5.1.tar.gz
Move into the extracted GoAccess directory and configure the package using the following command:
cd goaccess-1.5.1
sudo ./configure --enable-utf8 --enable-geoip=legacy
After successful configuration, start the building process using the make command:
sudo make
Install the package using the make install command:
sudo make install
Now, GoAccess is installed on your system. You can test it by running the following command:
goaccess /var/log/apache2/access.log
This command will generate a web-based report in the terminal window.
In this tutorial, we have shown you how to install GoAccess on Debian Latest. You can now use this powerful web log analyzer to monitor and analyze your web server traffic.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!