Notes
For tidbits or little TIL (Today I Learned) articles. Notes from experience help me remember on those days where I can’t remember. The main reason for creating this blog was to write about things I learn. But, it also acts as a second brain for me in a way.
Managing Multiple Kubernetes Clusters
Some notes on managing multiple Kubernetes clusters.Fortinet: Set HA Active-Passive FortiGate Cluster Back to Primary
Notes for setting an HA active-passwive FortiGate cluster back to original state.Show Routing Table On FortiOS
Notes for showing the routing table on FortiOS.This is a space where I provide snipits of designs I develop or see used commonly throughout my career. I like to look back on the things I’ve built or maintained. I also like to have a point of reference available in case I need to explain something or reference different design concepts.
Fortinet: Troubleshooting Response Validation Failed. SAML Response Rejected Error
Notes for troubleshooting some SAML errors Response Validation Failed.Cisco: TDR Cable Diagnostic On Cisco Switch Port
Discussion on how to test the cable connection on Cisco switch ports.Troubleshooting Nautobot As A Docker Container Docker Compose Not Found
Some notes on troubleshooting a nautobot install on Ubuntu 24.04 LTS as a docker container.Fortinet: Negate Rules on ForiGate Policies.
Notes for setting up negate rules on FortiGate policies.Fortinet: Add An Address External Resource To FortiGate
Notes for adding an address threat feed to a FortiGate.Fortinet: Troubleshoot Certificate File is Duplicated for CA/Local/Remote/Crl cert
Notes for troubleshooting certificate import errors like the one in the title.Checking Certificate Using OpenSSL
Notes for installing and setting up swaylock-effects on Ubuntu.Fortinet: Reset & Restore Port Statistics On FortiSwitch
Notes for resetting and restoring port statistics on FortiSwitch ports.Fortinet: Check Port Statistics On FortiSwitch
Notes for checking port statistics on FortiSwitch ports.GCP: VPC Network With Custom Subnets and Firewall Rules Using Gcloud Shell
Notes for creating a VPC network with custom subnets using gcloud shell.Install And Setup swaylock-effects On Ubuntu
Notes for installing and setting up swaylock-effects on Ubuntu.Generating A QR Code For Easy Access To Wireless
Notes for adding wireless networks using QR codes.Randomize Wallpapers For Sway Using Python
Notes for randomizing backgrounds in Sway using Python.FortiSwitch Cable Diagnostics
Notes for performing cable tests on FortiSwitch ports.Juniper: Boot To Single-User Mode
Notes for booting to Single User Mode to enter recovery mode.Juniper: Root Password Recovery In Recovery Mode
Notes for changing Juniper password in recovery mode.Juniper: Configure U-Boot To Enable Singe-User Mode Boot
Notes for configuring u-boot to enter single user mode.Show Configuration On Juniper
Notes for showing the configuration on Juniper.Show Current JunOS Version
Show the current JunOS version and other information. This was done on a Juniper SRX220.Configure Hostname On Juniper
Configuring The hostname on Juniper.Revert To Factory Configuration On Juniper SRX220
Notes for reverting a Juniper SRX220 to factory configuration.You Lost Your Mouse Pointer In Windows 11
Some fun troubleshooting why someone’s mouse pointer magically disapeared in Windows 11.Troubleshooting DHCP Server On Linux With Tcpdump
Some fun with TCP Dump.MySQL: Showing Databases
Notes for showing and finding databse information in MySQL.Viewing A Users MySQL Permissions (GRANTS)
Notes for viewing MySQL grants from MySQL Client.Automate Adding A VLAN To Multiple Cisco Switches
More notes and code while I play with the Python Netmiko library.Ubuntu Linux Crisis & General Troubleshooting Tools
List of tools used for troubleshooting.Using Netmiko To Automate VLAN Configuration On A Cisco Switch
Notes and code for playing with the Python Netmiko library.Migrating Sticky Notes To Another Windows 10 Workstation
Notes for migrating Sticky Notes to another workstation in Windows 10 22H2.Deploying A MySQL 8.0 InnoDB Cluster
The following packages will need to be installed on all three servers.
Railway Management System - MK 1
A little database design project I will be working on.Planning The Specs For A Small MySQL Database Administrator Lab
This is the first revision for the virtual machine specifications of a MySQL Database Admnistrator lab. A small group of servers that allows someone to learn things like single node managment, clustering, and a simple data warehouse on the MySQL platform.
Obtaining A Cisco Devices Hostname Using The Netmiko Python Library
Little script for obtaining cisco device hostnames for later use.Using A SQL Script For Initial MySQL Database Setup
Simple MySQL script I wrote for the initial setup of application databases.Install & Setup PostgresSQL on Ubuntu Server
Notes for installing and setting up PostgreSQL on Ubuntu ServerMoving PostgresSQL 15 To Custom Directory On Ubuntu Server
Notes for moving PostgresSQL 15 on Ubuntu Server to a custom directory.Install & Setup MySQL on Ubuntu Server 24.04 LTS
Notes for installing and setting up MySQL on Ubuntu ServerFortiGate: Configuring Auto-Scripts
Configuring auto scripts.FortiGate: Configuring Fabric Automation For Service Restarts
Some notes on Fabric Automation for restarting services on Fortigate Firewalls.Moving MySQL Server To A Custom Directory On Ubuntu Linux
Notes for moving MySQL to a different directory on Ubuntu.Creating A VLAN Trunk Interface Using CLI On FortiGate
Notes for creating a VLAN interface on a FortiGate firewall using cli.Simple Veeam Backup & Replication License Usage Reporting Using PowerShell
Notes for reporting license usage for Veeam B&R using PowerShellConverting VMware Disks From Thick Provisioning to Thin Provisioning
Notes for deploying Netbox using Docker Compose or Podman Compose.Installing Zabbix Agent 2 on Ubuntu 22.04
Notes for installing the Zabbix Agent 2 agent for Zabbix 6.4.Backup & Restore MySQL Using MySQL Dump
Notes for doing a backup and restore with the mysqldump command.Migrating VMware vSphere VMs To Another Cluster Using Veeam Backup & Replication
My notes for migrating one vSphere VM to another cluster.Fortinet: Some System Troubleshooting Tid-bits
Notes for troubleshooting Fortigate firewalls.Obtaining Support Data For HPE (Brocade) Fiber Channel Switches
Notes for obtaining support data for HPE (Brocade) Fiber Channel switches.Starting A New Jekyll Site Using The Jekyll Container Image
Some workflow updates for the blog. A simple Hugo Podman/Docker container for writting content with docker/podman-compose.Deploying Your Hugo Blog Development Server Using Podman/Docker Compose
Some workflow updates for the blog. A simple Hugo Podman/Docker container for writting content with docker/podman-compose.Using The IISRESET Command To Reset IIS & Obtain Its Status
Some brief notes on how to reset Internet Information Services (IIS) on Windows client/servers. Before executing the command(s). This operation will need to be performed with Administrator/elevated privileges.
Listing, Reading, & Decompressing GZip (GNU zip) Files
Some Notes for unzipping or decompressing gzip files.Verifying Nagios Configuration Using CLI
Quick note for verifying Nagios Core configuration via commandline.Creating Policy Address Objects Using CLI For FortiGate
Notes for creating policy address objects on FortiGate firewalls using the CLI.FortiGate: Appending An Address To An Address Group CLI
Appending addresses to address groups in FortiOS CLI.FortiGate: Creating Address Groups
A useful object category that FortiOS has available for policies are Address Groups. An IPv4 Address Group is an array/list of addresses that can be applied to firewall policies. This is useful if you have multiple servers that need the same filtering. But, limiting the administrator overhead is needed to manage policies.
FortiGate: Creating Static Routes Using CLI
Some notes for the creation of Static Routes on FortiGate firewalls in FortiOS CLI.
Creating QCOW2 Disk Images With qemu-img(1)
This is will be a short entry that contains notes for creating qcow2 disk images using qemu-img(1). For now I’m not going to focus entirely on their use and just creating them. This can be useful for scaffolding the disks you need for a KVM VM before its creation.
FortiGate: Adding Policy Address Objects On FortiGate
Notes for adding FortiGate address policy objects.Updating & Upgrading OpenBSD
These are some notes for updating and upgrading OpenBSD machines just in case I need them. I will make sure to update this as often as possible and provide the reference articles. Along with man pages.
Fortinet: Add DHCP Server To VLAN Interface With DMZ Role On FortiGate
Notes for adding a DHCP server to a FortiGate firewall VLAN interface with the DMZ role through cli.FortiGate: Showing DHCP Server Leases On FortiGates
Notes for showing DCHP server leases on FortiGate firewalls through CLI.FortiGate: Adding A DHCP Server To A VLAN Interface With The DMZ Role
Notes for adding a DHCP server to a FortiGate firewall VLAN interface with the DMZ role through cli.Updating NTP Servers on Cisco Switches
Wanted to briefly write a note for updating the NTP server on a Cisco switch. This is generally good if moving to on premise NTP servers is something I’d like to do someday.
Rolling Back Microsoft 365 Office Using Click2Run
This applies mostly towards Microsoft 365 or Office 365 installs.
Post 3
Occaecat aliqua consequat laborum ut ex aute aliqua culpa quis irure esse magna dolore quis. Proident fugiat labore eu laboris officia Lorem enim. Ipsum occaecat cillum ut tempor id sint aliqua incididunt nisi incididunt reprehenderit. Voluptate ad minim sint est aute aliquip esse occaecat tempor officia qui sunt. Aute ex ipsum id ut in est velit est laborum incididunt. Aliqua qui id do esse sunt eiusmod id deserunt eu nostrud aute sit ipsum. Deserunt esse cillum Lorem non magna adipisicing mollit amet consequat.
Post 2
Anim eiusmod irure incididunt sint cupidatat. Incididunt irure irure irure nisi ipsum do ut quis fugiat consectetur proident cupidatat incididunt cillum. Dolore voluptate occaecat qui mollit laborum ullamco et. Ipsum laboris officia anim laboris culpa eiusmod ex magna ex cupidatat anim ipsum aute. Mollit aliquip occaecat qui sunt velit ut cupidatat reprehenderit enim sunt laborum. Velit veniam in officia nulla adipisicing ut duis officia.
Post 1
Tempor proident minim aliquip reprehenderit dolor et ad anim Lorem duis sint eiusmod. Labore ut ea duis dolor. Incididunt consectetur proident qui occaecat incididunt do nisi Lorem. Tempor do laborum elit laboris excepteur eiusmod do. Eiusmod nisi excepteur ut amet pariatur adipisicing Lorem.
Console Serial Connections To Cisco Devices On Nix
Summary
This is just some notes for connecting to the console port on Linux. This is a running post where I will be adding new methods for connecting to the console port on Cisco devices or any device that supports a serial console.
Skipping fsck Manually Upon Boot to Speed Up Ubuntu Server Install
Summary
A friend of mine pointed something my way for speeding up the process for installs. So I remember it in the future. I’m notating it.
Disable & Remove Cloud-Init On Ubuntu 22.04 LTS
Summary
Cloud Init is configured and installed on Ubuntu 22.04 LTS by default. In fact. It’s been available since 18.04. It can be used to configure things like authorized keys for SSH, generate private keys, etc. For my preferences. It’s annoying because I never use it. So I generally disable the service.
OpenBSD Initial Virtual Private Server Baseline
Summary
These are just some notes for common steps I perform after adding a server to a Virtual Private Server provider. Intended to act as a baseline. Documented so I have the steps for future use.
Personal VPN Setup Using Wireguard, OpenBSD, and Vultr VPS
Notes for building my personal WireGuard VPN on OpenBSD hosted on Vultr VPS.Troubleshooting MongoDB: My Failure to Read Documentation
I recently experienced an issue with MongoDB where I failed to read documentation. This also provides some of the notes related to troubleshooting what was actually wrong. So, I decided to include the things needed to help troubleshoot it.
Updating & Upgrading Ubuntu
Summary
This post provides a brief overview on how to apply updates on Ubuntu.
Request Tracker (RT): Installing on Ubuntu Server 22.04 LTS
Summary
Note that these are notes from walking through a basic deployment. There will be quite a bit of jumping around and troubleshooting. Along with troubleshooting with no discussion. No worries. I’ll update it.
Linux & BSD: Configuring & Using OpenSSH Client on Cisco Devices Using Legacy Key Algorithms
Summary
This is an old thing I came across. But, useful to know all the same. This post discusses some issues with devices such as Cisco routers, switches, etc. where the key exchange algorithms and host key algorithm types are weaker and/or riskier key algorithms. These algorithms are considered legacy options that may need to be specified when connecting to the host.
Cisco: Switching to New DNS Server(s)
Summary
This post contains some notes for switching a Cisco switch over to a different DNS server. Specifically, I will be adding, removing, and testing within the process of moving over to new DNS server infrastructure.
Cisco: Configure DNS Server(s) & Search Domains For Name Resolution
Summary
Notes for configuring DNS servers and search domains for name resolution on Cisco switches.
VMware ESXi 6.7: Configuring NTP Client from CLI
Summary
This post contains notes for configuring NTP on ESXi 6.7.
Cisco: Saving Running Config to Startup Config
Summary
This is just a some notes on how to copy the running configuration to the startup configuration on a Cisco device. This could bean anything from a Cisco Router, switch, etc.
VMware ESXi 6.7: Configuring DNS Using esxcli
Summary
Needed to add some DNS configuration to some ESXi 6.7 servers in a lab. I’ve never done this. Nor did I have access directly to the console at the time. So, I decided to SSH into the console and use the esxcli command to do the work.
VMware ESXi 6.7: Changing DNS Servers Using esxcli
Summary
Needed to change DNS servers from one to the other within my lab on ESXi 6.7. Needed to do this because I’ve been isolating network resolution to my local network as opposed to pushing that traffic to the Internet itself.
Windows: Release/Renew DHCP and Flush DNS Using CLI/PowerShell
Summary
Just some notes. I have my days where I do this a lot. But, just in case I don’t and forget down the road. Might as well have this available.
Exchange 2013: Configuring Calendar Permissions
Overview
This article will provide a brief overview on how to Get, Add, and Set Calendar permissions in Microsoft Exchange 2013. If you would like a reference to an overview of what the permissions do, I have referenced a cheat sheet below for you.
Play Station 4 Troubleshooting: Error Saving to USB Storage
This article discusses some troubleshooting fun I had with a Play Station 4 a couple of days ago. Turns out for some reason it didn’t want to save to the external USB 3.0 Seagate 1 TB HDD that I decided to use for a backup. It was on my TODO list for a while because I plan on replacing the disk with something larger. Yes, I plan on providing notes for that as well. I sure don’t want to spend the extra coin and upload all of that data to the cloud using Play Station Plus.
Cisco Switches: Configuring An Access VLAN On A Port
Summary
This article goes through configuring a VLAN on a switch port on a Cisco switch. These are just notes intended for future use in case I forget how to configure this.
Sysadmin Pain: When Percona and MySQL Community Repos aren't Synced
Just thought I’d talk a little bit about some Sysadmin pain that I’ve come across. Might prove beneficial in the future. Not complaining. This is more of a “don’t do what I did” article. I’ll probably provide more of these as I run into issues.
Percona MySQL: Installing on Oracle Linux 8.6
Summary
Notes for installing Percona MySQL on Oracle Linux 8.6.
Bash FTW: Scripting For Blog Draft Templating
This will be a short post. I wrote a little Bash script to assist with creating new drafts for this site. Nothing special. But, it will save me some typing.
SELinux: BookStack v22.04
Summary
This article discusses the SELinux; involving security contexts, and file permissions that allow BookStack to function as expected and securely. Primarily in a way that doesn’t require disabling SELinux.
SELinux: APPLICATION NAME
Consider this to be a series on how to “properly” configure SELinux and possibly file permissions for various applications. Mostly web applications. This series of posts is intended to provide a reference for those who would rather utilize SELinux as opposed to just putting it into permissive mode or disable it completely.
CAN-Bus Protocol Notes: ISO 15765-2 (ISO-TP)
These are just some notes from reading about the ISO 15765-2 or ISO Transport Layer (ISO-TP) CAN-Bus protocol. May want to check on this post often if it’s useful. I plan on updating it frequently with what new information I find out about it. But, for now. I will provide what notes regarding the protocol that I have now.
Install BookStack v22.04 on Oracle Linux 8.5
Note: There are improvements coming to this article soon.
Resetting the TCP/IP and WinSock Stacks on Windows Systems
Summary
This post contains notes for resetting the TCP/IP and WinSock stacks on Windows Systems. Doing so can generally be a good troubleshooting step when you’re having issues with network connectivity and network interfaces.
PowerShell: Basic USB Media Operations (Clearing, Partitioning, and Formatting)
Summary
Full notes are unfinished. Though, the information will be useful in the future. I’m posting and will update as I see fit.
Convert From CentOS 7.9 to Oracle Linux Server 7 With centos2ol.sh
Overview
This post is more or less notes for moving from CentOS 7.9 to Oracle Linux 7.9 using a script that Oracle kindly provides for the very low low cost of free.
OpenBSD on BLANK
This is another one of those discussions regarding content ideas.
PowerShell: Notes on Execution Policy Bypass Methods
Overview
This will be updated as time goes on. But, this is a collection of notes I’ve accumulated for bypassing the execution policy in powershell I could certainly go through the process of making the exectution policy more permissive. But, sometimes when you run scripts. Bypassing the execution policy is the way to go.
Getting the Default Execution Policy In PowerShell
Overview
My notes for obtaining the Execution Policy for PowerShell.
Deleting User Using PowerShell On Microsoft 365
Deleting Microsoft 365 User
Notating some commands I use for deleting a user in Microsoft 365. This
is generally done by connecting to it using Connect-MSOnline
first.
Creating New User Using PowerShell On Microsoft 365
Overview
This post provides my notes on how to add a new user to the Microsoft 365 portal using PowerShell.
Jekyll Requires Webrick Gem on Ruby 3.0
Overview
Jekyll on Ruby 3.0 requires the webrick gem to be added to the Gemfile
.
If the site doesn’t, Jekyll will fail to generate and serve the site.
Below is the error that I’m discussing.
Creating, Migrating, and Resetting Migrations on Laravel Framework
Overview
Something that I tend do is forget how to crate migrations in the Laravel PHP Framework.
My Setup For Swaywm on Fedora
Overview
Decided to give Sway another try. It’s certainly been a while. Sway is intended to be a replacement for the X11 window manager i3wm. It’s just the Wayland version.
Showing Wireless Profile Keys In Plain Text Through CLI/PowerShell
Summary
Just remembered something that I had to do a while back where I needed to access a wireless network and I didn’t know the Key for it. I didn’t know the wireless key and the person I was requesting access from didn’t know either or forgot.
Cisco: Configure A Range Of Interfaces On A Switch
Discuss how to configure multiple Cisco IOS ports with the interface range command.MySQL Server Connection Refusal
Overview
Sigh… It’s always DNS…
Install and Configure Jekyll on OpenBSD
Overview
These are some notes from some fun I had while installing and configuring Jekyll on OpenBSD 7.0-current. The installation wasn’t bad. I just want to document for future use.
Ruby 3.0 Installation On OpenBSD
Overview
This post goes through installing Ruby 3.0 on OpenBSD 7.0-current. This is here for reference so it’s easier in the future. Should there be changes to the ruby30 package, I will create another post for it.
Remove All AD User Group Memberships Except One Using PowerShell
Overview
Decided to post another fun one that I found on the Internet somewhere. I don’t remember the source. But, this has helped a lot. Some companies decide to keep users around. It’s the way it is. Managers need to see who is or was sending them email at the time they were terminated.
Exchange: Troubleshooting Mailbox with BadItemsLimit Errors (Unrecommended)
Overview
Sometimes when you export a mailbox they fail due to corrupted items in the mailbox. Although this method isn’t consider a best practice, it can get the job done. Ideally you would want to remove the bad/corrupted items in the mailbox and proceed with exporting. For whatever reason you can increase the BadItemLimit for the export request to get the job done. You can generally fix these items using a MailboxRepairRequest.
Exporting Mailbox to PST File In Microsoft Exchange
Overview
This article provides a Cmdlets for exporting a mailbox for an Exchange server. It also provides Cmdlets for viewing export requests. This can be useful in a number of ways. Say that you want to keep/archive mail of a user that has left the company. This is a good way to keep the data just in case there’s a need for it.
Deleting User Accounts In Windows
Overview
This article will go over deleting user accounts properly in Windows. That means deleting the user accounts home directory and the accounts user account in the registry.
Some Fun With Date and Get-Date For File Generation
Overview
Just going through an overview of how posts are named on this site. Meaning the file name. This is mostly for my own benefit. But, if it helps others organize their own sites, cool beans.
How I Setup vim-plug
Overview
Here I will be discussing my favorite Vim pluggin manager, vim-plug. I’ve been using it for years and I forget how to install it every time. So, I’m going to document how I set it up. Only distro that I install Vim on is Linux/BSD. I don’t really use it on Windows. So, that isn’t going to be included. The author of the Vim plugin will provide a method for it though. I will only do so if I decide to use it in Windows some day.