today's howtos
-
How to install MariaDB on Rocky Linux 9 / CentOS 9 Stream
In this post, you will learn how to install MariaDB on Rocky Linux 9 / CentOS 9 Stream.
MariaDB is a relational database manager that is a fork of MySQL but has gone its own personality-based way.
It is well known all over the world, and we could consider it as a solid alternative to MySQL because it incorporates more engines and evolves in the right way.
Let’s go for it.
-
Day 45: the specificity of ::slotted() content
When you pass an element to a web component through a
, you can select that element using the ::slotted() pseudo-element and apply additional styles. -
Day 44: logical floating and clearing
Thanks to Flexbox and CSS Grid no one seems to talk about float and clear anymore,…except for me now because there's news.
-
Linux’s Traceroute
The other day I just wanted to capture some basic Linux traceroutes but ended up troubleshooting different traceroute commands and Wireshark display anomalies. Sigh. Anyway, I just added a few Linux traceroute captures – legacy and IPv6 – to the Ultimate PCAP. Here are some details:
-
Unix's (technical) history is mostly old now
It's not quite the case that nothing has happened in Unix history since the early 1990s. Very obviously, quite a lot of important social things happened around 'Unix', such that by the end of the 1990s what Unixes people used had changed significantly (and then in the 00s the change became drastic). Less obviously, a bunch of internal kernel technology changed over that time, so that today every remaining common Unix has good SMP and in a far better place for performance.
-
The night of 1000 alerts (but only on the Linux boxes)
Side note: the reason the alerting blew up was that the poller would only wait so long for the daemons to send their usual banner. The daemons, meanwhile, were waiting on their DNS resolution attempts to fail. The monitoring system's poller timeout was shorter than the DNS timeout, so when DNS went down, everything went into an alert status.
-
Unix swap configuration used to be rather simple and brute force
Modern Unixes generally support rather elaborate configuration of what swap space is available. FreeBSD supports multiple swap devices and can enable and disable them at runtime (cf swapon(8)), including paging things back in in order to let you disabling a swap device that's in use. Linux can go even further, allowing you to swap to files as well as devices (which takes a bunch of work inside the kernel). It will probably not surprise you to hear that early Unixes were not so sophisticated and featureful, and in fact were rather simple and brute force about things.
-
How to Get the UUID of a Disk Partition in Linux
UUID (Universally Unique Identifiers) is a property of disk partitions and is crucial while managing servers with hundreds of drives.