An easy to setup packaging of GoAccess for use on DreamHost web-hosting services (shared servers and VPS).
Features:
- Automatically lists active web sites.
- Generate GoAccess reports based on current logs.
- Generate Reports for single or multiple sites.
- Entirely written in Bash CGI!
Notes:
- Reports use the avaiable raw logs, which DH default to 3 days. Sites can be configured to keep up to 30 days of raw logs in the Site Statistics Panel.
- Reports are generated on the fly, so expect ~35 seconds of processing time per million requests.
GoAccess-DH can be installed anywhere on a web site. It comes with a pre-built binary of GoAccess (see below for building from scratch).
-
Quick Install
Log in to a site's shell user (e.g.
ssh myuser@myhost.dreamhost.com
) and clone GoAccess-DH into the site's web directory. For example:git clone https://github.com/chuckhoupt/goaccess-dh.git ~/example.com/goaccess-dh
Now visit
example.com/goaccess-dh/
to see stats for all the sites hosted under that shell user.
-
Secure Reports
Setup password protection for the
goaccess-dh
directory via DH's Htaccess Panel. -
Build from Source
If you'd prefer to build your own binary, run Make to configure and compile GoAccess:
make -C ~/example.com/goaccess-dh/bin
These projects have a similar intent to GoAccess-DH, but require root access: