Hello 馃憢

I am a System Administrator & DevOps Engineer who is greately interested interested in Android Open Source Platform. I mostly blog about my work and tips and tricks that I discover.

Retrofitting Node v20.12.2 (and NPM v10.5.0) in Ubuntu 18.04.3 LTS

One of the hardest part of system administration is to keep the systems updated and to keep it secure. But at times when it is not possible but needs a application support, then there is no other way than to tinker things and make it work and to retrofit the dependencies or to patch or to use custom things so that it does not break the other applications or the OS itself...

April 17, 2024 路 1 min 路 Immanuel Raj

Fail2Ban - SSH, Wordpress [EasyEngine] and Cloudflare

Fail2ban is an open-source intrusion prevention software framework that aims to protect computer servers from brute-force attacks. It works by continuously monitoring various log files for patterns indicating failed login attempts or other suspicious activity. When it detects such patterns, it can take action by dynamically updating firewall rules to block the source of the suspicious activity, thereby preventing further unauthorized access attempts. Fail2ban is highly configurable and widely used to enhance the security of servers, particularly those exposed to the internet....

April 10, 2024 路 3 min 路 Immanuel Raj

Cloudflare Header Tips

I am pretty sure any developer would have known about cloudflare. Be it for Hosting, Ai, Storage, Mail Forwarding, Tunneling, Security, Infra, DNS etc. Not everyone gets all good things done for free. Having our own server to host things has its own good and bad. I do not have my own server, i am using github pages. I want all good things in security. In the context of this one its SSL...

April 3, 2024 路 2 min 路 Immanuel Raj

Demystifying MySQL's UTF8MB4: A Guide to Character Encoding in Databases with Wordpress in GCP and Cloud SQL

UTF8MB4 Introduced in MySQL version 5.5.3, UTF8MB4 is an extension of the UTF-8 character encoding scheme. While UTF-8 can encode 1.1 million characters, UTF8MB4 can encode the full range of Unicode characters, including emojis and characters outside the Basic Multilingual Plane (BMP). utf8mb4: A聽UTF-8聽encoding of the聽Unicode聽character set using聽one to four bytes聽per character. utf8mb3: A聽UTF-8聽encoding of the聽Unicode聽character set using聽one to three bytes聽per character....

April 2, 2024 路 2 min 路 Immanuel Raj

Piping Bash

Bash is good, ZSH is also good鈥.but the fact that they both do not allow piping is bad. Well technically they do work, but it works in a different way. Sometimes its okay for us, rest times it is not. So what鈥檚 the issue here鈥 Say you have a code in your bash script like this apt install fail2ban ... read -sp "Enter your Name : " name sed -i "/name =/ s/$/$name/" /etc/hostname ....

March 4, 2024 路 2 min 路 Immanuel Raj

Pa11y and Pa11y-CI Accessibility testing

Accessibility is a really important thing when it comes to making a good site and make it available for all to use the site and for crawlers to make things easy as well. Automating this and making the best of the site to keep going faster without worry about accessibility and let the bot do the report for you so that you can fix later is the best part. So let鈥檚 do this automation....

February 22, 2024 路 2 min 路 Immanuel Raj

Rootless docker

References https://docs.docker.com/engine/security/rootless/ ASSUMPTIONS You have no docker as root installed You have no root access (Not even use apt install) You want to install rootless and systemd style docker and docker compose and all other plugins You have a Ubuntu system - Latest (or VM) with default kernel Your Ubuntu distribution is not cutdown version Docker Root Installation Pre-Requisites loginctl enable-linger rtcamp # It creates /run/user/$(id -u) export XDG_RUNTIME_DIR=/run/user/$(id -u) echo "export PATH=/home/rtcamp/bin:\$PATH" >> ~/....

February 22, 2024 路 1 min 路 Immanuel Raj

Github Rate limits

Rate limits are sometimes scary. Sometimes its temporary, some time it goes away soon鈥ome time it takes like foreverrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr I got rate limited by github by using its gh cli inside github actions. Well i didnt spam it but i was using more of it in a very less amount of time. Ran the action almost 200 times a day and the amount of action it did inside that 200 run each time is huge considering what i was doing (Was testing and developing a tool to run with github a actions)...

February 15, 2024 路 2 min 路 Immanuel Raj

Certbot SSL Limits - letsencrypt (Rate limit)

c=certificates 5c - Per domain Per Day 300c - In 3 Hrs Max 50c - Per Week Per domain When limitations are crossed we will be rate limited or even banned - We can be banned by our domain name / Email / IP Address / IP Address range Read More here :- https://letsencrypt.org/docs/rate-limits/ You can use the staging / test server of letsencrypt when using for testing https://letsencrypt.org/docs/staging-environment/

February 7, 2024 路 1 min 路 Immanuel Raj

AH shit here we go again !

I know i know鈥..its really annoying when we type something without sudo and it asks for sudo and now we have to retype the whole things with sudo (or go to the previous command [with up arrow] and then move forward with arrow keys or home key or anything and then type sudo鈥) while its a good approach鈥here is even a better approach to do it. It helps all the time and in many ways not only in sudo...

February 7, 2024 路 1 min 路 Immanuel Raj