-
Notifications
You must be signed in to change notification settings - Fork 2
/
install-ubuntu.html
87 lines (87 loc) · 3.13 KB
/
install-ubuntu.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html>
<head>
<title>Hockeypuck</title>
<link type="text/css" rel="stylesheet" href="static/article.css">
<meta charset='utf-8'>
</head>
<body>
<div id="topbar" class="wide">
<div class="container">
<div id="heading">Hockeypuck
OpenPGP Public Keyserver
</div>
</div>
</div>
<div id="page" class="wide">
<div class="container">
<div id="toc">
<ul>
<li><a href="#TOC_1.">Install on Ubuntu Server</a></li>
<li><a href="#TOC_2.">Prerequisites</a></li>
<ul>
<li><a href="#TOC_2.1.">Ubuntu 14.04</a></li>
</ul>
<li><a href="#TOC_3.">Add the unstable Hockeypuck PPA</a></li>
<li><a href="#TOC_4.">Install the database of your choice</a></li>
<li><a href="#TOC_5.">Install Hockeypuck</a></li>
<li><a href="#TOC_6.">Configure Hockeypuck</a></li>
<li><a href="#TOC_7.">Running from user-space</a></li>
<li><a href="#TOC_8.">Running with upstart</a></li>
<ul>
<li><a href="#TOC_8.1.">Enable the service</a></li>
<li><a href="#TOC_8.2.">Start the service</a></li>
</ul>
</ul>
</div>
<h1 id="TOC_1.">1. Install on Ubuntu Server</h1>
<h1 id="TOC_2.">2. Prerequisites</h1>
<h2 id="TOC_2.1.">2.1. Ubuntu 20.04</h2>
<p>
The latest LTS is recommended. Hockeypuck 2.0 is currently packaged for bionic.
</p>
<h1 id="TOC_3.">3. Add the daily Hockeypuck PPA</h1>
<div class="code"><pre>sudo apt-add-repository ppa:hockeypuck/daily
sudo apt-get update</pre></div>
<h1 id="TOC_4.">4. Install the database of your choice</h1>
<p>
If you plan on connecting to a local database on the same server, install it now:
</p>
<p>
PostgreSQL ≥ 9.4:
</p>
<div class="code"><pre>sudo apt install postgresql</pre></div>
<h1 id="TOC_5.">5. Install Hockeypuck</h1>
<div class="code"><pre>sudo apt install hockeypuck</pre></div>
<h1 id="TOC_6.">6. Configure Hockeypuck</h1>
<p>
Edit the <a href="configuration.html" target="_self">configuration</a> file <code>/etc/hockeypuck/hockeypuck.conf</code>.
Basic templates for PostgreSQL are provided, and should be copied to <code>/etc/hockeypuck/hockeypuck.conf</code>
and edited to suit your needs, and to add any remote peers.
</p>
<h1 id="TOC_7.">7. Running from user-space (optional)</h1>
<p>
Run the Hockeypuck from the command-line with:
</p>
<div class="code"><pre>sudo -i -u hockeypuck
/usr/bin/hockeypuck -config /path/to/custom/hockeypuck.conf</pre></div>
<h1 id="TOC_8.">8. Running with upstart</h1>
<h2 id="TOC_8.1.">8.1. Enable the service</h2>
<p>
To prevent running the service unconfigured, auto-starting the service is
disabled on package install. Enable auto-start with:
</p>
<div class="code"><pre>echo "initstart=yes" > /etc/default/hockeypuck</pre></div>
<h2 id="TOC_8.2.">8.2. Start the service</h2>
<div class="code"><pre>sudo service hockeypuck start</pre></div>
<h2>Authors</h2>
<div class="author">
<p>
Casey Marshall
</p>
<p class="link"><a href="https://hockeypuck.io/" target="_blank">https://hockeypuck.io/</a></p>
</div>
</div>
</div>
</body>
</html>