After taking a walk at the park wearing my new Irregular bucket hat I got a call from a customer wanting to install Docker on Red Hat 8. I have installed Docker on Ubuntu and macOS, but never on Red Hat. I found something right away in the Docker’s documentation site: We currently only provide …
Tag Archives: linux
ImageMagick Auto Orient
I was having issues converting images for one of my clients the other day. I have been using ImageMagick for some time and it has worked great for me. But, for some reason a couple of images were rotating to a horizontal view when the original photo I took was vertical. After looking at some …
Linux dig Command
The Linux dig command is useful for DNS lookup and to query specific DNS name servers. Basic syntax is: This will give you a generic answer similar to this: ; <<>> DiG 9.10.6 <<>> oopsla.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31918 ;; flags: qr rd ra; …
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 …
Start Tomcat at boot time in Red Hat 8
The other day I installed a Tomcat server in Red Hat 8 for a client. The client had to reboot the server and couldn’t find a way to start it. I found a way to start Tomcat at boot time in Red Hat 8. As usual, I needed to go for a walk around New …
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 …
Continue reading “cp Command to Overwrite Without Confirmation”
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 …
Continue reading “Change MariaDB Data Directory Location CentOS”