Fail2Ban

Introduction Fail2Ban is a free and open source software that helps in securing your Linux server against malicious logins. Fail2Ban will ban the IP (for a certain time) if there is a certain number of failed login attempts. Installing Fail2Ban sudo apt install -y fail2ban My Fail2Ban Settings File Fail2Ban…

Setting up software RAID Storage on Linux

Introduction RAID, which stands for Redundant Array of Independent Disks, is a data storage virtualisation technology that combines multiple physical disk drive components into one or more logical units. The purpose of RAID is to improve data redundancy and performance. Understanding RAID Levels Before setting up RAID, it's…

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…