Розбіжності
Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
Порівняння попередніх версій Попередня ревізія Наступна ревізія | Попередня ревізія | ||
debian:pdns_server [09/10/2022 10:25] – [Панель адміністрування PowerDNS-Admin] Method | debian:pdns_server [11/10/2022 13:19] (поточний) – [Install PowerDNS server] Method | ||
---|---|---|---|
Рядок 13: | Рядок 13: | ||
===== Install MariaDB ===== | ===== Install MariaDB ===== | ||
[[debian: | [[debian: | ||
- | ===== Install | + | |
+ | За бажанням можна встановити | ||
[[debian: | [[debian: | ||
+ | |||
[[debian: | [[debian: | ||
===== Install PowerDNS server ===== | ===== Install PowerDNS server ===== | ||
- | [[https:// | + | |
+ | В репозиторіях є зазвичай, | ||
+ | |||
+ | Там знаходимо стабільну версію програми і застосовуємо зміни в списку репозиторіїв | ||
+ | |||
+ | <code bash> | ||
+ | sh -c 'echo "deb [arch=amd64] http:// | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | tee / | ||
+ | Package: pdns-* | ||
+ | Pin: origin repo.powerdns.com | ||
+ | Pin-Priority: | ||
+ | EOF | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | curl https:// | ||
+ | chmod 644 / | ||
+ | </ | ||
<code bash> | <code bash> | ||
apt-get update | apt-get update | ||
apt-get install -y pdns-server pdns-backend-mysql | apt-get install -y pdns-server pdns-backend-mysql | ||
- | nano / | + | cp -r / |
</ | </ | ||
<code bash> | <code bash> | ||
+ | tee / | ||
setgid=pdns | setgid=pdns | ||
setuid=pdns | setuid=pdns | ||
Рядок 33: | Рядок 58: | ||
include-dir=/ | include-dir=/ | ||
launch= | launch= | ||
+ | EOF | ||
</ | </ | ||
- | |||
===== prepeare mysql db ===== | ===== prepeare mysql db ===== | ||
<code bash> | <code bash> | ||
Рядок 231: | Рядок 256: | ||
chown -R www-data: | chown -R www-data: | ||
chown -R www-data: | chown -R www-data: | ||
- | </ | ||
- | |||
- | <code bash> | ||
- | systemctl daemon-reload | ||
- | systemctl start powerdns-admin | ||
- | systemctl enable powerdns-admin | ||
</ | </ | ||
Рядок 257: | Рядок 276: | ||
<code bash> | <code bash> | ||
+ | chown -R pdns:root / | ||
systemctl restart pdns | systemctl restart pdns | ||
</ | </ | ||
Рядок 264: | Рядок 284: | ||
Click “Create an account” button and Register a user. The first user will be in the Administrator role. | Click “Create an account” button and Register a user. The first user will be in the Administrator role. | ||
- | Provide PowerDNS API connection information before PowerDNS-Admin can query your PowerDNS data. This is done under Settings > PDNS</ | + | Provide PowerDNS API connection information before PowerDNS-Admin can query your PowerDNS data. This is done under Settings > PDNS |
===== Нотатки ===== | ===== Нотатки ===== |