howtos for the evening
-
How To List Or Check All Installed Linux Kernels From Commandline
Linux Kernel is the core component of a GNU/Linux operating system. Developed by Linus Torvalds in 1991, it is a free, open-source, monolithic, modular, and multitasking Unix-like kernel. In Linux, it is possible to install multiple kernels on a single system. Have you ever wondered how many Linux kernels are installed on your Linux box? In this tutorial, we will explore how to check and view all installed Linux kernels, including their versions, from the command line in different Linux operating systems.
-
Trailing slashes on rsync paths
The reason I bring this up is that I was taught that with rsync I should just be mindful of the traling slashes matching or not. But that’s not right. It’s the first path’s last character that matters. The dest path’s last character doesn’t seem to matter.
-
Ban scanners IPs from OpenSMTP logs
If you are an OpenBSD running an OpenSMTP email server, you may want to ban IPs used by bots trying to bruteforce logins. OpenBSD doesn't have fail2ban available in packages, and sshguard isn't extensible enough to support the multiline log format used by OpenSMTP.
Here is a short script that looks for authentication failures in /var/mail/maillog and will add the IPs into the PF table bot after too many failed login.
-
Style your WordPress Atom feed
I recently read Darek Kay's excellent post about styling RSS feeds and wanted to do something similar.
So, here's my simple guide to styling your WordPress blog's RSS / Atom theme. The end result is that if someone clicks on a link to your feed, they see something nicely formatted, like this: [...]
-
How To Install Nginx on Debian 12
In this tutorial, we will show you how to install Nginx on Debian 12. For those of you who didn’t know, Nginx, a powerful and high-performance web server, can significantly enhance your website's speed, scalability, and overall performance. By installing Nginx on Debian 12, you can harness its advanced features and leverage its efficiency.
-
How to Count Files in Linux Directory?
If you are a System Administrator or a Server Administrator, you are constantly observing the files on the system. This includes managing and maintaining the files and sorting and counting them. This post will act as a guide and show you all the different ways that you can use to count files in a linux directory. The main command in most methods will be the wc command which will be combined with other commands and tools to count the number of files in a Linux Directory.
-
Using Airflow to Run Spark on Kubernetes
Here's how to set up a Spark application on Kubernetes using the Airflow scheduler for data-intensive workloads.
-
How to install Java 8/11 on Amazon Linux 2023
Here we go through the commands available to install Java 11 or 8 on Amazon Linux 2023 for production or business applications in your cloud infrastructure. Java is available through the Amazon 2023 repositories as Corretto.
-
How to Install TeamViewer on Linux Mint 21/20
This guide is tailored to demonstrate how to install TeamViewer on Linux Mint 21 as well as its older supported release, Linux Mint 20. TeamViewer is a powerful remote access and control tool that has carved a niche for itself in the realm of remote support and online meetings.
-
Get up to Speed with Containers Very Quickly with DockSTARTer
I'm on a constant hunt for applications that help ease the complexity of Docker container deployments.
-
Scan LAN and get Windows host names
$ nmap -sn --system-dns 192.168.0.1-253
-
Chrome for Linux: A Comprehensive Guide - Nigeria News June 24, 2023
If you are a Linux user and are looking for a web browser that works seamlessly with your operating system, Chrome for Linux is a great option. In this article, we will explore everything you need to know about Chrome on Linux, its features, installation process, and some common troubleshooting tips.