Tux Machines

today's howtos

Posted by Roy Schestowitz on Mar 23, 2023

=> Open Hardware: Raspberry Pi Pico, Arduino, and ESP32 | Ubuntu 20.04.6 LTS Released to Re-Enable Support for Secure Boot Systems

In which you find out that everything you assumed was wrong

=> ↺ In which you find out that everything you assumed was wrong

What makes debugging this issue harder is that Freetype exposes the same information multiple times. There are three or four different places where glyph advancement can be read and multiple multipliers that could potentially be used. No combination of these provides a value that would be even relatively close to the correct one.

How to Make a Motion Detector with Raspberry Pi

=> ↺ How to Make a Motion Detector with Raspberry Pi

Be it a part of a security system or to help automate your smart appliances, a smart motion detector is an indispensable piece of IoT hardware you'll definitely want to have.

How To Install LXD on Ubuntu 22.04 LTS using apt/snap

=> ↺ How To Install LXD on Ubuntu 22.04 LTS using apt/snap

Ubuntu 22.04 LTS comes with LXD pure-container hypervisor to run an unmodified version of Debian, Ubuntu, CentOS, Fedora, Alpine, Arch and many other Linux distro. You can mimic AWS or different cloud instance types with LXD for testing and deployment purposes on your development machine. You can also run a GUI app such as Firefox completely isolated using LXD for security or privacy reasons. Let us see how to set up and use LXD on the Ubuntu Linux 22.04 LTS using APT or snap command.

How to Install Percona XtraDB Cluster on Rocky Linux 9

=> ↺ How to Install Percona XtraDB Cluster on Rocky Linux 9

Percona XtraDB Cluster is a fully open-source database clustering solution for MySQL. Percona XtraDB Cluster provides synchronous replication, multi-source replication, automatic node provisioning, automatic SSL encryption configuration, and optimized performance.

Enable CBR “Code Ready Builder” – PowerTools in AlmaLinux 9

=> ↺ Enable CBR “Code Ready Builder” – PowerTools in AlmaLinux 9

CentOS PowerTools is not available in RHEL 9-based systems instead its equivalent repository which is known as CRB (Code Ready Builder). In this article, we learn the commands to enable CBR in Almalinux or Rocky Linux 9.

ZFS on Linux and NFS(v3) server filesystem IDs

=> ↺ ZFS on Linux and NFS(v3) server filesystem IDs

One part of a NFS filehandle is an identification of the filesystem (or more accurately the mount point) on the server. As I've seen recently there are various forms of (NFS) filesystem IDs, and they can even vary from client to client (although you shouldn't normally set things up that way). However, all of this still leaves an open question for ZFS on Linux filesystems in specific, which is where does the filesystem ID come from and how can you work it out, or see if two filesystem IDs are going to remain the same so you can substitute servers without invalidating client NFS mounts. As it happens I have just worked out the answer to that question, so here it is.

Fail2Ban Custom Filters: 20 Example Configurations to Enhance Security

=> ↺ Fail2Ban Custom Filters: 20 Example Configurations to Enhance Security

Fail2Ban is a popular open-source intrusion prevention software that detects and blocks malicious behavior on Linux servers. By monitoring log files, Fail2Ban can identify suspicious activities and apply predefined rules to block attackers' IP addresses.

How to Install Shotwell on Fedora Linux

=> ↺ How to Install Shotwell on Fedora Linux

Welcome to the world of Shotwell, an open-source photo manager and editor that has become the go-to choice for users who want to organize, edit, and share their photos with ease. With its user-friendly interface and powerful features, Shotwell has gained popularity among Linux users, especially those running Fedora Linux.

How to Install SMPlayer on Fedora Linux

=> ↺ How to Install SMPlayer on Fedora Linux

SMPlayer is a versatile, feature-rich, user-friendly media player for Linux, Windows, and macOS systems. Built on the powerful MPlayer and MPV engines, SMPlayer offers an intuitive interface and support for a wide range of video and audio formats.

It’s worth putting in the effort to regularly update dependencies

=> ↺ It’s worth putting in the effort to regularly update dependencies

Whether or not to regularly spend time and effort upgrading dependencies can be a contentious topic on development teams. Advocates argue that not doing the work allows tech debt and bitrot to accumulate, while opponents accuse them of chasing new-and-shiny novelties while ignoring what’s actually valuable to the product. Despite what feels like an unending amount of time spent on the churn of upgrades, security teams still struggle to get risky old dependencies patched, and developers complain about using deprecated tools.
After being burned several times by excruciatingly tedious forced upgrades of vulnerable or broken legacy codebases, I’ve come down firmly on the side of favouring frequent updates — with plenty of flexibility and some caveats.

How to Install Latest NodeJS and NPM in Linux

=> ↺ How to Install Latest NodeJS and NPM in Linux

How to create multidomain web applications with Podman and Nginx

=> ↺ How to create multidomain web applications with Podman and Nginx

How to create multidomain web applications with Podman and Nginx

Kiali Does Not See istio-ingressgateway Installed in Separate Kubernetes Namespace

=> ↺ Kiali Does Not See istio-ingressgateway Installed in Separate Kubernetes Namespace

When using a Helm chart for Kiali server deployment, the default values file does not have an option to specify a different namespace for istio-ingressgateway.

UFW: Common Firewall Rules and Commands

=> ↺ UFW: Common Firewall Rules and Commands

A firewall is a security system that monitors and controls the incoming and outgoing network traffic based on predefined security rules. It is an essential component of any secure network, whether it is a personal computer or a large enterprise network.

Looping through the content of a file in Bash

=> ↺ Looping through the content of a file in Bash

Bash, the Bourne-Again SHell, is a popular command-line shell and scripting language that is widely used for its simplicity and ease of use. One of the most common tasks that one might need to perform using Bash is looping through the content of a file.

How to Create a Directory If It Does Not Exist in Linux

=> ↺ How to Create a Directory If It Does Not Exist in Linux

Linux is a popular operating system used by millions of users around the world. One common task when working with Linux is creating and managing directories. In this article, we will cover how to create a directory in Linux only if it does not already exist.

OpenSSL: Working with SSL Certificates, Private Keys and CSRs

=> ↺ OpenSSL: Working with SSL Certificates, Private Keys and CSRs

OpenSSL is a robust, full-featured open-source toolkit that implements SSL and TLS protocols, as well as a general-purpose cryptography library. It is widely used for managing SSL/TLS certificates, private keys, and Certificate Signing Requests (CSRs) in various systems.

Deploying Flask Application on Ubuntu (Apache+WSGI)

=> ↺ Deploying Flask Application on Ubuntu (Apache+WSGI)

Flask is a popular and lightweight Python web framework that enables developers to build web applications with ease. One of the key aspects of deploying a Flask application is choosing the right web server and gateway interface.

Configure Postfix to Use Gmail SMTP on Ubuntu & Debian

=> ↺ Configure Postfix to Use Gmail SMTP on Ubuntu & Debian

Postfix is a popular open-source mail transfer agent (MTA) used to route and deliver email on Linux systems. It provides a robust and efficient means of handling mail delivery.

Peter Czanik: The syslog-ng Insider 2023-03: 4.1; Homebrew; Ventura;

=> ↺ Peter Czanik: The syslog-ng Insider 2023-03: 4.1; Homebrew; Ventura;

Dear syslog-ng users,
This is the 108th issue of syslog-ng Insider, a monthly newsletter that brings you syslog-ng-related news.

The problem RAID faces with discarding blocks on SSDs

=> ↺ The problem RAID faces with discarding blocks on SSDs

One of the things that's good for the performance of modern SSDs is explicitly discarding unused blocks so the SSD can erase flash space in advance. My impression is that modern SSDs support this fairly well these days and people consider it relatively trustworthy, and modern filesystems can discard unused blocks periodically (Linux has fstrim, which is sometimes enabled by default). However, in some environments there's a little fly in the ointment, and that's RAID (whether software or 'hardware').

How to Configure PHP-FPM on Ubuntu 22.04 or 20.04

=> ↺ How to Configure PHP-FPM on Ubuntu 22.04 or 20.04

Configuring PHP-FPM on Ubuntu 22.04 or 20.04 is essential for optimal performance and security when using Nginx as a web server. This guide provides detailed instructions on installing, configuring, and optimizing PHP-FPM, along with some common examples and troubleshooting tips.

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2023/03/23/today_s_howtos.1.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
141.20736 milliseconds
Gemini-to-HTML Time
3.760987 milliseconds

This content has been proxied by September (3851b).