today's howtos
-
Building Your Own FreeBSD-based NAS with ZFS: Part 3: NAS Sharing Using NFS, Samba and iSCSI Shares
Today, we’ll concentrate on exposing the data on your NAS to the network using NFS, Samba, and iSCSI shares. We’ll provide an overview of each type of share to help guide you in deciding which is most suited to the clients that will be accessing the NAS. We’ll also point out configuration parameters which are unique to FreeBSD or OpenZFS, as well as any resources for more information.
-
[Old] Execute Commands On Remote Linux Systems Via SSH: Invoking Commands Or Programs On Remote Machines Over A Secure Network Connection
The other day I was testing how to keep file permissions intact while copying files or directories to multiple locations and systems. When I wanted to check the file permissions on a remote system, I had to login to that system over SSH and check the attributes. The process of login and log-out from the remote system multiple times was bit annoying to me. I thought it would be better if I could execute commands on remote Linux systems via SSH.
Fortunately, I found a workaround to invoke commands and programs on a remote machine over a secure network connection after skimming through the man pages of ssh command.
-
Day 9: the inset shorthand property
It’s time to get me up on speed with modern CSS. There’s so much new in CSS that I know too little about. To change that I’ve started #100DaysOfMoreOrLessModernCSS. Why more or less modern CSS? Because some topics will be about cutting-edge features, while other stuff has been around for quite a while already, but I just have little to no experience with it.
-
Day 10: global styles and web components
I was wondering what happens with HTML elements in web components when I add styles to the document. Under which circumstances do global styles defined in a style element or external stylesheet apply to these elements?
As it turns out, it depends on how you create and use the components. In my test setup I have an HTML document, a stylesheet and three different components.
-
My performance intuitions and the complexities of SSD performance
Back in the old days of mechanical hard drives (HDDs, aka 'spinning rust'), it was possible to feel that you had a reasonable general understanding of their performance because they were physical objects with relatively straightforward general operating principles. For example, they read your data by moving 'the' drive head to the track and then listening to the track as it spun past underneath the head to read either the individual sectors you wanted or (toward the end) the entire track (and then extracting what you wanted). You could almost always assume that these physical actions were the limiting factor on IO performance, and for a long time they didn't change very fast (especially the time it took to move the head to a track).
-
Monitoring my ASUS RT-AX86U Router with Prometheus and Grafana
Sometimes having the raw data from the router that's on the edge of the network can tell a different story than measuring things behind the router. So I want to grab this data and put it into Prometheus.
With the stock ASUS firmware, this isn't really possible. But after reading a blog post about someone else monitoring an RT-AC86U with Prometheus, I decided to give it a shot on mine. I already run the ASUSWRT-Merlin firmware on my router, since I like having SSH access to it and can install some network utilities on it via a USB stick.
-
Ansible module_defaults and a lookup plugin
When calling Ansible modules frequently with similar parameters, module_defaults can save on typing and, almost more importantly, improve on clarity by defining default values for modules I use in a play.
Let’s look at a small example in which I want to clear records for a host from a dynamic DNS server and then add it in again. In all invocations of the nsupdate module I would need to specify key name, algorithm, server, etc., but through the use of module_defaults I can set default values and no longer have to specify these repetitively on individual tasks.
-
[Old] Ads blocking with OpenBSD unbound(8)
The Internet is full of Ads and Trackers. And a way to avoid those is to simply not reach the stinky servers. This can be partially done using a local DNS resolver.
This article is a reboot of both the 2019 Blocking Ads using unbound on OpenBSD and Storing unbound logs into InfluxDB posts ; hopefully improved.
-
Starting my (overkill) homelab
I've set up a homelab finally! This is something I've wanted for a while and finally the timing was right. The right project came along to justify it, so I took the plunge.
Naturally, that leads to a few questions: What's a home lab? Why do you want one? And what is the shiny hardware? (That last one is the dessert if you get through the rest 😉.)
-
How does RPM package discovery work? | Red Hat Developer
Learn how dnf works under the covers to find and install packages on Linux.
-
How to install WordPress using WP-CLI on Ubuntu 22.04
In this post, you will learn how to install WordPress using WP-CLI on Ubuntu 22.04 The process is simple, so let’s go for it.
As we all know, WordPress is a CMS tool that allows you to quickly deploy dynamic websites without too much effort. Although it mostly works on blogs, also with certain plugins you can do anything with it.
It is in the plugins and the large number of themes that WordPress excels. Making with a few clicks your site entirely different from the previous one.
Today, we will install it, but using a tool that will help us to make the process even easier.