AJ's Blog

This is a personal blog focused on computer software and hardware. Most projects are implementing software and hardware for a homelab. What is a homelab? I would say a homelab could be a single computer or dozens of computers connected in a network. You can also integrate with computers in the Cloud.

Continue reading...

Recent Posts

TrueNAS for homelab storage

01-29-2022

One of the most useful systems to set up in a homelab is shared storage. Making storage available over the network makes it easier to share files and make system backups.

A popular operating system for creating a network storage server is called TrueNAS which is based on FreeBSD and Linux and uses the OpenZFS file system. For a home lab, the BSD licensed free and public TrueNAS Core can be used in a homelab. This operating system is a stable base to set up SMB file shares for Windows clients, AFP for macOS, NFS for Linux, iSCSI for block storage, rsync daemons, and FTP servers.

KVM, QEMU, and libvirt

01-23-2022

This post is taking a look at another suite of software to create and manage Virtual Machines. For a background on computer virtualization, check out a previous post.

Linux distributions support virtualization through the Linux kernel which is why the software is called KVM. This stands for “Kernel-based virtual machine”. It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko.

Building websites with containers, hugo and AWS Amplify

01-08-2022

AWS Amplify is a set of tools and services that can be used together or on their own, to help front-end web and mobile developers build scalable full stack applications, powered by AWS (Amazon Web Services). With Amplify, you can configure app backends and connect your app in minutes, deploy static web apps in a few clicks, and easily manage app content outside of AWS.

Use the Amplify console to host static websites and single page web apps with a Git-based workflow, simply by connecting your app’s git repository. With this service, you do not have to configure infrastructure to host your site, and can just commit changes to a git repository.

Netboot.xyz

12-31-2021

The tool netboot.xyz can be used to bootstrap operating systems onto new physical or virtual computers and also run utilities to recover data over the network. With this tool you can PXE boot without having to create a lot of infrastructure to support PXE installations. With netboot.xyz, I can use a single bootable image on a usb drive or mounted to a virtual machine to install many different operating systems. This tool leverages the iPXE project to load different operating system images.

ZShell

12-19-2021

What is a shell?

The shell is a program that translates human readable words (commands) and converts them into binary data that the Operating System kernel can interpret. The shell can interpret commands entered from the keyboard or a file commonly refered to as a script.

You can access the shell through a terminal program on the local computer or remotely using SSH.

The most popular shells that I am aware of are:

ZSH

Zsh is a shell that builds on shells such as bash, ksh, and tcsh. Zsh offers some useful features such as better tab completion.