Tagging-Archive: debian


force apt-get to use ipv4

Debian / Ubuntu prefer to use IPv6 DNS Records. This leads to problems if the server supports only IPv4. The problem can easily solved. We only need to change the config for getaddrinfo(). Open /etc/gai.conf and change #precedence ::ffff:0:0/96 100 to precedence ::ffff:0:0/96 100 For me it was line 54.


versioning etc directory with etckeeper 2

The configuration directory / etc should be versioned for documentary reasons and for backup. All changes are visible at a glance and a previous state can be restored easily. In / etc are also security-related information. Therefore, care should be taken when transferring and backup the repository on encrypting and […]


sync mails with dovecot over tcp 7

I use on my servers ISPConfig, for IMAP and POP3 Dovecot is used. With Dovecot 2.x, the mails can also keep in sync between two servers. The replication is done via the Dovecot index files. So neither an error in the file system nor an accidentally deleted Maildir have a […]


change document root of mod_suexec

In mod_suexec, ‘document_root’ can not be changed because it is compiled directly. To change the default path of debian (/ var / www), you must either re-compile mod_suexec or even use the suexec-custom package. apt-get install apache2-suexec-custom After that, the directory can be changed in / etc/apache2/suexec/www-data: /srv/www public_html/php-fcgi # […]