today's howtos
-
How to trace application errors using SystemTap | Red Hat Developer
Low-level library functions and kernel system calls on Linux report errors by returning a POSIX error code such as ENOENT or EINVAL. With SystemTap, an open source tracing toolkit maintained by Red Hat, it is possible to look inside the Linux kernel to debug the problem. This article demonstrates how to investigate the cause of an error code using SystemTap with the whythefail.stp script.
[...]
This article demonstrated how source code inspection and SystemTap tracing could narrow down the causes of a confusing error code. With the help of whythefail.stp, we utilized the general information provided by an EINVAL error code and traced the Linux kernel's implementation of the system call to understand which argument was invalid and why. We also illustrated how debugging tools could double as program understanding tools for programmers whose code interacts with an unfamiliar project. When we used whythefail.stp, our goal was not to diagnose a problem within the kernel itself but to understand the kernel's internals and behavior in more detail than the documentation conveys.
-
How to install and configure Redpanda on Debian 11
Redpanda is a Kafka®-compatible streaming data platform that boasts of being 10x faster and 6x more cost efficient. It is also JVM-free, ZooKeeper®-free, Jepsen-tested and source available. It is distributed as a single binary with everything thus allowing you to deploy in minutes. It works natively with Kafka tools.
-
How to Add a User in Linux [With Examples]
This guide shows how to add a user in Linux using the useradd and adduser commands or utilizing the GUI tools that the desktop provides.
-
How To Install Docker Compose on Ubuntu 22.04 LTS - idroot
In this tutorial, we will show you how to install Docker Compose on Ubuntu 22.04 LTS. For those of you who didn’t know, Docker Compose is a utility that permits you to run multi-container application setups based on YAML definitions. It creates fully customized environments with multiple containers that have the capability to share data volumes and networks using service definitions. Once you have a Compose file, you can create and start your application with a single command.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Docker Compose on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.
-
Fix TypeCatcher (Google Fonts Installer) does not launch in Ubuntu 22.04 | UbuntuHandbook
This simple tutorial shows how to fix the launching issue for TypeCatcher in Ubuntu 22.04 or other Linux with Python 3.9 & higher.
TypeCatcher is a simple GTK application to download and install Google webfonts for off-line use. The app is available to install in Ubuntu Software for all current Ubuntu releases. However, it does not launch in Ubuntu since 21.10.
-
Setup SFTP Server With SFTPGo In Linux - OSTechNix
This detailed guide explains what is SFTPGo, how to install SFTPGo in various Linux distributions, and finally how to setup a SFTP server with SFTPGo in Linux.
-
6 ways to get information about your CPU on Linux
Getting insight into what CPU you're running is a useful trick to know.
-
How to perform unattended Linux installations with Kickstart
Kickstart is an automatic installation method natively available on those distributions which uses the Anaconda installer: Red Hat Enterprise Linux (and its clones) and Fedora. It can also be used to install Ubuntu, actually, but in that context it acts as a layer of compatibility to the debian-native preseeding method. With Kickstart we can perform unattended, customizable and reproducible installations.
In this tutorial we learn the basics of Kickstart, and we see how to perform an unattended installation of a Fedora Workstation system.