today's howtos
-
How to Find Free Disk Space in Ubuntu and Other Linux [Beginner’s Guide]
A simple tutorial demonstrates how to find free disk space in Ubuntu and other Linux distros using the command line and GUI tools.
Every day we create data, knowingly or unknowingly. And that directly costs disk space. A few commands in the terminal can give you a better idea about the storage situation in your Linux desktop or server.
Here are some of the ways how you can find free disk space in Ubuntu and similar distributions.
-
How To Install Erlang on Ubuntu 22.04 LTS - idroot
In this tutorial, we will show you how to install Erlang on Ubuntu 22.04 LTS. For those of you who didn’t know, Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Erlang was originally developed to be used in several large telecommunication systems. But it has now slowly made its foray into diverse sectors like eCommerce, computer telephony, and banking sectors as well.
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 Erlang programming language on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.
-
How we designed a long-lasting web-hosting service on Linux: 3 lessons learned | Enable Sysadmin
The decisions we made in designing our Linux web-hosting service (and the tips we gathered along the way) kept it up and running for 16 years.
-
How to install OnlyOffice Desktop Editors on Linux
OnlyOffice is an open source office suite compatible with both open and proprietary documents formats. The suite includes applications to create and edit text documents, spreadsheets and presentations. The “community” version of OnlyOffice is cost-free and can be installed both as a service, or in the form of classic desktop editors.
In this article we see how to install the OnlyOffice Desktop Editors suite on the major Linux distributions.
-
How to use PostgreSQL to perform CRUD operations in FastAPI – NextGenTips
In the previous tutorial, we saw how to perform CRUD operations using dummy data inside your project, but that can’t help us in real-world issues. Today I will take you through using the PostgreSQL database to perform CRUD operations in FastAPI RESTful services.
FastAPI really works well with both SQL and NoSQL databases, you can use SQL databases with the help of SQLAlchemy which is the Python SQL toolkit and Object Relational Mapper. It gives developers the full power and flexibility of SQL.
To start our project create a folder where you will install the dependencies and create a virtual environment. I will still be using the song API I created in the previous tutorial.
-
Working with Btrfs - Subvolumes - Fedora Magazine
This article is part of a series of articles that takes a closer look at Btrfs, the default filesystem for Fedora Workstation and Fedora Silverblue since Fedora Linux 33.
[...]
Subvolumes allow for the partitioning of a Btrfs filesystem into separate sub-filesystems. This means that you can mount subvolumes from a Btrfs filesystem as if they were independent filesystems. In addition, you can, for example, define the maximum space a subvolume may take up via qgroups (We’ll talk about this in another article in this series), or use subvolumes to specifically include or exclude files from snapshots (We’ll talk about this, too, in another article in this series). Every default Fedora Workstation and Fedora Silverblue installation since Fedora Linux 33 makes use of subvolumes. In this article we will explore how it works.