Hockeypuck OpenPGP Public Keyserver

1. Install on Ubuntu Server

2. Prerequisites

2.1. Ubuntu 14.04

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

3. Add the unstable Hockeypuck PPA

sudo apt-add-repository ppa:hockeypuck/unstable
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:


sudo apt-get install mongodb-server

PostgreSQL 9.4:

Get it from the PostgreSQL Apt repository for LTS distributions.

5. Install Hockeypuck

sudo apt-get install hockeypuck

6. Configure Hockeypuck

Edit the configuration file /etc/hockeypuck/hockeypuck.conf. Basic templates for mongoDB and 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