Hockeypuck OpenPGP Public Keyserver

1. Install on Ubuntu Server

2. Prerequisites

2.1. Ubuntu 20.04

The latest LTS is recommended. Hockeypuck 2.0 is currently packaged for bionic.

3. Add the daily Hockeypuck PPA

sudo apt-add-repository ppa:hockeypuck/daily
sudo apt-get update

4. Install the database of your choice

If you plan on connecting to a local database on the same server, install it now:

PostgreSQL ≥ 9.4:

sudo apt install postgresql

5. Install Hockeypuck

sudo apt install hockeypuck

6. Configure 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.

7. Running from user-space (optional)

Run the Hockeypuck from the command-line with:

sudo -i -u hockeypuck
  /usr/bin/hockeypuck -config /path/to/custom/hockeypuck.conf

8. Running with upstart

8.1. Enable the service

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

8.2. Start the service

sudo service hockeypuck start


Casey Marshall