aboutsummaryrefslogtreecommitdiff
path: root/doc/doc.RPKI.Installation.DebianPackages
blob: fe5ab7d8ba6e807267c0862ff127b19349ff5079 (plain) (blame)
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
****** Installation Using Debian Packages on Debian and Ubuntu Systems ******

Precompiled binary packages for Ubuntu 12.04 LTS ("Precise Pangolin") and
Debian 7 ("Wheezy") are available from download.rpki.net using the Debian
Advanced Package Tools (APT). To use these, you need to configure APT on your
machine to know about our APT repository, but once you've done this you should
be able to install and update these packages like any other precompiled
package.

***** Initial APT Setup *****

You should only need to perform these steps once for any particular machine.

* Add the GPG public key for this repository (optional, but APT will whine
  unless you do this):

    wget -q -O - http://download.rpki.net/APT/apt-gpg-key.asc | sudo apt-key
    add -

* Configure APT to use this repository (for Ubuntu systems):

    sudo wget -q -O /etc/apt/sources.list.d/rpki.list http://download.rpki.net/
    APT/rpki.ubuntu.list

* Configure APT to use this repository (for Debian systems):

    sudo wget -q -O /etc/apt/sources.list.d/rpki.list http://download.rpki.net/
    APT/rpki.debian.list

***** Installation Using APT Tools *****

These instructions assume that you're using apt-get. Other APT tools such as
aptitude should also work.

* Update available packages:

    sudo apt-get update

* Install the software:

    sudo apt-get install rpki-rp rpki-ca

* Customize the default rpki.conf for your environment as necessary. In
  particular, you want to change handle and rpkid_server_host. There are
  obsessively detailed instructions.

    sudo emacs /etc/rpki.conf

     Again, you want to change handle and rpkid_server_host at the
     minimum.

* If you changed anything in rpki.conf, you should restart the RPKI CA service:

    sudo initctl restart rpki-ca

***** Upgrading *****

Once you've performed the steps above you should be able to upgrade to newer
version of the code using the normal APT upgrade process, eg:

  sudo apt-get update
  sudo apt-get upgrade

Or, if you only want to update the RPKI tools:

  sudo apt-get update
  sudo apt-get upgrade