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…

ctop - concise commandline monitoring for containers

Top-like interface for container metrics ctop provides a concise and condensed overview of real-time metrics for multiple containers: as well as a single container view for inspecting a specific container. ctop comes with built-in support for Docker and runC; connectors for other container and cluster systems are planned for future…

Docker - move data from Bind Mount to Volume

I recently decided to move the persistent data for this Ghost blog from a Bind Mount to a dedicated Docker Volume, this was mainly due to issues with backing up a running SQL database. Below is the simple process I followed. * Stop the running container (For example Dozzle). * Create a…

ZimaBoard - personal cloud

Introduction The ZimaBoard is a low-cost single board server that can be hacked to run various open source applications and services. It has both the expandability of an x86 SBC and the power of a micro server, and supports Linux, Windows, OpenWrt, pfSense, Android and more. My homelab has been…

Seafile (with MariaDB)

Introduction Seafile is an open-source, cross-platform file-hosting software system. Files are stored on a central server and can be synchronized with personal computers and mobile devices through apps. Files on the Seafile server can also be accessed directly via the server's web interface. Seafile's functionality is…