![]() ![]() How to undo and redo changes on vim Install ncurses on Ubuntu or Debian Linux Mar 29 2020 htaccess file Undo and redo on vim Mar 30 2020 How to configure and use logrotate plus some tips htacces, remove trailing slash Mar 30 2020 Rsync guide, how-do and tips with examples Logrotate Mar 31 2020 How to listen to music from Linux command line with low memory use rsync Apr 5 2020 How to have a running Apache server in a Docker container Linux command line spotify player Apr 5 2020 How to upgrade from Ubuntu 18.04 to 20.04 Apache in a Docker container Apr 9 2020 How to install Brackets on Ubuntu How to upgrade Ubuntu LTS, Bionic to Focal May 1 2020 How to password protect a file in Linux How to install Brackets on Ubuntu May 1 2020 How to solve sshd: no hostkeys available - exiting How to password protect a file in Linux May 9 2020 How to install ruby on Ubuntu 20.04 with rbenv sshd: no hostkeys available - exiting May 11 2020 How to install NodeJS on Ubuntu Install ruby on Ubuntu 20.04 May 16 2020 How to access Linux files on WSL from Windows 10 File Explorer Install NodeJS on Ubuntu May 19 2020 How to create virtual environment for Python on Ubuntu Linux Access WSL Linux files from Windows 10 Explorer May 20 2020 How to install python pip on Ubuntu Linux Create python virtual environment May 20 2020 How to install zoom on Ubuntu Linux How to install pip on Ubuntu May 20 2020 How to install ruby 2.3.3 on Ubuntu 20.04 Install Zoom on Ubuntu May 21 2020 How to enable en install software from Debian backports Install old ruby 2.3.x on latest Ubuntu 20.04 May 22 2020 How to create new users in Linux with the useradd command Install from Debian backports May 23 2020 How to add new service to systemd and control it with systemctl How to create users in Linux with useradd May 31 2020 How to list the active cronjobs in Linux How to add a new service to systemd May 31 2020 How to add a second private key to ssh in Linux and configure ssh to use it to log into servers How to install Wallabag on Ubuntu using SQLite Jul 4 2020Īn installation guide to have Wallabag running on Ubuntu with Nginx and SQLite as database How to list the active cronjobs in Linux Jun 2 2020 How to solve Arhc Linux problem of FAILED unknown public key How to add a second private key to ssh in Linux Jul 6 2020 ![]() Note that these statistics are public unless you secure them.Īdd the following code to /etc/crontab for each domain:Ġ */3 * * * /usr/lib/cgi-bin/ -config=yourdomain.Ten useful Docker commands that might help you, and not everybody knows Arch Linux, Aur error - FAILED unknown public key Jul 9 2020 Statistics for yourdomain.ext should now be available at:įor if you have multiple config files. Reload apache2: /etc/init.d/apache2 reload.Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Otherwise, add this code inside the VirtualHost tag for each domain you want to monitor: Alias /awstatsclasses "/usr/share/awstats/lib/"Īlias /awstats-icon "/usr/share/awstats/icon/"Īlias /awstatscss "/usr/share/doc/awstats/examples/css" ![]() If you have no VirtualHosts set up, place the following code in '/etc/apache2/sites-available/default'. Navigate to /etc/apache2/sites-available/ cd /etc/apache2/sites-available/.In order to access Awstats, we have to tell Apache2 where it is. generate the initial stats for AWStats based on existing var/log/apache2/access.log: /usr/lib/cgi-bin/ -config=yourdomain.ext -updateįirst tell your apache to use mod_cgi if you haven't enabled it yet a2enmod cgi.make the following changes: LogFile="/var/log/apache2/access.log" SiteDomain="yourdomain.ext" HostAliases="localhost 127.0.0.1 yourdomain.ext".Open file with vi or nano: vi /etc/awstats/ or nano /etc/awstats/.Create a copy of nf for each domain: cp /etc/awstats/nf /etc/awstats/.Install AWStats with Synaptic or sudo apt-get install awstatsĪwstats configuration files in Ubuntu are located in /etc/awstats. For more help, get XChat and subscribe to channel "#awstats" on the Ubuntu Server. It assumes you already have an Apache2 web server up and running. The following documentation contains specific information on installing and configuring Awstats with Ubuntu and Apache2. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers. It uses a partial information file to be able to process large log files, often and quickly. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |