How To Change The Outgoing Email Domain In MacOS

Author: , Posted on Thursday, March 17th, 2022 at 9:55:22am

When I sent email from my desktop Mac cron jobs, it went out with the full hostname as the domain, i.e.: root@demo.wyzaerd.com, when all I wanted was a simple root@wyzaerd.com for ease of deliverability and domain maint.

Edit the mail configuration file main.cf:

Add/edit the myorigin value of $mydomain:

How To Reset The MySQL 5.5 Server root Password

Author: , Posted on Wednesday, March 16th, 2022 at 2:39:07pm

Had an old server, needed to get root.

For MySQL 5.7:
https://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html

For some other v5.7 nodes, I had admin access via a different user’s login, so all I needed was this:

How To Fix Server Ownership When Files Have Been Altered By Mistake

Author: , Posted on Wednesday, March 16th, 2022 at 12:19:54pm

Situation: Newbie mistake, used copy-and-paste to create a script that used variables with the incorrect variable name, then ran chown -R / OUCH

Resolution: Since I had aa clone host nearby, I decided to export the remote root fs via NFS, mount it on the fouled nnode, and use find magic to repair.

Here are the steps:

Bad host is nodeB, and good host is nodeG ;-}

Step 1. On nodeG, prepare NFS:

Step 2. On nodeB, mount the resource from nodeG and use it to set the ownership locally on nodeB via find -exec chown:

How To Solve Grafana Error “failed to load its application files”

Author: , Posted on Wednesday, February 23rd, 2022 at 2:56:59pm

Try a newer browser before anything else!

I was using an older version of Safari on Mac and got this:

I switched to the latest version of FireFox and was fine.

How To Solve MySQL GPG Key Errors During yum update

Author: , Posted on Saturday, February 19th, 2022 at 9:58:30am

I went to perform a yum update and got the following error:

SOLUTION: Import the needed new key and manually edit the config files before retrying the yum update.

I had to edit two files: mysql-community-source.repo and mysql-community.repo

For 5.7 – add -2022 to the key name: i.e.:

ORIGINAL:

MODIFY ONE LINE IN EACH FILE FOR 5.7:

Then re-run yum update.

How To Prevent SSH From Prompting When The Host Is Unknown

Author: , Posted on Wednesday, January 26th, 2022 at 1:53:30pm

If you are asked “Are you sure you want to continue connecting (yes/no)?” when trying to connect via SSH, then the remote host’s identification key has not yet been stored in your ~/.ssh/known_hosts file.

This then requires you to type the full string “yes” in order to proceed because the default value for ssh is StrictHostKeyChecking=ask.

To bypass this behavior (not recommended), you may add the -o StrictHostKeyChecking=no option to the command-line, for example:

BEFORE

AFTER

De-Mystifying Tungsten Cluster Topologies, Part 3: CAP vs. CAA vs. DAA

Author: , Posted on Monday, January 17th, 2022 at 3:08:39am

This is the third post in a short series about Tungsten Clustering topologies. In this post we will highlight the key differences between Composite Active/Passive, Composite Active/Active (CAA), and the newly available Dynamic Active/Active topology. In short, DAA blends the simplicity of CAP with the automated continuous operations of CAA.

De-Mystifying Tungsten Cluster Topologies, Part 2: CAA vs. MSAA

Author: , Posted on Thursday, January 6th, 2022 at 4:04:58pm

In this short post we will highlight the key differences between Multi-Site Active/Active (MSAA) and Composite Active/Active (CAA) topologies. The core principle behind an active/active topology is that you have more than one writable cluster. So why do we have more than one type of Active/Active topology?

How To Gracefully Stop and Start Tungsten Clusters

Author: , Posted on Tuesday, December 28th, 2021 at 4:14:03am

As system administrators, we are called upon to be responsible for a vast quantity of discrete subsystems, each with its own set of operating rules. When starting and stopping any subsystem, it is the best practice to do so gracefully whenever possible to ensure data integrity. In this blog post, we detail the best practices for stopping and starting a Tungsten Cluster.

How To Interpret The Httpful\Response Object

Author: , Posted on Friday, December 10th, 2021 at 12:41:09pm

I use the httpful library from https://phphttpclient.com

The website has not defined the Httpful\Response keys anyplace easy to find, so I have documented them here: