Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Swappiness in Linux: Everything you need to know

    If you have been a Linux user or enthusiast for a considerable amount of time, then the term swap or swap memory should not be news to you. But, unfortunately, many Linux users tend to confuse the concept of swap memory with swappiness. The most common misconception is that a swappiness value indicates the maximum usable RAM before the actual swapping process begins.

    To burst this widely reported misconception, we have to break down the definition of both swapping and swappiness.

  • When more is less: Embracing new Linux tools and new ways of working

    The more and less commands do, more or less, the same things. But do they tell you anything about the users who prefer one or the other? In this post, I'm going to come clean about my biases and some of the advantages of using less to do more.

    I had a conversation with a colleague recently. I’m not especially proud of what I said, but it was a good opportunity for me to think about some things. Here is the conversation in its entirety:

    "I don’t trust people who pipe their output through less instead of more."

    "Why not?"

    "I feel like they don’t know how to *nix the right way!"

    This is what I said. I am not making this up. I even have the IRC chat logs to prove it! I was the one expressing my displeasure with people who use the less command. But why? What was it that made me feel that way about something as innocuous as a simple pager command? Had these people committed some sort of mortal sin? Was the invocation of less creating some sort of cosmic imbalance that created an existential issue for the world in which we live that would cause the universe to spin out of control into the great /dev/null?

  • A Beginners Guide to User Management on Ubuntu Desktop and Server

    User management is one of the most important tasks in an enterprise environment. Even a single system uses multiple users, not only for logging in, but also for running various applications. Even in a Linux environment, an administrative role is necessary for managing multiple user accounts, their credentials, and the security of the systems. The basic commands must be known to the Linux admin to manage these multiple user accounts (users and other subgroups).

    In this tutorial, we will look at the basic Linux commands that may be needed in user management. We also show you how to do user management using Ubuntu Desktop

  • Vincent Bernat: Serving WebP & AVIF images with Nginx

    WebP and AVIF are two image formats for the web. They aim to produce smaller files than JPEG and PNG. They both support lossy and lossless compression, as well as alpha transparency. WebP was developed by Google and is a derivative of the VP8 video format. It is supported on most browsers. AVIF is using the newer AV1 video format to achieve better results. It is supported by Chromium-based browsers and has experimental support for Firefox.

    Your browser supports WebP and AVIF image formats. Your browser supports none of these image formats. Your browser only supports the WebP image format. Your browser only supports the AVIF image format.

  • Why Are Linux Commands So Short? The History of Linux Commands

    Let's face it, Linux commands are weird. Cat, mv, ls, pwd, they're all so short. Why is that? The answer lies, as with many things on Linux, in its Unix origins.

    [...]

    In the 1960s, when Unix was first being developed, the main way to communicate with computers interactively was through Teletype machines. These devices were essentially typewriters that could receive signals from other machines. Back in time, teletypes machines were responsible for remote communications and telegraphy.

  • Setting up PostgreSQL 13.2 && Python VENV verified via another PyQT5 module on Debian Bullseye/sid
  • How to install Discord on Linux Mint 20.1 Ulyssa - Linux Shout

    Discord is a free instant messenger and voice-over IP application available for multiple platforms such as Linux, Windows, Mac, and portable platforms such as Android and iOS and even directly in the browser. It offers various communication mediums – voice calls, video calls, text messaging, media and files in private. Here we learn how to install Discord on Linux Mint using the command terminal:

  • How to Install OH-MY-ZSH in Ubuntu 21.04 - Unixcop

    OH-MY-ZSH is an open-source framework for managing ZSH configuration and is community-driven. It comes bundled with tons of helpful functions, plugins, helpers, themes, and a few things that will make you better at the terminal. There are currently 275+ plugins and 150 themes supported.

    First thing first, you need to install and set up ZSH as your default shell in Ubuntu.

  • Retrieve Latest Mirror List Using Reflector In Arch Linux - OSTechNix

    Maintaining up-to-date mirror list in your Arch Linux gives some benefits. If you use updated mirrorlist, you could easily avoid slow download rate, and timed-out error messages while installing, and updating packages. This tutorial explains what is Reflector and how to retrieve latest mirror list in Arch Linux using Reflector.

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.