]>
Commit | Line | Data |
---|---|---|
0e2063c3 PL |
1 | Installing PowerDNS |
2 | =================== | |
3 | ||
4 | Installation of the PowerDNS Authoritative server on UNIX systems can be | |
5 | done in several ways: | |
6 | ||
7 | - Binary packages provided by your distribution | |
8 | - Binary packages provided by PowerDNS on | |
9 | `repo.powerdns.com <https://repo.powerdns.com>`__ | |
10 | ||
11 | Binary Packages | |
12 | --------------- | |
13 | ||
14 | Debian-based Systems | |
15 | ~~~~~~~~~~~~~~~~~~~~ | |
16 | ||
17 | PowerDNS Authoritative Server is available through the | |
18 | `apt <https://packages.debian.org/pdns-server>`__ system. | |
19 | ||
633489be | 20 | .. code-block:: shell |
0e2063c3 | 21 | |
3ee1b9c9 | 22 | $ sudo apt-get install pdns-server |
0e2063c3 PL |
23 | |
24 | Debian splits the backends into `several different | |
25 | packages <https://packages.debian.org/pdns-backend>`__, install the | |
26 | required backend as follows: | |
27 | ||
633489be | 28 | .. code-block:: shell |
0e2063c3 | 29 | |
3ee1b9c9 | 30 | $ sudo apt-get install pdns-backend-$backend |
0e2063c3 PL |
31 | |
32 | Redhat-based Systems | |
33 | ~~~~~~~~~~~~~~~~~~~~ | |
34 | ||
35 | On RedHat based system there are 2 options to install PowerDNS, from | |
36 | `EPEL <https://fedoraproject.org/wiki/EPEL>`__, the `repository from | |
37 | Kees Monshouwer <https://www.monshouwer.eu/download/3rd_party/pdns/>`__ | |
38 | or from `the PowerDNS repositories <https://repo.powerdns.com>`__: | |
39 | ||
40 | Add either to your list of repositories and install PowerDNS by issuing: | |
41 | ||
633489be | 42 | .. code-block:: shell |
0e2063c3 | 43 | |
3ee1b9c9 | 44 | $ sudo yum install pdns |
0e2063c3 PL |
45 | |
46 | The different backends can be installed using | |
47 | ||
633489be | 48 | .. code-block:: shell |
0e2063c3 | 49 | |
3ee1b9c9 | 50 | $ sudo yum install pdns-backend-$backend |
0e2063c3 PL |
51 | |
52 | FreeBSD | |
53 | ~~~~~~~ | |
54 | ||
55 | PowerDNS Authoritative Server is available through the | |
56 | `ports <http://www.freshports.org/dns/powerdns/>`__ system: | |
57 | ||
58 | For the package: | |
59 | ||
633489be | 60 | .. code-block:: shell |
0e2063c3 | 61 | |
3ee1b9c9 | 62 | $ sudo pkg install dns/powerdns |
0e2063c3 PL |
63 | |
64 | To have your system build the port: | |
65 | ||
633489be | 66 | .. code-block:: shell |
0e2063c3 PL |
67 | |
68 | cd /usr/ports/dns/powerdns/ && make install clean | |
69 | ||
70 | Mac OS X | |
71 | ~~~~~~~~ | |
72 | ||
73 | PowerDNS Authoritative Server is available through Homebrew: | |
74 | ||
633489be | 75 | .. code-block:: shell |
0e2063c3 PL |
76 | |
77 | $ brew install pdns | |
78 | ||
79 | After installation | |
80 | ------------------ | |
81 | ||
82 | Once installed, :doc:`guides/basic-database` using MySQL or start :doc:`migrating <migration>` your data. |