Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How to Create DMARC Record For Your Domain – TecAdmin

    Domain-based Message Authentication, Reporting, and Conformance (DMARC) is a technical specification for email authentication that was developed jointly by the Internet Engineering Task Force (IETF) and DMARC.org. DMARC allows email senders to create DMARC records in DNS that tell receivers what to do if the email being sent doesn’t pass either SPF or DKIM authentication checks.

    In this blog post, we will show you how to create DMARC records for your domain using DMARC.org’s free DMARC reporting tool.

  • How to Change File Permissions in Linux Systems

    Being an expert user or administrator of a Linux operating system environment requires us to have a mastery of Linux file management. Everything under the Linux operating system environment is regarded as a file, from created or existing files and folders to internal or external hardware devices like USB devices.

    Linux file management accounts for a larger proportion of the Linux OS operations and starts at a folder/directory level. Linux adheres to a tree-like structure with a base directory that leads to other sub-directories or sub-folders used to maintain created or already-existing files.

  • How To Install XAMPP on Ubuntu 22.04 LTS - idroot

    In this tutorial, we will show you how to install XAMPP on Ubuntu 22.04 LTS. For those of you who didn’t know, XAMPP is a cross-platform development environment consisting of Apache, MariaDB, and PHP. These are all common components used in web hosting, and combining them into a single installation makes the initial setup less complicated.

    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 XAMPP on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.

  • How to increase Swap Space in Ubuntu 22.04 LTS Jammy - Linux Shout

    Add the required Swap Space in Ubuntu 22.04 LTS Jammy JellyFish Linux, if you think the existing one is not enough on your Server or Desktop system. Users can also follow this tutorial for Ubuntu 20.04 LTS as well.

    Linux (like almost all other operating systems) tries to keep the operating system components, currently required program data, etc. in RAM (main memory), since the access to the RAM is much faster than to data carriers such as hard disk, CD, or USB stick.

    However, RAM has its limit of volatile space, if your system has 4GB of memory then it can happen many times your RAM space is allocated completely when we run many programs simultaneously. At this point, the Linux kernel begins to free up RAM by writing parts of the data stored in RAM to the hard disk, the portion of the hard disk that is dedicated to this is called “Swap” memory. If the data is needed again, it is loaded back into RAM and other data that is not needed at the moment is written to the swap. In such a case, it is also said: that “the system swaps”.

  • How to create a Rust application on OpenShift | Enable Sysadmin

    With the help of a container and OpenShift's "import from Git" functionality, you can onboard a Rust application onto OpenShift quickly.

  • How to Enable Gzip Compression on Nginx

    In this tutorial you will learn how to enable Gzip compression on Nginx.

    Enabling gzip compression is a must because it will not only make your site faster, but it will also save your server's bandwidth from getting used to serve uncompressed content, this means less bandwidth and a faster site served to your visitors.

  • Using Linux System Roles to implement Clevis and Tang for automated LUKS volume unlocking - Fedora Magazine

    One of the key aspects of system security is encrypting storage at rest. Without encrypted storage, any time a storage device leaves your presence it can be at risk. The most obvious scenario where this can happen is if a storage device (either just the storage device or the entire system, server, or laptop) is lost or stolen.

    However, there are other scenarios that are a concern as well: perhaps you have a storage device fail, and it is replaced under warranty — many times the vendor will ask you to return the original device. If the device was encrypted, it is much less of a concern to return it back to the hardware vendor.

    Another concern is anytime your storage device is out of sight there is a risk that the data is copied or cloned off of the device without you even being aware. Again, if the device is encrypted, this is much less of a concern.

    Fedora (and other Linux distributions) include the Linux Unified Key Setup (LUKS) functionality to support disk encryption. LUKS is easy to use, and is even integrated as an option in the Fedora Anaconda installer.

  • Complete separation between boot-manager and EasyOS

    The separation means that it looks exactly like a frugal install in the image file. This makes it conceptually very simple for someone to see how to do a frugal install into an internal drive.
    EasyOS no longer knows anything about the boot manager or bootloader that caused it to boot. The boot-partition variables BOOT_UUID, BOOT_DEV and BOOT_DIR are no longer in EasyOS. All that Easy knows about is where it is installed, in the working-partition, variables WKG_UUID, WKG_DEV and WKG_DIR.

  • Save Output Of A Command From the Debian Terminal To A File - VITUX

    We all know how running a command in the Debian command line, the Terminal, results in the execution of the command and printing of the results, if any, in the Terminal itself. Sometimes, this immediate display of output is not enough, especially if we want to save the output for later use. Fortunately, the Linux bash and all operating system bash, for that matter, is equipped with the ability to print the output of a command to a specified file. In this article, we will work on the following two scenarios...

  • Why is my syslog-ng disk-buffer file so huge even when it is empty? - Blog - syslog-ng Community - syslog-ng Community

    Most people expect to see how many log messages are waiting in the disk-buffer from the size of the syslog-ng disk-buffer file.. While it was mostly true for earlier syslog-ng releases, for recent syslog-ng releases (3.34+) the disk-buffer file can stay large even when it is empty. This is a side effect of a recent syslog-ng performance tuning.

  • Measuring BPF performance: Tips, tricks, and best practices | Red Hat Developer

    Measuring stuff is harder than you may think. Even in math, there is such a thing as non-measurable sets and Banach-Tarski paradox, which shows that a three-dimensional ball of radius 1 can be dissected into 5 parts, which can be magically reassembled to form two balls of radius 1. Now imagine what kind of mess we've got in software engineering.

    This may sound somewhat philosophical, so let's get down to earth and talk about BPF programs. BPF, which originally stood for Berkeley Packet Filter, is a general-purpose execution engine that can be used for a variety of purposes, including networking, observability, and security. What we'll be discussing in this article was initially called extended BPF (eBPF) to differentiate from the classic BPF, but now this technology is often referred to as just BPF, and that's what we'll call it here.

    Having full visibility throughout the systems we build is a well established best practice. Usually, one knows which metrics to collect, and how and what to profile or instrument to understand why the system exhibits certain levels of performance. But all of this becomes more challenging as soon as the BPF layer is included. Despite years of development, it is still a black box in many ways.

    But do not despair: this article will show, with some amount of creativity, that one can reveal what is going on under the hood. The article will begin with a userspace service that uses BPF programs attached to various syscalls to inspect system activity. It does the job, but what we really want is to understand the overhead of the BPF programs themselves. How do you look inside? That's the problem that we will ultimately tackle.

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.