How To Create Hetzner Server with Terraform

Hetzner is one of many provider that had official terraform provider, by using terraform it easy to deploy many server with less code and without touching the UI. After we learn about this we can provision the server less than one minute, which save time for big project. Each terraform provider comes with their own … Read more

How To Parse JSON with Groovy

In this tutorial we’re going to see example how to work with JSON in Groovy and how to parse it. We’ll make it as simple as it is, so we don’t need to add any external dependency, just run it like a shell scripts. For this tutorial we’ll use Groovy 4.*, but it should work … Read more

Quick Fix VirtualBox can’t enable the AMD-V extension

If you’re encounter the issue with following error messages when start the VirtualBox machine VirtualBox can’t enable the AMD-V extension. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE)., that mean there are another kernel module that running, to check it use lsmod sudo lsmod | grep -E ‘kvm|vbox’ # output vboxnetadp … Read more

How To Build Monitoring Tools with Python

For this tutorial we’ll create our own HTTP/HTTPS monitoring based on Python requests. Out there so there are so many free or paid monitoring tools, which is too expensive or too bloat for my use case, which only to monitor the HTTP response and show the messages if there’s any error. To make it easier … Read more

How To Setup and Configure Secure FTP Debian 12

In this tutorial we’ll setup secure FTP Server using vsftp software, we’ll allow multiple user to connect to FTP and disable the anonymous user. In many big corporate environment, they only allow FTP protocol, this setup is good for that use case. There’s some confusion about the SFTP, people thing it’s part of FTP, but … Read more

How To Delete All WordPress Pending Comments Using MySQL

In some of WordPress based blogs, I get more than 10000 (10k) comments, which all of them spams. Using WordPress UI to delete comment is not an easy task, because we’re limited to delete 20 comment per actions. Instead of installing random plugin, let’s do it via SQL (MariaDB/MySQL) query. Inside the WordPress database it … Read more

Nginx Warning http2 directive is deprecated

After upgrade to the nginx 1.26 on Debian 12, sudo nginx -t throw some warning issue in the nginx config $ sudo nginx -t nginx: [warn] the "listen … http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/sites-enable/atetux.conf:7 for now that not a issue, just a warning. But it’s better to fix it … Read more

How To Use pip on read-only System

pip boto3 success

Many of the Kubernetes cluster and Docker on production, have a policy to run on read-only system for all the directory except certain explicit folder that customizable by user. In read-only file system, not all of the application can run smooth by default, but trivial to fix as well. For this tutorial lets take pip … Read more

Update Keycloak Password Using kcadm.sh

script running successfully

kcadm.sh is the admin CLI for Keycloak, we can do most of the operation using this script. Download the Keycloak file, kcadm.sh are inside that file. wget https://github.com/keycloak/keycloak/releases/download/24.0.1/keycloak-24.0.1.tar.gz extract the keycloak-24.0.1.tar.gz tar zxvf keycloak-24.0.1.tar.gz Move to the folder bin cd keycloak-24.0.1/bin run the kcadm.sh Optional: Run Keycloak on Docker If you didn’t have a Keycloak … Read more