Linux

OneBusAway Server Configuration and Deployment Guide

Setting up OneBusAway on a Debian 8 server? This guide provides step-by-step instructions for building and configuring a permanent installation using Tomcat, Maven, and MySQL. From compiling the codebase to setting up feeds and services, every part of the process is covered to get the system running reliably.

Perfectly Cloning a Ext4 Linux Partition

Cloning an ext4 Linux partition doesn’t have to be complicated. With dd and a few smart tweaks—like piping through pv for progress feedback and setting an appropriate block size—you can create exact drive images or clone partitions directly. Whether you're working locally, over SSH, or between cloud instances in recovery mode, these techniques make the process faster and more transparent.​

Shrinking a Linode Ext4 Block Storage Volume

Linode Block Storage volumes can only be resized upward—but there’s a workaround for shrinking them. By cloning the original volume, resizing the clone, and transferring the data to a new, smaller volume, you can effectively reduce storage size without data loss. This process involves careful use of Rescue mode, resize2fs, and volume management tools.

Watch Linux Command Output

Need a live, continuously updating view of a command’s output in Linux? The watch utility makes it easy to monitor system state, resource usage, or custom scripts by rerunning commands at fixed intervals. It’s a simple but powerful tool for staying on top of dynamic data without manually re-executing commands.

A "Live View" of Linux Files

Need a live view of a Linux file as it updates? The tail command makes it easy to monitor changes in real time, perfect for watching log files and tracking system activity as it happens.