Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Simple solution VS over-engineering

    When you use a complicated software, ALWAYS make sure you have a way out: either replace product A with product B or make sure the code is easy to fix. If you plan to invest yourself into deploying a complex program that will store data (like Nextcloud or Paperless-ng), the first question you should have is: how can I move away from it?

  • Basics of ZFS Snapshot Management

    OpenZFS stands out in its snapshot design, providing powerful and easy-to-use tools for managing snapshots. Snapshots complement a backup strategy, as they are instantaneous and don’t require a backup window. Since snapshots are atomic, they are not affected by other processes and you don’t have to stop any running applications before taking a snapshot.

    What exactly is a snapshot? zfs(8) defines it as a “Read-only version of a file system … at a given point in time”. This is a powerful feature as there are many scenarios where it is convenient to access files from a certain point in time. Imagine taking a snapshot of your home directory at the beginning of the work day, and perhaps another one after lunch. Need a copy of that file you deleted last Tuesday? No problem. Perhaps you’re considering updating an application but fear the pain of clobbered libraries. Need to test some configuration changes but don’t want to permanently muck up the system? Or, perhaps you’re preparing for an operating system upgrade and want a quick way to revert to the pre-upgrade version should things go terribly wrong. Restoring data from a snapshot is quicker than restoring from a backup or waiting for a system administrator to restore a backup for you. While snapshots do not replace backups, they provide a quick and convenient method for accessing files from a specific point in time.

    The ability to access files from a certain point in time sounds great, but doesn’t that take a lot of storage space? Not necessarily. Because ZFS is a COW (copy-on-write) file system, the initial size of a snapshot is 0 bytes. Since snapshots record the differences between the time the snapshot was taken and the current state of the file system, the size of a snapshot increases over time, reflecting the size of the changes.

  • Correlation Analysis Different Types of Plots in R

    Correlation analysis, correlation is a term that is a measure of the strength of a relationship between two variables.

  • How To Install Ampache on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Ampache on Ubuntu 20.04 LTS. For those of you who didn’t know, Ampache is an open-source music streaming server that allows you to host your own music streaming server. With Ampache, you can access your music and video over the internet. You can view, edit, and play your music via a web browser or any media streaming client.

    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 Ampache music streaming server 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 Composer on AlmaLinux 8 - idroot

    In this tutorial, we will show you how to install Composer on AlmaLinux 8. For those of you who didn’t know, Composer is a popular dependency manager for PHP. It functions as some sort of project manager that helps the programmer manage dependencies that will be used on a project-to-project basis.

    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 Composer on an AlmaLinux 8. You can follow the same instructions for Rocky Linux.

  • How to Install KDE Plasma 5.21.5 in (K)Ubuntu 21.04 via PPA | UbuntuHandbook

    For KDE users want to install the latest Plasma 5.21.5 desktop, it’s now available in the backports PPA for (K)Ubuntu 21.04.

    Plasma 5.21.5 was released more than a week ago with stability improvements and bug-fixes. As well as the KDE Frameworks 5.81.0, they are now available to install via Kubuntu Backports PPA.

  • How to install Open Broadcaster (OBS) in Ubuntu

    If you’re an Ubuntu user and want to stream to Twitch or YouTube, you’ll first have to install the Open Broadcaster application. In this guide, we’ll go over ways you can get Open Broadcaster up and running on Ubuntu via DEB, Flatpak, and Snap.

  • How to install X Window System XQuartz on macOS for ssh X11 forwarding

    I need to tunnel X Window securely over SSH bases session so that I run X program on my remote Linux/Unix server/workstation and get back display to my Apple Macbook pro laptop. I tried the ssh -X user@server1 and ssh -Y user@server2 commands on macOS. However, I am unable to use the ssh command with X11 forwarding. How do I get X11 forwarding in macOS to run graphical apps remotely from a Linux server? How can I fix this problem on OS X and enable X11 forwarding with ssh command? Can you explain how to install X Window XQuartz server on Apple OS X Mountain Lion or Mavericks or Yosemite or macOS?

  • How to secure user accounts in Ubuntu - Linux Concept

    In this script, we will look at ways to make user profiles more secure.

  • Installing the DHCP server on Ubuntu - Linux Concept

    DHCP is a service used to automatically assign network configuration to client systems. DHCP can be used as a handy tool when you have a large pool of systems that needs to be configured for network settings. Plus, when you need to change the network configuration, say to update a DNS server, all you need to do is update the DHCP server and all the connected hosts will be reconfigured with new settings. Also, you get reliable IP address configuration that minimizes configuration errors and address conflicts. You can easily add a new host to the network without spending time on network planning.

    DHCP is most commonly used to provide IP configuration settings, such as IP address, net mask, default gateway, and DNS servers. However, it can also be set to configure the time server and hostname on the client.

  • How to Install GUI on Ubuntu Server [Beginner's Guide]

    Do you want to install GUI on your Ubuntu server? You can totally do that in most scenarios and I am going to discuss the steps in details in this tutorial.

    But before you see that, let me tell you why the server edition does not come with GUI and in which cases you could install the GUI on your server.

  • The difference between passwd -l and passwd -d

    There are two options for canceling a user password in Linux. You can either lock the password login or delete the password altogether. What implications do they have?

    Most administrators today would probably set up their servers with SSH access. But if you initially provisioned the server with password authentication, you’ll need to prevent the user you used from logging in.

  • How I use temporary keybindings for spellcheck in Neovim | Hund

    I use spellcheck in Neovim all the time. It’s my only editor and I use it for everything, even when I input text on the web via my web browser qutebrowser. Unfortunately I couldn’t find any natural keys to bind the spellcheck commands to.

    Eventually I got the idea that I could use temporary keybindings that’s only available as long as I have the spellcheck enabled.

  • Get Started Tweaking Ubuntu 20.04 with ‘Ubuntu First Steps’ | UbuntuHandbook

    After a clean Ubuntu installation, you have to tweak the desktop appearance more or less to meet your needs.

    Besides struggling with different system configuration tools, e.g., System Settings, Gnome Tweaks and Dconf Editor, ‘Ubuntu First Steps‘ is a handy tool with mostly used options to tweak your Ubuntu Desktop.

  • Create Bootable USB Drives And SD Cards With Etcher In Linux - OSTechNix

    Creating bootable USB disks in Linux has become easier than ever before. There are many command line and graphical tools exists to easily create bootable disks. One such tool is balenaEtcher, or just Etcher. In this guide, we will discuss what is Etcher and how to create bootable USB drives and SD cards with Etcher in Linux operating systems.

  • Debian 11 Bullseye / Sid Install Guide [Debian NetInstall] – If Not True Then False

    This is quick guide / tour howto install Debian 11 Bullseye / Sid Unstable on real PC.

    1. Verifying and creating USB install media.

    2. (optional) verifying and creating non-free firmware USB media.

    3. Booting and running installer / installation.

    4. Totally optional upgrading to Sid Unstable.

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.