Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Ευάγγελος Μπαλάσκας - BTRFS and RAID1 over LUKS » Evaggelos Balaskas - System Engineer

    Hi! I’m writing this article as a mini-HOWTO on how to setup a btrfs-raid1 volume on encrypted disks (luks). This page servers as my personal guide/documentation, althought you can use it with little intervention.

  • How to Fix "MySQL ERROR 1819 (HY000):" in Linux

    When creating a MySQL user with a relatively weak password, you might encounter the error ‘MySQL ERROR 1819 (HY000): Your password does not satisfy the current policy requirements’. Technically, this is not an error, but a notification that you are using a password that does not meet the recommended password policy requirements.

  • Learn how to simplify data protection using Vinchin Backup & Recovery with Oracle Linux Virtualization Manager
  • Subcluster allocation for qcow2 images | The world won't listen

    In previous blog posts I talked about QEMU’s qcow2 file format and how to make it faster. This post gives an overview of how the data is structured inside the image and how that affects performance, and this presentation at KVM Forum 2017 goes further into the topic.

    This time I will talk about a new extension to the qcow2 format that seeks to improve its performance and reduce its memory requirements.

    Let’s start by describing the problem.

  • Client-Server workloads on the Web - Everyone is doing it wrong

    The way we handle client-server architecture in the modern web is completely backwards from how it should be. According to the Encyclopedia Britannica's description on the subject, a computer user tells the client computer to send a request to the server which should then return the results of the request to the client in order to be displayed to the user. This is entirely the opposite of how we handle things on the web, which is built upon the client-server architecture.

    A good way to illustrate how client-server architecture is implemented entirely backwards on the web is this; Let's say that you and a few friends want to go to a fancy restaurant to have a good time and good experience. So you get in your car and drive to the restaurant (which from this point on will be referred to as "yummi food." yes that is "yummi" with an "i") in order to meet up with your friends and have the aforementioned good experience that you have been dreaming about ever since you got in your car. You arrive at "yummi food" and meet up with your friends, after which you proceed to enter the establishment. You and your group are observing appropriate etiquette for such a prestigious dining establishment, but something seems off.

    For instance, instead of your server extending the courtesy of pulling the chairs out from the table for you and your friends (the clients), you are directed to seat yourself at your reserved table. It may not seem like a big deal to you at the time, but what comes next is truly perplexing. After your group has seated themselves, the server comes to your table to take your orders, one-by-one the server writes down everyone's orders until the last person in your group has ordered their food. You then wait, as you would expect, for the food to be prepared, however, rather quickly, the server comes back, not with your food, but a recipe and a list of precise instructions for how to cook and prepare the food, along with a few bags of all the needed ingredients for each member of your party to cook their own food. The server then hands you and your group the bags of ingredients, then promptly points you in the general direction of the kitchen.

  • How to create and store secrets using Secret Manager in AWS

    Application secrets or credentials can be stored using the AWS Secret Manager securely. Secrets can be rotated, managed, and retrieved throughout their lifecycle using AWS Secret Manager. Access to secrets can also be restricted using AWS Identity and Access Management (IAM) policies and resource-based policies. For using AWS Secrets Manager, the user needs to pay only for the number of secrets managed in Secrets Manager and Secrets Manager API calls made.

  • How To Install Flask on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Flask on Ubuntu 20.04 LTS. For those of you who didn’t know, Flask is a free and open-source micro web framework for Python designed to help developers build secure, scalable, and maintainable web applications. It is quite simple and easier to start though you are a beginner.

    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 Flask 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 Homelab Episode 2 - Software Considerations - YouTube

    In the second episode of How to Homelab, I talk more about the things I'm running in my own setup, and some of the considerations for what to run.

  • How To Speed Up DNF Package Manager In Fedora - OSTechNix

    If you're experiencing slow package downloads or updates, here is a workaround to speed up DNF package manager in Fedora and other RPM-based systems such as RHEL and CentOS that uses DNF as their default package manager.

    As you already know, DNF is the default package manager for Fedora 25 and newer versions, RHEL 8 and its clone CentOS 8. The other day I decided to try Fedora 33. I downloaded the Fedora 33 Vagrant box and run it with Oracle Virtualbox. The first thing I noticed after trying Fedora 33 is that the DNF package manager is terribly slow. I thought DNF might perform slow when it updates the repositories and metadata for the first time. But, it was still slow in the subsequent times. After a couple web searches, I found a solution that worked for me.

  • How to audit permissions with the find command | Enable Sysadmin

    You can audit permissions on your Linux system by using the find command with the -perm option. Plus four bonus permissions auditing methods.

  • How to install ONLYOFFICE Docs 6.1 on Ubuntu

    ONLYOFFICE Docs is an open-source office suite distributed under GNU AGPL v3.0. It comprises web-based viewers and collaborative editors for text documents, spreadsheets, and presentations highly compatible with OOXML formats.

    ONLYOFFICE Docs can be integrated with various cloud storage platforms and services such as Nextcloud, ownCloud, Seafile, Alfresco, HumHub, Plone, etc., as well as it can be integrated into the solution you're building yourself. ONLYOFFICE Docs can also be used together with ONLYOFFICE Groups, a free open-source collaboration platform distributed under Apache 2.0 (the complete solution is available under the name of ONLYOFFICE Workspace).

  • What is RAID in Linux, and How to Configure it | FOSS Linux

    In this article, we will look at RAID in Linux, who should use it, types of RAID, and learn how to configure it. The key advantages that you get using software RAID are as below.

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.