Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Having one is often much easier than having more than one

    The problem of choosing between your N things is often considered sufficiently hard for people to deal with that systems go well out of their way in order to turn N things back into one as far as you're concerned. For example, HTTP load balancers turn N web servers back into one from an outside perspective, and RAID mirrors turn N disks back into one as far as everything above them is concerned.

  • How To Install SQLite on CentOS 9 Stream - idroot

    In this tutorial, we will show you how to install SQLite on CentOS 9 Stream. For those of you who didn’t know, SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. This makes it ideal for many mobile projects or those applications where we can easily move the database around.

    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 SQLite database on CentOS 9 Stream.

  • How to Install MariaDB 10.9 on Debian 11 Bullseye - LinuxCapable

    MariaDB is one of the most popular open-source databases next to its originator MySQL. The original creators of MySQL developed MariaDB in response to fears that MySQL would suddenly become a paid service due to Oracle acquiring it in 2010. With its history of doing similar tactics, the developers behind MariaDB have promised to keep it open source and free from such fears as what has happened to MySQL.

    MariaDB has become just as popular as MySQL with developers, with advanced clustering with Galera Cluster 4, faster cache/indexes, storage engines, and features/extensions that you won’t find in MySQL.

    In the following tutorial, you will learn how to install or upgrade MariaDB 10.9 on Debian 11 Bullseye using the command line terminal and some tips on how to upgrade your existing database if needed one exists.

  • How to Install Sublime Merge on Debian 11 Bullseye - LinuxCapable

    Sublime Merge is a git client software with various features to help work with git repositories easier. One of its most valuable features is the syntax highlighting engine, which makes it easier to read code. The custom high-performance Git reading library is also helpful, allowing you to stage changes line-by-line.

    Additionally, the build-in git search function lets you quickly find commits, and the themes allow you to customize the look of the software to match your preferences. The Command Palette and Commit Editing functions are also helpful, letting you quickly execute git commands and edit commits. Finally, the Submodule Management and Git Flow Integration functions make it easy to work with submodules and manage branches. Overall, Sublime Merge is a powerful git client that can significantly improve your workflow.

    In the following tutorial, you will learn how to install Sublime Merge on Debian 11 Bullseye using the official Sublime APT repository or the alternative Flatpak method using the command line terminal and how to launch the software and remove it in the future if required.

  • How to share files anonymously with OnionShare

    OnionShare utilizes the Tor network to allow users to do four things with complete anonymity: share files, receive files, host a website, and chat. In this tutorial, we will go over the step by step instructions to install OnionShare on all major Linux distros. Then, you will see how to share files anonymously with OnionShare.

  • Ubuntu autoinstall example

    The ability to automatically install Ubuntu Linux would be useful to system administrators that must deploy the operating system to new physical or virtual machines on a regular basis. Automatic provision of these systems can save hundreds of man hours as well as decrease the likelihood of human error. Automation of installing Ubuntu involves supplying the operating system with the desired hostname, username, and password.

    With this information, Ubuntu can install itself without the need for any user interaction. Once everything is done installing, you can boot into Ubuntu for the first time and have everything set up the way you planned.

    In this tutorial, we will show you a couple examples of an Ubuntu autoinstall configuration. This will include generating an ISO file that can automatically install Ubuntu, as well as deploying an autoinstall to a new virtual machine with KVM.

  • Ubuntu black screen solution

    Although it is not a common error, some users may encounter a black screen when using Ubuntu Linux. The error is most likely to occur when first logging into Ubuntu, and usually indicates that there is a missing video driver. In this tutorial, we will look at a solution to fix a black screen on Ubuntu.

  • GNOME not loading solution

    The GNOME desktop environment is a popular graphical interface for just about any Linux system. When using GNOME, you may run into an error where it does not load. There can be many causes for this, such as a bad desktop extension, conflicting package or software update, etc.

    These errors most commonly manifest as a blank, black screen, with the mouse cursor visible. Regardless of the cause, there are a few solutions that users can try in order to get their GNOME desktop loading again. In this tutorial, we will show several methods to fix a GNOME desktop environment installation that is refusing to load.

  • How to backup gpg keys on paper

    Having a reliable backup of our GPG (Gnu Privacy Guard) secret key is not optional: the key represents our identity, and loosing it could potentially be a disaster. Creating a backup of our keys and sub-keys is quite a simple thing to do using gpg, and the resulting files can be easily backed up on one or more devices. Electronic devices such USB drives or hard disks, however, tend to fail, and usually in the most inappropriate times; therefore as an extreme resort, we may want to print our keys to paper.

    In this tutorial we see how to export a GPG secret key in a format which can be easily printed on paper, and how to optionally generate a QR Code from its content.

More in Tux Machines

today's howtos

  • How to Change Comment Color in Vim – Fix Unreadable Blue Color

    Are you annoyed about the comment color in vim? The dark blue color of the comment is often hard to read. In this tutorial, we learn how to change the comment color in Vim. There are few methods we can use to look vim comment very readable.

  • How to Add Repository to Debian

    APT checks the health of all the packages, and dependencies of the package before installing it. APT fetches packages from one or more repositories. A repository (package source) is basically a network server. The term "package" refers to an individual file with a .deb extension that contains either all or part of an application. The normal installation comes with default repositories configured, but these contain only a few packages out of an ocean of free software available. In this tutorial, we learn how to add the package repository to Debian.

  • Making a Video of a Single Window

    I recently wanted to send someone a video of a program doing some interesting things in a single X11 window. Recording the whole desktop is easy (some readers may remember my post on Aeschylus which does just that) but it will include irrelevant (and possibly unwanted) parts of the screen, leading to unnecessarily large files. I couldn't immediately find a tool which did what I wanted on OpenBSD [1] but through a combination of xwininfo, FFmpeg, and hk I was able to put together exactly what I needed in short order. Even better, I was able to easily post-process the video to shrink its file size, speed it up, and contort it to the dimension requirements of various platforms. Here's a video straight out of the little script I put together: [...]

  • Things You Can And Can’t Do

    And it got me thinking about what you can and can’t do — what you do and don’t have control over.

  • allow-new-zones in BIND 9.16 on CentOS 8 Stream under SELinux

    We run these training systems with SELinux enabled (I wouldn’t, but my colleague likes it :-), and that’s the reason I aborted the lab: I couldn’t tell students how to solve the cause other than by disabling SELinux entirely, but there wasn’t enough time for that.

  • Will the IndieWeb Ever Become Mainstream?

    This is an interesting question, thanks for asking it, Jeremy. I do have some history with the IndieWeb, and some opinions, so let’s dive in.

    The short answer to the question is a resounding no, and it all boils down to the fact that the IndieWeb is really complicated to implement, so it will only ever appeal to developers.

  • How to Install CUPS Print Server on Ubuntu 22.04

    If your business has multiple personal computers in the network which need to print, then we need a device called a print server. Print server act intermediate between PC and printers which accept print jobs from PC and send them to respective printers. CUPS is the primary mechanism in the Unix-like operating system for printing and print services. It can allow a computer to act as a Print server. In this tutorial, we learn how to set up CUPS print server on Ubuntu 22.04.

Open Hardware: XON/XOFF and Raspberry Pi Pico

  • From XON/XOFF to Forward Incremental Search

    In the olden days of computing, software flow control with control codes XON and XOFF was a necessary feature that dumb terminals needed to support. When a terminal received more data than it could display, there needed to be a way for the terminal to tell the remote host to pause sending more data. The control code 19 was chosen for this. The control code 17 was chosen to tell the remote host to resume transmission of data.

  • Raspberry Pi Pico Used in Plug and Play System Monitor | Tom's Hardware

    Dmytro Panin is at it again, creating a teeny system monitor for his MacBook from scratch with help from our favorite microcontroller, the Raspberry Pi Pico. This plug-and-play system monitor (opens in new tab) lets him keep a close eye on resource usage without having to close any windows or launch any third-party programs. The device is Pico-powered and plugs right into the MacBook to function. It has a display screen that showcases a custom GUI featuring four bar graphs that update in real-time to show the performance of different components, including the CPU, GPU, memory, and SSD usage. It makes it possible to see how hard your PC is running at a glance.

Security Leftovers

How to Apply Accent Colour in Ubuntu Desktop

A step-by-step tutorial on how to apply accent colour in Ubuntu desktop (GNOME) with tips for Kubuntu and others. Read more