Home
David's tidbits
Cancel

Purpose of this site

Why? This site was created so I could document and share some of the tidbits I have discovered over the years. Feel free to use this information as you see fit. Where I have copied sections from a...

Ansible Examples - Part 3 - Ansible Facts

Here is a sample Ansible script that prints the Ansible facts collected by Ansible. Use an existing computer. Install Ansible on it. For this example, create two VMs or use two or more comput...

Ansible Examples - Part 2

Here is a sample Ansible script that updates the packages on your computers. Use an existing computer. Install Ansible on it. For this example, create two VMs or use two or more computers you...

Ansible Examples - Part 1

Here is a sample Ansible script that gets the version number of the “grep” utility installed on your computers. Use an existing computer. Install Ansible on it. For this example, create two V...

Why set a Security Profile?

In some instances, security beyond a default install is very important. Here is how you can start with a system that is already mostly compliant. When installing a new RHEL, Rocky or AlmaLinux sys...

AlmaLinux & RHEL - Install the GUI

This series of steps will install the GUI on an installation that was installed without a GUI. Run this command to see the “environment groups”: dnf group list You should see “Server with GUI” a...

Installing and Configuring Jellyfin

Jellyfin is the volunteer-built media solution that puts you in control of your media. Stream to any device from your own server, with no strings attached. Your media, your server, your way. ht...

Installing and Configuring DNSMasq

DNSMasq (dnsmasq) is a wonderful package that combines a DHCP server and a DNS server in one package. All of the configuration is done in one configuration file. Installation: sudo dnf update -y s...

Putting resource limits on your Kubernetes Pods

CPU and memory resource memory limits can be applied to pods in deployments (and on namespaces). Doesn’t look like a rock-hard limit; exceeding the limits may be allowed for short-term cases. …...

Using Persistent Storage with Kubernetes (using hostPath)

Using persistent storage allows the pods to share storage. The example below will mount “/var/data” into each pod at “/usr/share/nginx/html”. /var/data will be created on each node if it does n...