today's howtos
-
Static Addresses in OpenStack Networking
When you launch a virtual machine on an OpenStack-managed network, the VM generally receives a random address in the active subnet. A researcher at work, however, needed a system for launching instances that have static addresses so he could preconfigure the local
/etc/hosts
file with all his machines. -
Richard W.M. Jones: nbdkit’s evil filter
If you want to simulate how your filesystem behaves with a bad drive underneath you have a few options like the kernel dm-flakey device, writing a bash nbdkit plugin, kernel fault injection or a few others. We didn’t have that facility in nbdkit however so last week I started the “evil filter”.
-
Troubleshoot boot problems by reinstalling GRUB on Linux
The GRand Unified Bootloader, or GRUB, is a crucial component that manages the boot process for Linux systems. Sometimes, due to system errors, updates, or disk corruption, GRUB may malfunction, leading to boot issues. Fortunately, reinstalling GRUB can resolve these problems and get your system up and running again.
-
TR Command in Linux: A Guide with Practical Examples
In the realm of Linux, the `tr` command is a vital tool that users can employ for text processing. TR, short for translate, is utilized to translate or delete characters from standard input, writing to standard output. It may seem simple on the surface, but the `tr` command offers a great depth of functionality.
-
Build lean Node.js container images with UBI and Podman
Building a container image for your Node.js application might sound like a trivial task, but there are some pitfalls you’ll want to avoid along the path to containerizing your application. It is all too easy to accidentally include sensitive files, run more than one process in the container, run as root, or ship bloated container images. Because all of these mistakes reflect an image constructed without due care, reducing bloat reduces them all.
This post focuses on the “bloated container images” mistake that’s pretty easy to make when building Node.js application container images. Keep reading to learn about container image layers, how you can slim down a Node.js container image based on Red Hat’s Universal Base Images by over 70% (see Figure 1), and even more best practices for building containers.
-
A comprehensive guide to Linux Bootloader installation
The GRand Unified Bootloader, more commonly known as GRUB, is the default bootloader for most Linux distributions. It's the first software that runs when a computer starts and is responsible for loading the operating system into memory. GRUB is especially useful in multi-boot setups, as it allows users to choose from multiple operating systems during startup.