debian

Installing the new Dendrite Matrix Homeserver on Debian Buster

This post contains my personal notes on how to set up Dendrite, Matrix.org’s second-generation homeserver written in Go. These notes are not yet complete, but do contain the basics to get things going.

Setup Unbound DNS cache & resolver on Debian Buster

sudo apt install unbound sudo su -c "unbound-anchor -a /var/lib/unbound/root.key" sudo tee -a /etc/unbound/unbound.conf << EOF > /dev/null server: interface: 127.0.0.1 interface: ::1 access-control: 127.0.0.0/8 allow access-control: ::1/128 allow # enable remote-control (useful when utilising monitoring tools such as netdata) remote-control: control-enable: yes EOF sudo systemctl restart unbound sudo apt install resolvconf sudo nano /etc/network/interfaces change nameservers to 127.

Zsh: Increase your productivity when using the terminal

Recently, I’ve become a big fan of replacing bash with zsh as my standard shell on Debian. Combined with the Oh My Zsh (GitHub) framework, it makes the terminal more convenient to use, offering better history search, autocompletion and plugins for many popular tools, such as git, systemctl and kubectl.

Brother printer: Install on Debian

Brother printers work great on Linux. However, in order to make use of all supported features such as toner-save, you’ll need to install the manufacturer’s driver. wget https://download.brother.com/welcome/dlf006893/linux-brprinter-installer-2.2.1-1.gz gunzip linux-brprinter-installer-*.*.*-*.gz Turn on printer

Unattended upgrades: Reboot Required E-mail Notification

I like my systems to automatically apply security updates. Sometimes these require a reboot, but I do not want reboots to happen unattended. This script: Checks daily (every day at 8.

IMAP: How to migrate mailboxes using imapsync

This guide assumes you are using Debian Buster sudo apt install git rcs make makepasswd cpanminus sudo apt install libauthen-ntlm-perl \ libclass-load-perl libcrypt-ssleay-perl liburi-perl \ libdata-uniqid-perl libdigest-hmac-perl libdist-checkconflicts-perl \ libfile-copy-recursive-perl libio-compress-perl libio-socket-inet6-perl \ libio-socket-ssl-perl libio-tee-perl libmail-imapclient-perl \ libmodule-scandeps-perl libnet-ssleay-perl libpar-packer-perl \ libreadonly-perl libsys-meminfo-perl libterm-readkey-perl \ libtest-fatal-perl libtest-mock-guard-perl libtest-pod-perl \ libtest-requires-perl libtest-simple-perl libunicode-string-perl \ libfile-tail-perl libcrypt-openssl-rsa-perl libjson-webtoken-perl \ libregexp-common-perl libtest-mockobject-perl libtest-deep-perl \ libcgi-pm-perl liblwp-useragent-chicaching-perl libencode-imaputf7-perl sudo apt install libssl-dev sudo apt install apt-file git clone https://github.

Debian: How to add an external repository to unattended upgrades

In this post, we’ll be using Rspamd as an example. ls /var/lib/apt/lists/ look for repository ending with _InRelease e.g.: rspamd: cat /var/lib/apt/lists/rspamd.com_apt-stable_dists_stretch_InRelease result: [...] Origin: Rspamd Label: Rspamd Codename: stretch Date: Wed, 13 Dec 2017 21:02:14 UTC Architectures: amd64 i386 Components: main Description: Apt repository for rspamd stable builds [.

Debian: How to build & install a recent OpenSMTPd release on Buster with LibreSSL

Build & Install LibreSSL apt update apt install git nano wget nano /etc/apt/sources.list Make sure deb-src is enabled deb-src http://deb.debian.org/debian buster main apt update apt build-dep openssl git clone https://github.