All Stories

GCP Filestore error: "mount: wrong fs type, bad option, bad superblock"

GCP Filestore is a managed file storage, the competitor equivalents being: AWS’s EFS and Azure Files. While following the great GCP documentation on how to mount the Filestore NFS man...

In GCP, Linux, NFS, Jan 21, 2023

Install php-common on Amazon Linux 2

If you get The common extension is missing. Please check your PHP configuration that means that you need to install php-common extension. The installation is very simple since you hav...

In AWS, Amazon Linux 2, Jan 20, 2023

Certbot: The requested nginx plugin does not appear to be installed

It’s been a while since I needed to manually generate a Let’s Encrypt certificate. And God bless Certbot. However, it took no time to stumble upon a problem. So, today’s week issue is...

In Certbot, Nginx, Jan 19, 2023

How to fix Jenkins: 'dial unix /var/run/docker.sock: connect: permission denied'

Due to high Memory and CPU, I needed to spin up a new ec2 instance. After a while, tried to kick off my Jenkins CI/CD pipeline and got the following error: dial unix /var/run/docker.s...

In Jenkins, Jan 18, 2023

nginx: [emerg] "if" directive is not allowed here

While I was trying to introduce some Nginx conditional for an “obscure” reason, I attempt reloading the config, so the changes could apply, I’ve received the following error in the CL...

In Nginx, Jan 17, 2023

Install shasum on Amazon Linux 2

Shasum can be easily installed through perl-Digest-SHA packages on Amazon Linux 2. Let’s jump on the installation part.

In AWS, Amazon Linux 2, Jan 16, 2023

Find and list modified files of the last N days in Bash and PowerShell

Recently, as I was troubleshooting some static files sync, I wanted to know which files were changed, updated in the last 2 weeks. As with most things, if you are not doing them routi...

In Linux, macOS, Windows, Jan 15, 2023

Install shasum on Alpine Linux

One thing that needs to be considered while installing shasum on Alpine Linux is that the package is not available under apk. There is a way to install shasum on Alpine Linux through ...

In Alpine Linux, Jan 14, 2023

Creating multiple directories at once

“A good engineer is a lazy engineer” is a popular saying, meaning achieving a maximum output with minimum input. One of key things is automation of course. For those lazy engineers ou...

In Linux, macOS, Windows, Jan 13, 2023

Install sshpass on Alpine Linux

Since the sshpass is a part of the apk default packages you don’t have to install OpenSSH to get sshpass. Let’s keep it to the simple things and see the best way to install sshpass on...

In SSH, Alpine Linux, Jan 12, 2023