In this tutorial, we will show you how to install GoAccess on Debian 11. For those of you who didn’t know, GoAccess is a free and open-source web log analyzer program that is able to analyze and check the webserver logs rapidly. It can read and analyze log files of nearly all web formats including Apache, Nginx, and etc. It displays real-time web server statistics by displaying summaries of different reports in a dashboard.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of the GoAccess web log analyzer on a Debian 11 (Bullseye).
Install GoAccess on Debian 11 Bullseye
Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following
apt commands in the terminal:
sudo apt update sudo apt upgrade sudo apt install gnupg2
Step 2. Installing GoAccess on Debian 11.
- Install GoAccess using Debian repository.
By default, GoAccess is available on Debian 11 base repository. Now run the following command below to install GoAccess to your Debian system:
sudo apt install goaccess
Check the installed version:
- Install GoAccess from the official repository.
Now add the GoAccess official repository to your system:
echo "deb http://deb.goaccess.io/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/goaccess.list
Next, import the GPG key:
wget -O - https://deb.goaccess.io/gnugpg.key | sudo apt-key add -
Finally, install GoAccess using the following command below:
sudo apt update sudo apt install goaccess
Step 3. Using GoAccess on the Debian.
The first thing you can do is check the help that the terminal gives us, for that you can run:
Congratulations! You have successfully installed GoAccess. Thanks for using this tutorial for installing the latest version of the GoAccess web log analyzer on Debian 11 Bullseye. For additional help or useful information, we recommend you check the official GoAccess website.