I upgraded goaccess but I have always liked the way webalizer puts the stats out for you. So I tried installing it using this guide but changed apt-get to yum:
https://www.unixmen.com/install-and-configure-webalizer-on-ubuntu/Doing so I got this as a result:
Install 7 Packages
Total download size: 2.4 M
Installed size: 6.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): httpd-filesystem-2.4.37-65.module_el8.10.0+3966+b9483c84.3.noarch.rpm 284 kB/s | 44 kB 00:00
(2/7): almalinux-logos-httpd-84.5-1.el8.noarch.rpm 140 kB/s | 29 kB 00:00
(3/7): mod_http2-1.15.7-10.module_el8.10.0+3966+b9483c84.3.x86_64.rpm 470 kB/s | 155 kB 00:00
(4/7): httpd-2.4.37-65.module_el8.10.0+3966+b9483c84.3.x86_64.rpm 2.7 MB/s | 1.4 MB 00:00
(5/7): GeoIP-1.6.12-7.el8.x86_64.rpm 239 kB/s | 124 kB 00:00
(6/7): GeoIP-GeoLite-data-2018.06-5.el8.noarch.rpm 1.2 MB/s | 552 kB 00:00
(7/7): webalizer-2.23_08-15.el8.x86_64.rpm 335 kB/s | 148 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------
Total 1.1 MB/s | 2.4 MB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : GeoIP-GeoLite-data-2018.06-5.el8.noarch 1/7
Installing : GeoIP-1.6.12-7.el8.x86_64 2/7
Running scriptlet: httpd-filesystem-2.4.37-65.module_el8.10.0+3966+b9483c84.3.noarch 3/7
Installing : httpd-filesystem-2.4.37-65.module_el8.10.0+3966+b9483c84.3.noarch 3/7
Installing : almalinux-logos-httpd-84.5-1.el8.noarch 4/7
Installing : mod_http2-1.15.7-10.module_el8.10.0+3966+b9483c84.3.x86_64 5/7
Installing : httpd-2.4.37-65.module_el8.10.0+3966+b9483c84.3.x86_64 6/7
warning: /etc/logrotate.d/httpd created as /etc/logrotate.d/httpd.rpmnew
Running scriptlet: httpd-2.4.37-65.module_el8.10.0+3966+b9483c84.3.x86_64 6/7
Running scriptlet: webalizer-2.23_08-15.el8.x86_64 7/7
Installing : webalizer-2.23_08-15.el8.x86_64 7/7
Running scriptlet: GeoIP-GeoLite-data-2018.06-5.el8.noarch 7/7
Running scriptlet: httpd-2.4.37-65.module_el8.10.0+3966+b9483c84.3.x86_64 7/7
Running scriptlet: webalizer-2.23_08-15.el8.x86_64 7/7
Verifying : almalinux-logos-httpd-84.5-1.el8.noarch 1/7
Verifying : httpd-2.4.37-65.module_el8.10.0+3966+b9483c84.3.x86_64 2/7
Verifying : httpd-filesystem-2.4.37-65.module_el8.10.0+3966+b9483c84.3.noarch 3/7
Verifying : mod_http2-1.15.7-10.module_el8.10.0+3966+b9483c84.3.x86_64 4/7
Verifying : GeoIP-1.6.12-7.el8.x86_64 5/7
Verifying : GeoIP-GeoLite-data-2018.06-5.el8.noarch 6/7
Verifying : webalizer-2.23_08-15.el8.x86_64
Installed:
GeoIP-1.6.12-7.el8.x86_64 GeoIP-GeoLite-data-2018.06-5.el8.noarch
almalinux-logos-httpd-84.5-1.el8.noarch httpd-2.4.37-65.module_el8.10.0+3966+b9483c84.3.x86_64
httpd-filesystem-2.4.37-65.module_el8.10.0+3966+b9483c84.3.noarch mod_http2-1.15.7-10.module_el8.10.0+3966+b9483c84.3.x86_64
webalizer-2.23_08-15.el8.x86_64
Complete!
[root@viking src]# sudo mv /var/www/webalizer /var/www/html/
mv: cannot stat '/var/www/webalizer': No such file or directory
[root@viking src]# sudo gedit /etc/webalizer/webalizer.conf
sudo: gedit: command not found
[root@viking src]# sudo nano /etc/webalizer/webalizer.conf
[root@viking src]# sudo webalizer
Error: Can't open log file /var/log/httpd/access_log
[root@viking src]#