cp Command to Overwrite Without Confirmation

I’m used to running the cp command in Linux often. But, this time a client had an emergency and I needed to use the cp command to overwrite a directory in their Red Hat Linux box. I needed to login with root for this one. I needed to restore a directory to it’s original location …

Change MariaDB Data Directory Location CentOS

A client asked me if I can help their WordPress developer configure a development Linux box. They created a separate partition and wanted to change their MariaDB Data Directory Location on their CentOS server. After taking a walk in New York City by the Madison Square Park I decided to put this tutorial together. There …

Setup Windows 11 without a Microsoft Account

I found myself configuring for the first time a new Windows 11 laptop for a client. I was used to configure the initial account in other Windows versions as a local user. This time the setup of Windows 11 without a Microsoft account was very tricky. After having a beer in one of my favorite …

Enable SSH using the Terminal on macOS

The other day I was helping a client with her mac. Suddenly, Finder crashed and I ended up with just the Terminal open. This is what forced me to enable SSH using the Terminal. I decided to brew a great cup of Bourbon coffee first. To enable SSH using the Terminal is quite simple. It …

How to find Python shell executing in 32bit or 64bit

I was a little confused about how find Python shell executing in 32bit or 64bit. After taking a walk by the Buskwick Inlet Park in NYC I decided to look into this. I found a simple and quick way to find if my Python shell is executing in 32bit or 64bit. I’m using a macOS …

Manage Linux Users with the passwd command

To manage Linux users with the passwd command is very handy and straight forward. After brewing a really good Colombian coffee at home from Finca La Camelia I decided to put this brief tutorial. passwd command options This option displays the status of a specific user. Example output: In the above example it shows that …

Create a New Linux Superuser Admin User

The other day I had to add a sudo user in Linux. I have done this many times in Ubuntu/Debian Linux boxes, but forgot how to create a new Linux superuser in RedHat/CentOS/Fedora family. I created this quick review and maybe can help others. Create New Linux Superuser in Ubuntu/Debian Let’s do this using the …

Setup Apache Virtual Hosts on Red Hat 8

Last week a client asked me to setup a dev and production environments on their new Red Hat 8 box. I have setup Apache virtual hosts in Ubuntu in the past. I knew to setup Apache virtual hosts on Red Hat 8 should not be that difficult. This is when I decided to take a …

Run traceroute on macOS Terminal and Understand the Results

The other day a client was having issues reaching a couple of websites from within their office environment. Our good command line utility traceroute came to the rescue. I used to run this command back in the days when mainly using Windows. Luckily, we can run traceroute in macos terminal. I had to brew another …

Reload Config Apache httpd Without Restarting Apache in Linux

I was not sure when a client asked me “How do I gracefully restart Apache on my Linux server?” This prompt me to brew another coffee at home and then find how to reload Apache httpd config without restarting Apache server. There are several methods for this depending on your Linux version: Using apachectl to …