Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How To Enable HTTP2 in NGINX

    HTTP2 is the natural evolution of HTTP. Thanks to it, we will have an improvement in the speed of response due to its architecture that allows with a connection to make several requests and responses.

    Another interesting aspect of HTTP2 is that it eliminates the sending and receiving of redundant information. In addition to this, everything is done securely so that the Internet experience becomes more efficient.

    For these and more reasons is that many sysadmin and webmasters choose to enable this protocol in all their configurations. Today we will do the same using Nginx.

  • How to Install Flatpak on Ubuntu 22.04 LTS

    Flatpak is a tool for deploying and managing software packages on the Linux operating system. It provides an isolated environment where users can run applications without affecting other parts of their computers.

    With Flatpaks, installing an application is like pulling it into your local repository. Links have then generated that point from the right places in Filesystem to where you can find these files–these hard links will be efficient for disk space since they’re simple compared with doing things through traditional methods.

    Most Ubuntu LTS users know that the distribution focuses on stability over newer features, especially once the LTS has aged after its initial release with packages being frozen. For example, you may want to install the latest version of an application such as Discord, VLC, Spotify, or Ubuntu does not have the application together, making often third-party package managers use it as a backup.

    In the following tutorial, you will learn how to install Flatpak on Ubuntu 22.04 LTS Jammy Jellyfish and enable Flathub to search, install, maintain or remove Flatpak applications as an alternative the standard APT package manager, Launchpad PPA’s and especially Snap packages from Snapcraft.io.

  • Bash script: YES/NO prompt example

    Interactive Bash scripts will often include a yes or no prompt in order to ask for user verification before proceeding with a set of instructions or canceling the procedure.

    If a user answers yes to the prompt, the Bash script will typically proceed with its task, and if a user answers no, the script will either exit or move on to a different part of the script.

    In this tutorial, you will see how to create a yes/no prompt in a Bash script on a Linux system. See some of our examples below to learn how a yes/no prompt works.

  • Bash Scripting: Read input from command line

    We can make a Bash script interactive by prompting a user for input. This can be done from the command line, with our script waiting for user input in order to proceed further.

    The principal way to do this is via the read command. Although it is also possible to read input in the form of command line arguments that are passed to the Bash script when it is executed.

    In this tutorial, you will learn how to read input from the command line with a Bash script and the read command.

  • How to Change Hostname in Linux

    If it’s connected to the internet, your computer has an address. It’s like the street address for your house, but other computers just use a series of numbers.

    To make it easier for us humans to remember, we also assign a hostname using words. If the need arises, here is how to change hostname in Linux.

  • How to Open/Allow incoming firewall port on Ubuntu 22.04 Jammy Jellyfish

    The default firewall on Ubuntu 22.04 Jammy Jellyfish is ufw, which is short for “uncomplicated firewall.” When enabled, the firewall will block all incoming connections by default.

    If you want to allow an incoming connection through ufw, you will have to create a new rule to allow a certain port or multiple ports. We can also specify that only connections from a certain IP address or network range can gain incoming access, while blocking all others. This is all done from the command line and is quite simple once you know the proper syntax.

    The objective of this tutorial is to serve as a quick reference guide on how to allow incoming traffic on any TCP or UDP port using Ubuntu 22.04 Jammy Jellyfish Linux with UFW firewall.

  • How to configure Samba Server share on Ubuntu 22.04 Jammy Jellyfish Linux

    File servers often need to accommodate a variety of different client systems. Running Samba on Ubuntu 22.04 Jammy Jellyfish allows Windows systems to connect and access files, as well as other Linux systems and MacOS. An alternative solution would be to run an FTP/SFTP server on Ubuntu 22.04, which can also support the connections from many systems.

    The objective of this tutorial is to configure a basic Samba server on Ubuntu 22.04 Jammy Jellyfish to share user home directories as well as provide read-write anonymous access to selected directory.

    There are myriads of possible other Samba configurations, however the aim of this guide is to get you started with some basics which can be later expanded to implement more features to suit your needs. You will also learn how to access the Ubuntu 22.04 Samba server from a Windows system.

  • How to install GCC the C compiler on Ubuntu 22.04 LTS Jammy Jellyfish Linux

    The objective of this tutorial is to install GCC, the C compiler, on Ubuntu 22.04 Jammy Jellyfish.

    GCC, the GNU Compiler Collection is a compiler system developed to support various programming languages. It is a standard compiler used in most projects related to GNU and Linux, for example, the Linux kernel.

    Installation of GCC can be achieved by using the apt install command as you will see below.

  • How to manage EFI boot manager entries on Linux

    UEFI is the firmware interface which on modern machines has superseded the legacy BIOS. One of the features of the UEFI firmware is being able to store boot entries in the persistent and editable NVRAM memory (Non Volatile RAM). While installing a Linux distribution (or any other operating system) in UEFI mode makes usually the related boot entry to be written to the NVRAM, in some cases we may want to perform manual operations such as modifying the boot order, creating or deleting a boot entry.

    To accomplish such tasks on Linux we can use the efibootmgr utility. In this tutorial we see how to install it on some of the most used Linux distributions, and how to use it to manage NVRAM boot entries.

  • How To Install FileRun on Ubuntu 20.04

    Today you will learn How To Install FileRun on Ubuntu 20.04

    FileRun is a self-hosted Google Drive alternative. It is a full featured web based file manager with an easy to use user interface. It is great for managing your photo, movie, audio collection, or sharing files with your family and friends.

    FileRun is a reliable and performant File management desktop sync and file sharing

    It runs great on any server, including hosting accounts or small devices like Raspberry PiAccess your files from anywhere (desktop, mobile app or browser).

  • Osquery integration with Wazuh

    osquery is an operating system instrumentation framework for Windows, OS X (macOS), Linux, and FreeBSD. The tools make low-level operating system analytics and monitoring both performant and intuitive.

    osquery exposes an operating system as a high-performance relational database. This allows you to write SQL queries to explore operating system data. With osquery, SQL tables represent abstract concepts such as running processes, loaded kernel modules, open network connections, browser plugins, hardware events or file hashes.

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.