Linux

Most of these posts are simply my internal notes turned into something I can share with others. I definitely don’t claim to be an expert on every topic I write about, but I hope they can serve as a useful starting point, reference, or outline for someone working on a similar problem. If you spot anything that could be improved, corrected, or explained better, I’d really appreciate your feedback. Always happy to learn and improve!

Hibernation on Fedora Workstation 42

Hibernation is a process where the entire contents of the computer’s RAM (volatile memory) are written to disk (non-volatile storage) before powering off. When the computer turns back on, it loads the previously saved memory data from disk back into RAM, preserving whatever you were doing …

Global command logging in Linux

If you are a Linux system administrator, you’ve probably used the history command before. It allows you to list previously executed commands in your shell. But the history command has a few shortcomings if you want to use it as a simple auditing tool. For example: It only shows commands from the …

Serving a Django Application with Apache over HTTPS

Deploying a Django application to production requires a stable, web server architecture. While Nginx combined with Gunicorn or Uvicorn is a common modern stack, Apache HTTP Server paired with mod_wsgi remains a time tested choice for serving Python web applications. In this post, we will walk …

Python HTTP Server For Simple File Transfers

Sometimes, you’re just not in the mood to type out long scp or rsync commands just to pull a file from a remote server. For those quick-and-dirty transfers especially over a local network Python offers a surprisingly handy tool.

Expanding Disks in Linux

Expanding disk space in a Linux system is a common task, especially in virtual environments. Whether you’re using a generic distribution or specialized distribution, the process involves expanding the partition, resizing the physical volume, logical volume (if using LVM), and finally the …

High Availability With Keepalived and Haproxy

In a production environment, ensuring your infrastructure is always available is critical. Combining HAProxy (for load balancing) and Keepalived (for automatic failover) provides a robust solution for high availability.

Cockpit Dashboard

Cockpit is a lightweight, web-based graphical interface for managing Linux servers. It’s designed to simplify routine administrative tasks through an intuitive dashboard, making it ideal for system administrators who prefer visual tools.

Using Timeshift to Snapshot a Linux System

Timeshift is a powerful backup and system restore utility for Linux, designed primarily for creating and managing system snapshots.

Bash Aliasing

If you find yourself repeatedly typing long commands in your terminal, Bash aliases are a quick and powerful way to streamline your workflow. They allow you to create custom shortcuts for frequently used commands, making your day-to-day operations faster and more efficient.