Create Symbolic Links in Linux

Symbolic links in Linux is the same as creating a shortcut in Windows. Use the ln command to create symbolic links. I was a little confusing to me when I was learning about it. But, then I got it. After a walk in the new Long Island RR station at the Grand Central Terminal in …

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 …

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 …

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 …

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 …

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 …