Install AWStats For Ubuntu/Debian: apt install awstats -y For CentOS8: dnf install epel-release dnf install awstats Set up AWStats Config You will need to create a configuration file for each website for which you wish to view statistics. cp /etc/awstats/awstats.conf /etc/awstats/awstats.example.com.conf Add the following entries…