Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • The "why" problem with on-host (host-based) firewalls on your machines

    In the old days, this was to spot and deal with malware, but today, in theory, we could use this to deal with all of the things that want to phone home to snoop on us. Unfortunately, I believe there is a problem with this nice vision, what I will call the problem of "why".

  • 'date -d' vs. 'date -s', and 'show foo' vs. 'clear foo'

    There was someone running around trying to do some work on a Linux box. They had picked up some time_t value from the logs - that is, the number of seconds since January 1, 1970 at midnight UTC that is typically thought of as "Unix time". Right now, it's about 1.6 billion, and will hit 1.7 billion in November 2023. They wanted to turn it back into a human-readable date.

  • Syncing Lagrange Bookmarks via the Cloud

    Lagrange is a superb browser for the Gemini protocol; just a lovely piece of software that's comfortable and in line with the protocol it's built to be used with, is very good on resources. If only our web browsers could be this nice and light at the same time!

    Thankfully it also has the option to save bookmarks to a simple bookmarks.gmi file (press CTRL+S while on the bookmarks page). Try it, it's easy and we'll need it for our next steps further on.

    Lagrange ALSO has the ability to use any Gemini page containing links as a bookmark source. This is very handy, and this will allow us to create a (albeit crude) way to sync bookmarks between our devices.

  • Write HTML, Not JavaScript

    This is a good thing. The web has become increasingly bloated for various reasons, and along with that we've also seen increasingly complex websites/apps that put ever increasing load on the server, in terms of those that dwell sorely server-side. With static generated websites being back in vogue since, I dunno, 2016 or so, we've seen more and more pure HTML and CSS being deployed that only do (or connect to) server stuff when they have to, instead of the server itself being responsible for spitting out the HTML and CSS. A healthy bit of Separation of Concerns, if you will.

    Unfortunately, somehow this has also led to websites being increasingly written in and depending on JavaScript (JS). Entire JavaScript frameworks have risen (almost too many to count nowadays) and become incredibly popular. I wish I were joking, but it's even fairly common to write HTML (or even CSS) inside JavaScript. Even one of the more sane JS driven frameworks, Svelte, tends to save all the HTML and CSS (well, if the CSS is written inline in the HTML anyway) inside the JavaScript bundles. When coupled with it's sister project, Sapper, which allows you to actually generate a static website, this is especially awkward as you have both static pages AND a copy of all the HTML and CSS in the .js bundle files as well. Hello bloat.

  • How to Install Foxit PDF Reader on Rocky Linux 8

    Foxit PDF Reader is a free multi-platform PDF reader for Linux, macOS, and Windows. The PDF reader is a small, fast, and feature-rich PDF Reader to view, annotate, form-fill, and sign PDF documents. PDF Reader easily integrates with popular ECMs and cloud storage.

    At the end of the tutorial, you will know how to install Foxit PDF Reader on Rocky Linux 8.

  • Things To Do After Installing Linux Mint 20 "Ulyana" – TecAdmin

    If you’re a user that recently switched from Windows or macOS to Linux then Linux Mint Ulyana Desktop is the best option for you as it provides its users with new features and user-friendly GUI. If you’re already familiar with Linux and have used Ubuntu 20.04 in the past then this one is similar to it but with some extra and better features.

    Linux Mint 20 “Ulyana” offers three different desktop looks to its users which are Cinnamon, MATE, and Xfce, out of which the most preferred and favorite of users is Cinnamon. But if you’re looking for a lightweight version you should definitely go for Xfce.

  • How to Create a Certificate Authority (CA) on Ubuntu 20.04

    Certificate Authority (CA) is an entity responsible for issuing digital certificates to make communication secure. Its acts as a trusted third party to the owner of the certificate and the party relying upon the certificate.

    Certificate Authority entity could be either public or private. Public CAs are commonly used to verify the identity of websites and private CAs are used for generating certificates for a Client-to-Site VPN, users, internal servers, or individual programs and services within your infrastructure such as local web servers.

    In this tutorial, we learn how to create a private certificate authority (CA) on Ubuntu 20.04. Here we are using easy-rsa CLI utility to build and manage the CA Server.

  • How to install Audacity 3.0.5 on a Chromebook

    Today we are looking at how to install Audacity 3.0.5 on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

    This tutorial will only work on Chromebooks with an Intel or AMD CPU (with Linux Apps Support) and not those with an ARM64 architecture CPU.

  • How to Install Cacti on Rocky Linux and AlmaLinux

    Cacti is an open-source web-based network monitoring and graphing tool written in PHP. It was designed as a front-end application for data logging using RRDtool. Cacti uses the SNMP protocol to monitor devices such as routers, servers, and switches.

    It displays information such as network bandwidth utilization and CPU load in a graph format. It’s essential in monitoring and ensuring IT infrastructure is functioning as desired.

  • How To Install Perl on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Perl on Ubuntu 20.04 LTS. For those of you who didn’t know, Perl (Practical Extraction and Reporting Language) is a very popular and powerful language for String Handling and String Processing. It has very robust modules available to interact with other programming languages on various platforms.

    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 Perl programming language 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 Install Yay AUR Helper on Manjaro 21 - idroot

    In this tutorial, we will show you how to install Yay AUR Helper on Manjaro 21. For those of you who didn’t know, Yay (Yet another Yogurt), is an AUR helper that allows users to install and manage packages on a Manjaro system. During installation, it automates the installation of software packages from PKGBUILDS. Yay replaces Aurman and Yaourt which have long been discontinued. Since its release, Yay has proven to be a remarkable helper and a perfect alternative to the native Pacman package manager.

    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 through the step-by-step installation of the Yay AUR Helper on a Manjaro 21 (Ornara).

  • How to Add a User to Sudoers on Rocky Linux

    When installing Rocky Linux, the user account that was created during the initial setup has sudo rights. However, there may be a need to add additional sudo users or to remove the access. This is a straightforward process with a few commands.

    In the following tutorial, you will learn to add a user to the sudoers group on any Rocky Linux system.

  • How to Install Google Chrome Stable, Beta, or Unstable on Pop!_OS 20.04

    Google Chrome is the most used Internet Explorer software on the earth, with a recent update in 2021 that Chrome is currently the primary browser of more than 2.65 billion internet users. However, as you would know, after installing Linux Mint, only Mozilla Firefox is packaged with the distribution but luckily, installing Google Chrome on Linux Mint is a straightforward task.

    In the following tutorial, you will learn how to install Google Chrome on Pop!_OS 20.04.

  • How to Install Java 17 LTS (JDK 17) on openSUSE 15 Leap

    Java is a general-purpose, class-based, object-oriented multipurpose programming language that is popular due to the design of having lesser implementation dependencies, meaning that the compiled Java code can be run on all platforms that support Java without the need for recompilation. Java is also fast, secure, and reliable, therefore. It is widely used for developing Java applications in laptops, data centers, game consoles, scientific supercomputers, cell phones, etc.

    JDK 17 (JDK 17) has brought forward new language enhancements, updates to the libraries, support for new Apple computers, removals and deprecations of legacy features, and work to ensure Java code written today will continue working without change in future JDK versions.

    In the following tutorial, you will learn how to install the latest Java 17 (JDK 17) on openSUSE 15 Leap.

  • How to Join/Merge Multiple Audio Files into One in Linux

    There are several reasons why a Linux user will give in to the urge of concatenating or joining several mp3 files into a single audio file. On one hand, you could be dealing with a single project presentation that exists in different audio files.

    On the other hand, you might be dealing with a single mp3 audio file that has multiple audio distortions in-between its track. Therefore, the best move here will be to strip out the bad audio sections leaving behind several segments of the good audio section that need to be joined into a single audio file.

  • How to install Wire Desktop on Linux Lite 5.4 - Invidious

    In this video, we are looking at how to install Wire Desktop on Linux Lite 5.4. Enjoy!

  • How to reset root password on Red Hat 7/8 - Unixcop

    Root user or as we commonly say super user (privileged user) is the most dangerous user in our environment because of its powerful capabilities and authority, in fact there is no rule applied on the root user because simply it can neglect or delete any rule.

    And as a result, experts advise not to log in as the root user to avoid any potential attacks that may happen and exploit the system, and of course with these privileges the harm will be inevitable.

    One would ask, how can we use the commands that would need a certain privilege that exceeds the normal user?!

    It`s a good legit question, and the answer is we grant the user to run commands with the root privileged via the sudo command by adding the user to wheel group.

  • How to set up a static IP address on Debian 11

    When you install a new operating system on your computer, the DHCP server assigns you a dynamic IP address. However, you may need to set up a static IP address on your machine in various situations, such as when you are hosting a web server, or any service requires an IP address rather than a domain name, or in a case where you are about to grant someone remote access to your system. Whatever the reason is, you should know how to set up a static IP address on your system.

    In this post, you will learn how to set up static IP on Debian 11 using two different methods. So, let’s start!

  • How to use auto-updates and rollbacks in Podman | Enable Sysadmin

    New auto-update capabilities enable you to use Podman in edge use cases, update workloads once they are connected to the network, and roll back failures to a known-good state.

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.