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 web server logs rapidly. It can read and analyze log files of nearly all web formats including Apache, Nginx, 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 the step-by-step installation of the GoAccess web log analyzer on a Debian 11 (Bullseye).
- A server running one of the following operating systems: Debian 11 (Bullseye).
- It’s recommended that you use a fresh OS install to prevent any potential issues.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
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 the 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.