today's howtos
-
How to Use Pushbuttons With Raspberry Pi GPIO Pins - Make Tech Easier
If you’ve ever used an LED with a Raspberry Pi, then you probably know how GPIO outputs work. Code makes electricity flow through General Purpose Input / Output (GPIO) pins, passes through the LEDs, and lights things up. But have you ever tried doing the reverse? With pushbuttons, you can do the exact opposite. This tutorial shows you how to turn a GPIO pin into an input pin, listening to every button press you make!
-
How to Password Protect Directory in Nginx Web Server
While Nginx pre-configurations cater to essential security needs for our web applications, some security precautions need to be user-defined.
For instance, a website’s web directory may contain files and other subdirectories that we wish to protect from unauthorized user access. A solution to the problem is basic authentication implementation on the Nginx web app configuration file.
This article will walk us through viable steps of password-protecting a web app directory hosted by an Nginx web server.
-
How to Install Puppet 7 Server on Rocky Linux/Alma Linux 9
In this guide, we are going to install Puppet 7 Server Open Source in Rocky Linux/Centos 8 Server. We will set up a Puppet server and an agent and install nginx using puppet manifests.
Puppet is a software configuration management tool which includes its own declarative language to describe system configuration. It is a model-driven solution that requires limited programming knowledge to use. Puppet operates in an agent-master architecture, in which a master node controls configuration information for a fleet of managed agent nodes.
-
How To Install OpenRGB on Linux Mint 21 - idroot
In this tutorial, we will show you how to install OpenRGB on Linux Mint 21. For those of you who didn’t know, Open source RGB lighting control that doesn’t depend on manufacturer software. OpenRGB is available for Windows, Linux, and macOS. The software offers many features, including support for RGB amber lighting, game integrations, music visualization, and more. Additionally, the software comes with a plugin interface that allows you to extend its functionality even further.
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 OpenRGB on Linux Mint 21 (Vanessa).
-
Network automation with Ansible filters | Enable Sysadmin
Ansible uses the Jinja2 templating system to handle variables in YAML playbooks. As I explained in my previous article, filters are a very powerful feature in Ansible that allow you to manipulate data in many different ways. One useful filtering example is network configuration.
-
GNU Linux – fonts and font editors – what is WOFF?
-
GNU Linux bash – tar – how to pack compress backup folder create tar.gz and exclude filetype
-
Neofetch – A Command Line Linux System Information Tool
How much do you know about your Linux OS system information? Moreover, what system settings do you check, or what inbuilt Linux commands do you run to retrieve important information regarding your Linux operating system distribution?
This article guide is here to answer such important questions concerning your Linux OS distribution via the Neofetch system information tool.
-
How I analyze my music directory with Groovy | Opensource.com
Lately, I’ve been looking at how Groovy streamlines the slight clunkiness of Java. In this article, I begin a short series to demonstrate Groovy scripting by creating a tool to analyze my music directory.
In this article, I demonstrate how the groovy.File class extends and streamlines java.File and simplifies its use. This provides a framework for looking at the contents of a music folder to ensure that expected content (for example, a cover.jpg file) is in place. I use the JAudiotagger library to analyze the tags of any music files.