Disable SELinux RedHat/Centos Server

To disable SELinux on RedHat/Centos server is an easy process. All we need is to edit a config file located here: Use your favorite text editor (I like vim) and edit the above file: Change the value to SELINUX=disabled Then, you must reboot your RedHat/Centos server in order for changes take effect: That’s all! Go …

The pg_trgm PostgreSQL extension is not present. The extension is required by Drupal 10

I got this pg_trgm PostgreSQL error after trying to run Drupal and Postgres using Docker compose for testing purposes. After taking the NYC subway to my home office I decided to look into this. The solution for this error was to install the missing extension in Postgres. Not sure why this is not installed by …

Manage WiFi using macOS Terminal

A customer called asking if I could disable WiFi for some of his new iMacs at the office. He wanted his users to connect via Ethernet cable. After digging around I found a way to manage WiFi using macos Terminal. There are a few simple steps you can take. First, a great cup of coffee! …

How to Install pkg Using Terminal macOS

A client wanted to install some new Multi-factor Authentication software on the background while users where working. After brewing a great cup of Catuai coffee at home I found how to install a .pkg using the Terminal macOS. This is a simple command. Open your Terminal and ssh to the desired macOS you need to …

Find macOS Serial Number using Terminal

The Terminal will display your serial number as shown below: This command in macOS will also show you more details about your machine. These include Model, Chip, Memory, Total number of cores and more. Contact me if you have any questions. You can also check out my ITPro Helper shop. I make my own T-shirts …

How to Configure SSH Server in Ubuntu

A client called me asking me to setup and configure SSH on a new Ubuntu server they got for a project. They needed the server to be accessed by a remote Web Developer they hired. After having a great cup of coffee Villa Sarchi varietal I decided to take on this one. Install SSH Server …

Open VS Code from macOS Terminal

A client called me the other day asking me how to open VS code from macOS terminal. The user started doing some Web Development and wanted to make his environment run smoothly. After I finished my meeting with my friend coffee farmer from Finca Perseverancia in Honduras I decided to put together this brief tutorial …

Change Screenshot Location Using macOS Terminal

My desktop kept getting overloaded with screenshots. If you want to keep your macOS desktop nice and clean you can change the screenshot location in your macos using the Terminal. This is simple. First, I brewed my own coffee at home. I got this great coffee from El Salvador which is fantastic! Open your Terminal …

How to Flush DNS Cache macOS Terminal

A client with about 150 macOS called me. They needed to find a quick and effective way to flush DNS cache on macOS Terminal. After brewing a great cup of coffee from Guatelama I decided to take on this one. I found a simple combination of commands using the macOS Terminal. Once you open your …

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 …