today's howtos
-
Capturing data you need later when using bpftrace
When using bpftrace, it's pretty common that not all of the data you want to report on is available in one spot, at least when you have to trace kernel functions instead of tracepoints. When this comes up, there is a common pattern that you can use to temporarily capture the data for later use. To summarize this pattern, it's to save the information in an associative array that's indexed by the thread id to create a per-thread variable. If you have more than one piece of information to save, you use more than one associative array.
-
Using config files for SSH
In today’s installment of things you already know, unless you don’t, I’m talking about config files for SSH. I did a video call with a client recently who didn’t know these existed, and it made his day.
Rather than remembering which usernames, key files, ports, and hostnames you need for each machine, you can stash them in an SSH config file. Remote orchestration tools like Ansible can also use hosts defined in this, making managing fleets of servers infinitely easier.
-
How to List All Running Services Under Systemd in Linux
Linux systems provide a variety of system services (such as process management, login, syslog, cron, etc.) and network services (such as remote login, e-mail, printers, web hosting, data storage, file transfer, domain name resolution (using DNS), dynamic IP address assignment (using DHCP), and much more).
Technically, a service is a process or group of processes (commonly known as daemons) running continuously in the background, waiting for requests to come in (especially from clients).
-
How to Install Nagios on Rocky Linux 9 / Alma Linux 9
Formerly known as Nagios, Nagios Core is a free, open-source, and powerful network monitoring tool that allows you to monitor servers and applications on your network. You can monitor both Linux and Windows servers as well as running applications.
-
How to Install PrestaShop on Debian 11
PrestaShop is a free, open-source e-commerce platform that allows users to create and manage their online store.
-
How to host multiple websites on Linux with Apache
In this guide from TechRepublic Premium we’re going to explore the various things you can do with a Linux server. We won’t leave out any steps, so you won’t have to refer to another tutorial to complete the process.
-
How to deploy an application with Kubernetes
If you want to deploy applications into a Kubernetes cluster, be warned — it's not the easiest task. There are a lot of moving pieces that go into these scalable containers.
-
How to Suspend and Resume Processes in Linux [Quick Tip]
Learn how to suspend a running process in the Linux command line. Also learn how to resume a stopped process. Have you ever encountered a situation where you have to suspend an ongoing task as you have more important tasks to execute and want to resume the previous task later?
-
How To Install Telegram on Rocky Linux 9
In this tutorial, we will show you how to install Telegram on Rocky Linux 9. For those of you who didn’t know, Telegram is a cloud-based messaging application with end-to-end encryption that allows users to send messages, files, photos, and videos securely.