Month: August 2021

Ping Command’s First Packet Toward LDAP Server(s) Takes 2 Seconds to Start

Case 1: Are DNS servers working? dig returns results right away => defined dns servers…

How To Install Graylog in a Kubernetes Cluster Using Helm Charts

The following narrative is based on the assumption that a Kubernetes (current stable version 20.10)…

How to configure Ubiquiti EdgeRouter to send logs to a Syslog Server

Method 1: using text editor # Edit the syslog config sudo vi /etc/rsyslog.d/vyatta-log.conf # Change…

How to Setup Dynamic DNS with Google Domains & Ubiquity EdgeRouter

Step 1: Set up Dynamic DNS - Access Google Domains: https://domains.google.com/registrar/- Click on the Manage…

How To Configure Alternative Storage for a Kubernetes (K8s) Worker Node

The below illustration is assuming that one has a local RAID mount being added to…

Ubuntu: Auto Updates Configuration

Prepare the Linux OS: # Install auto-update packages sudo apt install -y unattended-upgrades apt-listchanges #…

Linux: Creating Soft Links as Directories

Optional test: create a soft-link for directory as hard-links are not allowed source=/nfs-share/linux03/docker/containers destinationdirectory=/var/lib/docker sudo…

PowerShell: Quick Snippet to Purge All ‘Orphaned’ Records of Resources in VMM

The Script: # removeMissingResourcesInVmm.ps1 $noConfirmations=$false # $true = no confirmations, $false=confirm each stale record removal…

Quick PowerShell Cmdlet to Move Computer Object

$computername='SomeComputerName' $targetOU='OU=Computers,DC=kimconnect,DC=com' Move-ADObject -Identity (Get-ADComputer $computername).objectguid -TargetPath $targetOU

A Quick Note On How To Preserve Client Source IP’s on K8s Services

namespace=ingress-nginx servicename=ingress-nginx-controller kubectl edit svc $servicename -n $namespace # edit this value from Cluster to…

Linux: Testing Disk Speed

Below is an exercise in comparing 2 different media: external USB drive vs a SD…

Linux: RSYNC Examples

Following are a few practical uses of this command: # Copying from a Local Directory…

Linux: Commands to Add a New Disk

# Step 1: create partitioning table (gpt or msdos/mbr) device=/dev/sdc sudo parted $device mklabel gpt…

Problem: NextCloud Would Not Start Due to Versioning Variance

This issue has occurred when NextCloud has been upgraded after deployment. Its source docker container…

PowerShell: Check RPC Reachability of Remote Computer

# This is an ancient script that would work with PowerShell versions 2 to 5,…

NextCloud Container PHP Memory Issue as Deployed via Kubernetes

Most common example:Below is a raw text paste of an exercise in resolving the issue…

How to Install NFS Server on Ubuntu 21.04

Installing NFS Server # Include prerequisites sudo apt update -y # Run updates prior to…

How to Check System Temperature on Ubuntu 21.04

# Install sensors sudo apt update -y sudo apt install lm-sensors hddtemp -y # Setup…

Run Memory Tester On Ubuntu 20.04

GNU Grub 2.04 does have memtest86+ that could be used to perform RAM load tests.…

How to Setup Software RAID on Ubuntu 20.04

Step 1: prepare to configure RAID by checking the system In the below example, we're…