Home
David's tidbits
Cancel

My Opinion on the Raspberry PI

When the Raspberry PI first came out, I was thrilled at what the RPI Foundation was attempting. A small, single board computer that supported a graphical Linux distro! I know people working in thir...

Installing Ansible (Red Hat)

No matter your role, or what your automation goals are, Ansible can help you demonstrate value, connect teams, and deliver efficiencies for your organization. Built on open source, Red Hat® Ansi...

Installing Ansible (Ubuntu)

No matter your role, or what your automation goals are, Ansible can help you demonstrate value, connect teams, and deliver efficiencies for your organization. Built on open source, Red Hat® Ansi...

RHEL 8/9 - Setting the hostname and IP Address

Setting the hostname sudo hostnamectl set-hostname new_hostname Find the NIC name In this case it is named “ens18”. $ nmcli device DEVICE TYPE STATE CONNECTION ens18 ethernet connec...

RHEL 8/9 - Enabling the EPEL Repository

This script will install the appropriate EPEL repository for your version of RHEL. #!/bin/bash MAJOR_VERSION=$(cat /etc/os-release | grep "VERSION_ID" | \ cut -f 2 -d "=" | cut -f 2 -d '"' | cut...

Writing multi-line text to a file in BASH

In writing bash scripts, you often need to write multi-line configuration files. Here are some ways to do this. source: https://stackoverflow.com/questions/11162406/open-and-write-data-to-text-fil...

Performing a PrintScreen

When diagnosing a problem on a Windows computer, one of the most valuable bits of information you can provide is a copy of the exact error message on the screen. Using the PrtScn button The PrintS...

Installing NGINX, PHP and MySQL

Install NGINX and PHP #!/bin/bash set -e set -u set -o pipefail FILE="" banner() { echo "+------------------------------------------+" printf "| %-40s |\n" "`date`" echo "| ...

Setting a Static IP for TrueNAS SCALE

When TrueNAS SCALE is first installed, it uses a dynamic or DHCP address. In almost all situations you will want to use a static IP address. Normally you would go to the interface configuration, di...

Creating a Windows VM in Proxmox

Creating a Windows VM in Proxmox is a little convoluted because the Windows ISOs do not include the virtio drivers like Linux does. Rather than duplicate this information, the Proxmox wiki has thi...