SSH - How to switch from RSA to ECDSA

The following process may take some time, depending on the number of server you connect to and where your public keys are stored. It is advisable to make a backup of both your id_rsa and id_rsa.pub files right now. Generate a new ECDSA key ssh-keygen -t ecdsa…

Configure Pi-hole for DNS-over-TLS

Pi-hole is a wonderful program for both technical and non-technical users to run a local DNS caching server, allowing you to block malicious and ad-serving domains. One of the fundamental flaws of DNS is the lack of encryption or integrity, which allows your ISP to snoop DNS traffic or spoof…

First Steps After Installing Proxmox 8

Introduction After the installation is complete, there are some essential initial configurations and optimisations you should perform to ensure your Proxmox server is secure, efficient, and ready for action. In this guide, we will walk you through these crucial first steps. Step 1: Check DNS Settings Before diving into any…

Simple Bash script to backup Docker Bind data & Volumes

Introduction Regular data backups are vital. We all know this. So in that spirit, I've made a simple bash script that does the following: 1. Stops all running Docker containers on the server. 2. Creates an archieve file of all the bind mount data. 3. Creates archieves of…

Backup and Restore your Homebrew Setup

Introduction Homebrew is a popular package manager for MacOS. It provides easy access to thousands of programs and applications. It is developed and maintained by an open-source community on Github. Use Homebrew bundle to backup and restore your Homebrew configuration. If you haven’t installed it yet, go take a…

Mastering Dotfiles Management with GNU Stow

Introduction When you work on a computer, you often have specific preferences for how your applications or shell environment should behave. For example, you may prefer a certain colour scheme in your terminal, or you may want to have specific aliases for common shell commands. These preferences can be set…

Mount an SMB Share in Linux

Installation The LinuxCIFS utils package provides the tools needed to connect to a share and manage mounts on a Linux system. You use it to help create and manage a connection to a Windows, macOS, or Linux share. Update the list of available packages using the below command: sudo nala…

How to enable log rotation for Docker containers

The log files for your Docker applications can grow to enormous size if allowed to - many 100's of GBs. I have heard of these logs crashing systems due to their filling up the storage on the server. Thankfully, the simple solution to this issue is the logrotaion…