All Stories
Dockerfile: RUN vs ENTRYPOINT vs CMD
We’ve all been trying our best to build the best possible, optimal Docker image out there. But, in order to do so, we need to understand and know the difference between one of most co...
In Docker, Mar 02, 2023How to Install PHP Iconv on Amazon Linux 2
Using the PHP function iconv() allows you to convert a string to the requested character encoding. Usually, you need to install Iconv on Amazon Linux 2 if your PHP setup is using FPM ...
In AWS, Amazon Linux 2, Mar 01, 2023Docker: volumes vs bind mounts
There are two types of Docker volumes where data could be stored outside the container’s filesystem: volumes and bind mounts. So, what’s the difference?!
In Docker, Feb 28, 2023How to Install PHP Dom on Amazon Linux 2
The need of processing or parsing XML documents in PHP can be done through the DOM parser extension. Here I will show you how to install PHP Dom on Amazon Linux 2.
In AWS, Amazon Linux 2, Feb 27, 2023Docker forms: SHELL vs EXEC
Shell and exec Docker forms present two different ways of specifying the command that need to run once the container is up and running. So, what’s the difference?!
In Docker, Feb 26, 2023How to Install PHP Ctype on Amazon Linux 2
Enabling the Ctype PHP extension will provide you with functions that are used to verify whether the characters in a string are of the correct type. Let’s install Ctype on Amazon Linu...
In AWS, Amazon Linux 2, Feb 25, 2023Linux 101: extending volumes using `growpart` and `xfs_growfs`
Long time ago, I was in a situation where I miscalculated the volume size of an AWS EC2 instance, so I had to increase the data disk size. I’m sure this could happen to everyone once ...
In Linux, Feb 24, 2023Install Boto3 on Amazon Linux 2
To be able to manage your AWS infrastructure through python you need to install boto3, which is python SDK for AWS. If you want to proceed with the installation step, you need to have...
In AWS, Amazon Linux 2, Feb 23, 2023Linux 101: `free` command output explained
As a common interview question, you need to know how to check the memory of your Linux OS. And this is done by running free -mh. Usually, I add the h, so the output is displayed in hu...
In Linux, Feb 22, 2023SonarQube How to Fix 'node.store.allow_mmapfs is no longer supported'
If you are trying to update SonarQube to a higher version you might get org.sonar.process.MessageException: Property 'node.store.allow_mmapfs' is no longer supported. Let’s see how to...
In Docker, SonarQube, Feb 21, 2023