The latest LTS is recommended. Hockeypuck 2.0 is currently packaged for bionic.
sudo apt-add-repository ppa:hockeypuck/daily sudo apt-get update
If you plan on connecting to a local database on the same server, install it now:
PostgreSQL ≥ 9.4:
sudo apt install postgresql
sudo apt install hockeypuck
Edit the configuration file /etc/hockeypuck/hockeypuck.conf
.
Basic templates for PostgreSQL are provided, and should be copied to /etc/hockeypuck/hockeypuck.conf
and edited to suit your needs, and to add any remote peers.
Run the Hockeypuck from the command-line with:
sudo -i -u hockeypuck /usr/bin/hockeypuck -config /path/to/custom/hockeypuck.conf
To prevent running the service unconfigured, auto-starting the service is disabled on package install. Enable auto-start with:
echo "initstart=yes" > /etc/default/hockeypuck
sudo service hockeypuck start