atomia / atomiadns

Atomia DNS
http://www.atomiadns.com/
ISC License
360 stars 101 forks source link

Several fixes for Ubuntu 16.04 #32

Closed stefan-strandberg closed 7 years ago

stefan-strandberg commented 7 years ago

The apache2-mpm-prefork package is included with Apache on Ubuntu 16.04 so we no longer need this dependency.

Apache config update to use the "new style"

Systemd has replaced upstart so added a systemd script for atomiadns-powerdnssync

2 additional dependencies (libdbi-perl, libdbd-mysql-perl) needed for atomiadns-powerdnssync

stefan-strandberg commented 7 years ago

Looks like it is prefork by default below is from a 16.04 server I just provisioned with AtomiaDNS

root@ip-10-0-0-75:/home/ubuntu# apachectl -V Server version: Apache/2.4.18 (Ubuntu) Server built: 2016-07-14T12:32:26 Server's Module Magic Number: 20120211:52 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/etc/apache2" -D SUEXEC_BIN="/usr/lib/apache2/suexec" -D DEFAULT_PIDLOG="/var/run/apache2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="mime.types" -D SERVER_CONFIG_FILE="apache2.conf"