Generating an HTML Table Using Shell Script

If you ever need to generate an HTML table from file data, here is a basic shell script that should do the trick. If you’d rather use Python, check out the Python 3 tutorial here. #!/bin/bash # Run as: table.sh < {input-file-name} > {output-file-name} # The script requires a space-delimited data file to parse into […]

A Quick Guide for Configuring LVM

So, you’ve got a hard disk or solid state drive that you need to partition and you’re thinking about configuring it with Logical Volume Manager (“LVM”). Here’s a quick walk-through of the steps needed to get LVM working on your drive. LVM Basics Let’s first look at some basic LVM terminology. It’s helpful to think […]

Hardening the Xen Hypervisor Debian 9 DomU: A review of default packages and libraries

The threat of running unnecessary services on a system bloated with extra software is a less commonly discussed security concern. Yet enabled and listening services weaken the server’s defences by creating potential entry points for the attacker, as well as by providing resources for the attacker to use against other machines. The server hardening maxim we’re interested in today goes as follows: “Install only necessary software; delete or disable everything else.” With this topic in mind, our task is to examine how this technique applies to a Xen Project hypervisor DomU virtual machine running a paravirtualized Debian 9 operating system.