According to Google's IPv6 adoption statistics, more than 30% of the Internet users are using IPv6 in 2021. In some countries, like France and Germany even have adoption rates over 50%, which makes it essential to adopt IPv6 on your website for international users.
I recently had a very weird issue with Nginx serving static content. A Latin-script letter Â keeps showing up in one of my CSS files, and the letters are not in the actual file. It turns out that Nginx doesn't set chartset by default, that's why the characters not in the ISO basic alphabet got decoded to something else.
Nginx came with a rate limit module called ngx_http_limit_req_module, which is quite handy for throttling harmful requests like DoS attack. And the module uses the leaky bucket algorithm to handle the connections. It could allow a certain amount of burst requests in a short period of time to suit the use cases.
I recently wrote a very simple IP address based rate limit module called rt-limit to throttle requests for this blog. Although rate limiting is more commonly done on reverse proxies like Nginx and Apache, being able to manage traffic on your own back-end server is always more flexible.
On Linux distros (e.g. Ubuntu, Fedora, CentOS, Arch Linux) using GNOME as DE will encounter an issue where GNOME's key bindings conflict with IDEs'. So, when pressing `Ctrl-Shift-Alt-Down` on your text editor it simply doesn't work. To fix this, we'll cover how to edit `gsettings` in both CLI and GUI.
To turn off automatic system upgrade and package lists update on your Debian/Ubuntu-based Linux distros is quite easy. And we'll be covering editing apt configuration through both CLI (Command-Line Interface) and GUI (Graphical User Interface) so it can be done by ssh or desktop.
In my opinion, changing DNS servers on Linux is even easier than in Windows. As you only need to do it once and it applies to all the network interfaces. In this guide we'll be covering how to configure DNS servers on all Linux distros and prevent DNS settings from changing by other services.
Having multiple boot options managed by a boot manager like GRUB is a common thing on Linux or a Windows dual-boot machine, but to select the os/kernel in a 5 seconds window is a pain in the ass. So how about making GRUB remember your last boot choice?
Just like Debian/Ubuntu's package manager apt, Arch Linux/Manjaro has its own package manager called pacman to help you install packages. But the story doesn't end there. On Arch-based Linux you can even install community-maintained packages from AUR (Arch User Repository), which is a lot like PPA (Personal Package Archive) of Ubuntu.