Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Collecting process accounting logs on Linux with syslog-ng

    Process accounting logs are collected into binary log files on Linux. You can turn them into human readable format locally, using various tools. You can also use syslog-ng to read those files. Syslog-ng can parse those binary logs, create name-value pairs from them and store the results.

  • How to Set or Change Hostname in Amazon Linux EC2 Instance

    am a new Amazon Linux 2 EC2 instance user. My EC2 name was set to ‘ip-172-26-7-134’ during instance creation. But now, I would like to change the EC2 hostname to ‘stats1’. Can you tell me how do I remove ip-172-26-7-134 and set it to stats1 on Amazon Linux 2? How do I change the Amazon Linux Lightsail or EC2 cloud server instance?

  • Convert HEIF Images to JPG or PNG on Linux (With Commands) - Linux Nightly

    HEIF photos (those with the .HEIC file extension) can store image data more efficiently than JPG or PNG, which yields a smaller file size. But the glaring drawback is that HEIF doesn’t enjoy widespread support. If you have some HEIF photos that you need to convert to a different format, this can be done from the Linux command line.

    In this tutorial, you’ll see how to convert HEIF images to JPG or PNG with Linux commands.

  • How to Install Steam on Debian

    In PC gaming, Steam is the largest and most popular platform for video game distribution by Valve. Steam offers a native client for all major platforms to manage and play your favorite games from the Steam store.

    Steam is also at the forefront when it comes to Linux gaming. Since its debut on Linux, Steam has made constant improvements to enable playing Windows games on Linux. Most of the PC games are designed for Windows. Thanks to Steam Play and Proton (Steam’s version of Wine), you can play almost any of your favorite games on Linux with the Steam client.

    This guide demonstrates installing and configuring the Steam client on Debian.

  • How to Update Debian from Terminal

    Debian is a Linux distro composed of free and open-source software (FOSS). It’s developed by the Debian Project, a community-driven project. It’s one of the oldest operating systems based on the Linux kernel. Debian is at the core of many popular operating systems like Ubuntu, Linux Mint, MX Linux, Deepin, and much more.

    This guide will demonstrate how to keep Debian’s packages up-to-date from the terminal.

  • How to install and run traceroute on Ubuntu

    Network or system administrators have to properly look after the network, as they are supposed to provide an uninterrupted service within a network or system. For this, they must undergo several network checks to continuously monitor the network performance; several diagnostic tools allow network administrators to check the connectivity over the network, such as ping. However, another command is used for network diagnostics that is “traceroute” in Linux and macOS, while the same command is named “tracert” on windows OS. Traceroute command maps the route data from the source to the destination; the traceroute command is used to trace the paths that data packets take from their source point to destination point. In this detailed guide, we will explore the use of the traceroute command in Ubuntu with several examples.

  • How to install g++ on Ubuntu

    If you are a newbie in the world of computers and programming languages then it is important to know that your computer cannot “understand” any of the programming languages. The computers interpret only machine languages (ones and zeros). In this situation, a compiler can help you. A computer utilizes compilers for “translating” programming languages into machine language, or we can also say that it converts your source code into an executable file format for your system.

  • How to set up the Odoo business suite on Ubuntu Server

    Odoo is a business suite platform that runs on Ubuntu. With Odoo, users can boost their sales, run POS, timesheets, help desks, inventory, and purchases. In this guide, we’ll show you how to install Odoo on Ubuntu 20.04 LTS.

    Note: Although this guide focuses on Ubuntu 20.04 LTS, it is also possible to get the app working with newer releases of Ubuntu.

  • How to use a task manager in Ubuntu to monitor the system

    Ubuntu beginners frequently ask: Is there any task manager in Ubuntu? If yes, then how we can use the task manager for monitoring the system.

    Firstly, you should know what a task manager does. The task manager displays all currently active processes and their memory usage. It also manages processes and provides you the option of terminating or killing a process. Although an experienced Ubuntu user prefers the command-line method of locating processes and memory use, you do not have to use it when you are just getting started with Ubuntu. Instead, you can utilize the “System Monitor” that serves as a task manager in your Ubuntu system.

    In this article, we will talk about how to use a task manager in Ubuntu to monitor the system. So let’s start!

  • How to use cd command in terminal

    The task manager displays all currently active processes and their memory usage. It also manages processes and provides you the option of terminating or killing a process. Although an experienced Ubuntu user prefers the command-line method of locating processes and memory use, you do not have to use it when you are just getting started with Ubuntu. Instead, you can utilize the "System Monitor” that serves as a task manager in your Ubuntu system. This article explains how to use task manager to monitor system activities in Ubuntu.

  • How to use strings command in Ubuntu

    Checking a binary or executable file for extracting human-readable text is not something that we do in our day-to-day life, but what if you are asked for it? In Ubuntu, the “strings” command allows you to see all the human-readable characters present in a binary/executable file. The “strings” command is primarily used to determine the type of file, but it can also be utilized to extract text. For example, you have a file saved in an unusual binary format; you can extract the text you entered in this file using the “strings” command without encountering non-printable characters.

    A question can come to your mind: why do we add text in the executable files? Many developers packaged the binary files when software or application is released. However, it is an excellent idea to include ASCII text in that binary file. It is beneficial for the developers and users to gain a better understanding of the executable file. As a result, the “strings” command will help them determine the content of these non-text files.

    In this article, we will talk about how to install and use strings on your Ubuntu system. So, let’s move ahead!

  • What is Tree Command in Ubuntu

    The command-line interface of Linux-based distros works as a catalyst to the actions performed by the users. Like other distros, Ubuntu also supports a variety of commands, and among those, directory handling commands are used to handle the operations related to directories, such as the “cd” command is used to change the current working directory; “mkdir” command is used to make a new directory. Similarly, tree command prints directories, sub-directories, and their content in a tree-like structure. It is almost like an “ls” command, but the main difference is the print pattern of both commands: the “ls” command lists down the content, whereas the “tree” command shows the output in a tree-like hierarchical structure. In this demonstration, we will provide a deep insight into the usage of tree commands with examples. So, let’s start with the installation of the tree:

  • How to Use Ubuntu Timedatectl

    Every computing device has time and date as the very basic service provided by them. Date/time and time zone are interlinked phenomena in computing devices as date/time depends on the time zone selected by the user. The date and time are automatically fetched according to the time zone; however, the users can also change them manually.

  • Install Laravel Framework on Debian 11

    Laravel is a free and open-source PHP web framework based on the Symfony framework. It is used for the faster development of web applications. Laravel makes it easier to perform some common tasks such as authentication, routing, sessions and caching. It has several useful features including, Artisan, Object-relational mapping, Template Engine, MVC Architecture, Unit-Testing, and Database Migration System.

    In this tutorial, I will show you how to install Laravel on Debian 11.

  • How to use the netplan command on Ubuntu

    In Ubuntu 17.10, a new command-line network configuration tool was introduced known as “Netplan”. Netplan makes it simple to configure and manage network settings in your Ubuntu system. It also permits you the YAML abstraction for configuring a network interface. It interacts with the kernel through the systemd-networkd and NetworkManager daemons which are also known as renderers. You have to choose any one from both of them. Netplan reads the network configurations from “/etc/netplan/*.yaml” files, which can save the configuration settings for all network interfaces.

    If you use the netplan command on Ubuntu, then It becomes easy to restart and change network settings. Netplan is also good for automation (humans and programs can read YAML). This write-up is focusing on how to use the netplan command on Ubuntu.

  • How to use Ubuntu HWClock

    Linux supports two types of clocks in any system; one is a hardware clock, and the other is a software clock. The hardware clock functioning is independent of the operating system, and it keeps on running even if the system is turned off. The moment you turn on your machine, the software clock gets the information from the hardware clock and thus shows the date and time as saved in the hardware clock. In this article, we will briefly discuss the use of hwclock in Ubuntu, along with its various functions and options too.

  • How to Install and Use PostgreSQL 13 on Rocky Linux

    PostgreSQL is a free and open-source database management system focusing on extensibility and SQL compliance. PostgreSQL is an advanced and enterprise-class RDBMS (Relational Database Management System) supports both SQL (relational) and JSON (non-relational) querying.

    It's a highly stable database management system backed by more than 20 years of development by the open-source community and has a strong reputation among developers and system admins for its reliability, flexibility, feature robustness, and performance.

    PostgreSQL is used as a primary database for web applications, mobile applications, and analytic applications. Some notable PostgreSQL users around the globe are Reddit, Skype, Instagram, Disqus, The Guardian, Yandex, Bloomberg, Nokia, BMW, etc.

    In this guide, you will learn how to install the PostgreSQL database on Rocky Linux, securing the PostgreSQL database deployment, and basic usage of PostgreSQL queries for managing users and databases.

  • How to Install Java 16 (OpenJDK 16) on Debian 11

    Java is a general-purpose, class-based, object-oriented multipurpose programming language that is popular due to the design of having lesser implementation dependencies, meaning that the compiled Java code can be run on all platforms that support Java without the need for recompilation. Java is also fast, secure, and reliable, therefore. It is widely used for developing Java applications in laptops, data centers, game consoles, scientific supercomputers, cell phones, etc.

  • How To Install ImageMagick on Linux Mint 20 - idroot

    In this tutorial, we will show you how to install ImageMagick on Linux Mint 20. For those of you who didn’t know, ImageMagick is a free and open-source image manipulation tool. It is mainly used to create, edit, compose or convert bitmap images. Its uses include resizing, rotating, shearing images, applying various special effects, or drawing text, lines, and curves. Its flexibility can be realized from the fact that it can be used across multiple different platforms such as run on Windows and Mac OS, as well as on Android OS and iOS.

    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 ImageMagick on a Linux Mint 20 (Ulyana).

  • How To Install Gdu Disk Analyzer on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Gdu Disk Analyzer on Ubuntu 20.04 LTS. For those of you who didn’t know, Gdu (Go Disk Usage) is very similar to Ncdu, a popular console disk usage analyzer, with one major difference: speed. Gdu makes use of parallel processing, being specially created for solid-state drives (SSD). It also works with hard disk drives (HDD), but its performance gain compared to other tools is not so great in this case.

    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 Gdu Disk Analyzer 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.

  • Amazon s3 tutorial – Creating | Managing | Listing | Deleting Simple Storage bucket

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.