Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
  • GPIO Aggregator, a virtual gpio chip - Bootlin's blog

    GPIOs are obviously widely used in embedded systems, and many of them are typically driven directly by Linux kernel drivers for interrupt lines, reset lines, or other control lines used to connect with various peripherals. However, a number of GPIOs are sometimes directly driven by user-space applications. Historically, the Linux kernel has provided a sysfs interface, in /sys/class/gpio to allow such direct control. But in recent years, this sysfs interface has been superseded by a new user-space interface based on /dev/gpiochip* character devices.

    This new interface has numerous advantages over the previous /sys/class/gpio interface. However, one drawback is that it creates one device file per GPIO chip, which means that access rights are defined per GPIO chip, and not per GPIOs.

  • How to install XAMPP on Ubuntu 21.04 - Unixcop

    XAMPP is a cross-platform used as a local host, providing them a suitable environment for developers to test web applications before transferring data to remote servers.

    XAMPP is an open-source Apache distribution of a PHP development environment. It consists of the cross-platform software Apache, Maria DB, PHP, and Perl.

  • How to Capture HTTP traffic in Wireshark

    Wireshark allows you to analyze the traffic inside your network with various tools. If you want to see what’s going on inside your network or have issues with network traffic or page loading, you can use Wireshark. It allows you to capture the traffic, so you can understand what the problem is or send it to support for further assistance. Keep reading this article, and you’ll learn how to capture http traffic in Wireshark.

  • How To Install Hastebin on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Hastebin on Ubuntu 20.04 LTS. For those of you who didn’t know, Hastebin is a free and open-source Pastebin software tool written in Node.js. Hastebin web interface is simplicity itself, and it gives you commands to create a new text snippet, save the current snippet, and open existing snippets for editing.

    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 Hastebin open-source alternative to Pastebin on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.

  • How to play Max Payne on Linux

    Max Payne is a neo-noir third-person shooter video game developed by Remedy Entertainment and published by Rockstar Games. In the game, you play as renegade DEA agent Max Payne as he hunts down those who murdered his family. Here’s how to get it working on Linux.

  • How to Create Arrows in LaTeX – Linux Hint

    LaTeX is a powerful tool for creating scientific and technical documents. One element about working with such documents is the use of various types of arrows.

    In this quick guide, we shall discuss various types of arrows and how you can use them in your LaTeX documents.

  • How to Change Text Colors in LaTeX – Linux Hint

    When working with LaTeX documents, you need a way to modify how the text is displayed. You can achieve this by changing font families, font styles, or size.

    You can also modify how the information is displayed by changing the text color. Changing text color allows you to add information such as warnings, hyperlinks, and more.

    This tutorial will discuss how to use LaTeX xcolor package to change text colors in LaTeX documents.

  • How to Align Text and Formulates in LaTeX – Linux Hint

    LaTeX allows us to determine and control text alignment in our documents. In this tutorial, we will discuss how to align blocks of text or an entire document.

  • How to Install LAMP on AlmaLinux 8 | RoseHosting

    A LAMP is a group of software that provides a fully functional environment to host websites or PHP applications on the internet. It is open-source and one of the most popular stacks to host any kind of website. A LAMP is an acronym of the four software, Linux Operating System, Apache HTTP Server, MySQL or MariaDB database management system, and PHP programming language.

    In this post, we will show you how to install the LAMP stack on AlmaLinux 8.

  • How To Append Multiple Lines To A File With Bash – Linux Hint

    In Linux, we constantly work with files. As a result, we may encounter instances where we need to append multiple lines to a file.

    This quick guide will discuss various approaches you can use to append multiple lines in a file.

  • Full Guide to Bash Loops – Linux Hint

    Linux is an open-source operating system. Unlike Windows and macOS, it is not limited to desktops; it is used on servers, mobile phones, gaming consoles, smart appliances, and embedded systems. Linux was developed and released in 1991 by Linus Torvalds, who started this project as a hobby. Upon release, Linux got unprecedented support from the open-source community. Soon after, the Linux kernel release community started the development on it. Software systems, window systems, and desktop environments were integrated into the newly created Linux kernel.

    Linux is also known as a Unix-like operating system because it was developed by keeping Unix standards in mind. Many Linux features are similar to Unix, like a directory system, multitasking, and multi-user operations. Still, the characteristic that distinguishes both operating systems is that Unix is a proprietary operating system while Linux is free. Apart from being open-source,

  • How to Comment Multiple Lines at Once in Vim – Linux Hint

    Vim is an excellent command-line text editor, especially if you are comfortable with its shortcuts, modes, and bindings. However, when working with it, we can encounter instances where we need to comment on code blocks while editing code and configuration files.

    This article describes quick and easy ways to comment and uncomment out multiple lines of code in Vim editor. Learning how to do this will remove the need to go down each line and comment out each line.

  • A Beginner’s Guide to Crontab on CentOS – Linux Hint

    The “cron” daemon is a built-in Linux application that Linux users utilize for scheduling the execution of processes. Cron searches the “cron tables” or “crontab” for the particular files and scripts. The crontab file provides a set of commands which you can execute regularly. It also provides the names of the commands that are utilized for managing the command list. Crontab also makes use of the cronjob scheduler to carry out operations. According to a set of instructions, Cron is a system function that will do or execute processes for you. Crontab is the name of the schedule, as well as the utility that is used for these modifications.

  • How Do I Zip All Files In A Directory In Linux? – Linux Hint

    Zip is a lossless data compression utility supported by all Linux distributions.

    Zip archives refer to container archives that contain one or more compressed files and directories. Zip files are cross-platform, allowing you to create zip archives in Windows, Linux, and macOS using various utilities. In addition, zip archive files take less space, making them easier to transfer and store.

    In Linux, we use the zip archive utility to create zip archives. Throughout this tutorial, we will focus on how to go about creating zip archives in Linux using the zip utility.

  • How to Install Splunk on Debian 11 or 10 Linux - Linux Shout

    Let’s install Splunk on Debian 11 / 10 Linux operating system analyze data collected from various resources…

    Splunk is security, information, and event management software (SIEM for short). It is a cross-platform solution that receives information from various sources and combines and visualizes the correlated information on a dashboard. The data processed by Splunk can also be enriched with the conventional data from relational databases.

    Splunk understands machine data as well as the texts that people have created. Machine data is the information (unstructured data) that is generated during the operation of various systems (computers, mobile devices, network components, security appliances, measuring devices, etc.). When you talk about the machine data, you mostly talk about the logs.

    Thus, SIEM means that you load all the log files of your devices into a large database and unify them. The SIEM warns you when something unusual occurs. You can analyze this data with Splunk to figure out what is going on.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. 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 MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.