• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install Goaccess on Ubuntu 21.04

  • 00:38 lsb_release -a
  • 00:57 echo "deb http://deb.goaccess.io/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/goaccess.list
  • 01:06 wget -O - https://deb.goaccess.io/gnugpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/goaccess.gpg add -
  • 01:18 apt update
  • 01:30 apt install goaccess
  • 02:12 goaccess /var/log/apache2/access.log
6977

To Install Goaccess on Ubuntu 21.04

Introduction:

 GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in Unix like systems or through your browser. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly.

Installation Procedure :

Step 1 : Check the OS version by using the below Command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute

Step 2 : Add Goaccess Repository into the apt source list by using the below Command

root@linuxhelp:~# echo "deb http://deb.goaccess.io/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/goaccess.list

Step 3 : Add GPG key for Goaccess repository by using the below Command

root@linuxhelp:~# wget -O - https://deb.goaccess.io/gnugpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/goaccess.gpg add -
--2021-12-08 07:35:32--  https://deb.goaccess.io/gnugpg.key
Resolving deb.goaccess.io (deb.goaccess.io)... Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
67.205.130.138
Connecting to deb.goaccess.io (deb.goaccess.io)|67.205.130.138|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2468 (2.4K) [application/pgp-keys]

Saving to: ‘STDOUT’

-                             100%[===============================================>]   2.41K  --.-KB/s    in 0s      

2021-12-08 07:35:33 (129 MB/s) - written to stdout [2468/2468]

OK

Step 4 : Update the apt source list by using the below Command

root@linuxhelp:~# apt update 
Hit:1 http://in.archive.ubuntu.com/ubuntu hirsute InRelease
Get:2 http://in.archive.ubuntu.com/ubuntu hirsute-updates InRelease [115 kB]                          
Get:3 http://in.archive.ubuntu.com/ubuntu hirsute-backports InRelease [101 kB]                                       
Hit:4 http://ppa.launchpad.net/ondrej/php/ubuntu hirsute InRelease                                                   
Get:5 http://security.ubuntu.com/ubuntu hirsute-security InRelease [110 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages [445 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu hirsute-updates/main i386 Packages [215 kB]                                
Get:8 http://in.archive.ubuntu.com/ubuntu hirsute-updates/main Translation-en [115 kB]                 

Step 5 : Install the Goaccess by using apt

root@linuxhelp:~# apt install goaccess
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

The following packages were automatically installed and are no longer required:
  libllvm11 linux-headers-5.11.0-16 linux-headers-5.11.0-16-generic linux-image-5.11.0-16-generic
  linux-modules-5.11.0-16-generic linux-modules-extra-5.11.0-16-generic net-tools
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
 
 libncursesw5 libtinfo5
The following NEW packages will be installed:
  goaccess libncursesw5 libtinfo5
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 579 kB of archives.
After this operation, 2,046 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu hirsute/universe amd64
Preparing to unpack .../goaccess_1%3a1.5.3-hirsute_amd64.deb ...
Unpacking goaccess (1:1.5.3-hirsute) ...
Setting up libtinfo5:amd64 (6.2+20201114-2build1) ...
Setting up libncursesw5:amd64 (6.2+20201114-2build1) ...
Setting up goaccess (1:1.5.3-hirsute) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.33-0ubuntu5) ...

Step 6 : Open the Browser and generate sample logs as shown in the below image Snap 1

Step 7: Open Apache logs by Using Goaccess by using the below Command

root@linuxhelp:~# goaccess /var/log/apache2/access.log

Step 8: Select the Log Format as shown in the below image Snap 2

Step 9: This is the Goaccess Log Page Snap 3

By this how to install GoAccess on Ubuntu 21.04 has been completed.

Tags:
michael
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What logs does GoAccess monitor?

A

GoAccess Monitor Apache web server logs in real-time.

Q

Where are Apache log files located?

A

Apache log files are located in "/var/log/apache2"

Q

How to open GoAccess?

A

To open GoAccess logs, type logfile followed by goaccess.

Q

What is the latest version of GoAccess?

A

The latest version of GoAccess is 1.5.2

Q

From what language is GoAccess written?

A

GoAccess is written in C.

Related Tutorials in How to install Goaccess on Ubuntu 21.04

Related Tutorials in How to install Goaccess on Ubuntu 21.04

How to install Meld tool in Ubuntu
How to install Meld tool in Ubuntu
Feb 25, 2017
How to install Dconf-Editor on Ubuntu 18.04
How to install Dconf-Editor on Ubuntu 18.04
Jul 14, 2018
How to install and update OpenSSL on Ubuntu 16.04
How to install and update OpenSSL on Ubuntu 16.04
Mar 9, 2017
How to install GLib 2.0 on Ubuntu 17.04
How to install GLib 2.0 on Ubuntu 17.04
May 22, 2017
How to Install Android Emulator on Ubuntu 20.4.1
How to Install Android Emulator on Ubuntu 20.4.1
Jul 13, 2021
How To Install AnyDesk on Ubuntu 16.04
How To Install AnyDesk on Ubuntu 16.04
Apr 4, 2018
How to install Genymotion 2.12.1 on Ubuntu 18.04
How to install Genymotion 2.12.1 on Ubuntu 18.04
Jul 9, 2018
How to install Timeshift 18.4 on Ubuntu 18.04
How to install Timeshift 18.4 on Ubuntu 18.04
Jul 6, 2018

Related Forums in How to install Goaccess on Ubuntu 21.04

Related Forums in How to install Goaccess on Ubuntu 21.04

Linux
jayce class=
shasum command not found
May 5, 2017
Ubuntu
matthew class=
Failed to enable unit: Refusing to operate on linked unit file sshd.service
Apr 15, 2019
Linux
stephan class=
How to list all samba users
Jan 12, 2018
Ubuntu
mason class=
Passwd: You may not view or modify password information for root On Ubuntu 19.04
May 27, 2019
Ubuntu
isaac class=
/etc/apt/sources.list Permission denied
May 18, 2017
pv command
muhammad class=
pvcreate command not found error
May 9, 2017
Linux
henry class=
Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
Apr 25, 2017
Ubuntu
yousuf class=
lsb_release command not working : Debian
Jan 18, 2018

Related News in How to install Goaccess on Ubuntu 21.04

Related News in How to install Goaccess on Ubuntu 21.04

Anbox, the Android-to-Linux tool the developers have been waiting for
Anbox, the Android-to-Linux tool the developers have been waiting for
Apr 17, 2017
How To Install Mixxx on Ubuntu 16.04
How To Install Mixxx on Ubuntu 16.04
Oct 11, 2017
Linus Torvalds stops signing Linux kernel RC tarballs
Linus Torvalds stops signing Linux kernel RC tarballs
May 17, 2017
Ubuntu 17.04 released with greater expectations
Ubuntu 17.04 released with greater expectations
Apr 15, 2017
Capsule8 Launches Linux-Based Container Security Platform
Capsule8 Launches Linux-Based Container Security Platform
Feb 14, 2017
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Mar 1, 2017
Symantec updates Management console product
Symantec updates Management console product
Nov 22, 2017
Latest Linux driver release feature seven AMD Vega
Latest Linux driver release feature seven AMD Vega
Mar 23, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.