Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How To Install Git on AlmaLinux 8 - idroot

    In this tutorial, we will show you how to install Git on AlmaLinux 8. For those of you who didn’t know, Git is a distributed version control system. Git is a free software designed to handle everything from small to very large projects with speed and efficiency. Git offers features like data assurance, workflows, create branches, revert to the previous stage, incredible speed, keep track of your code changes, view logs, and many more. It allows you to perform your work in offline mode and when ready, you need the internet connection to publish the changes and take the latest changes.

    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 Git on an AlmaLinux 8.

  • How to install WHM Cpanel on AlmaLinux 8 Server - Linux Shout

    To manage Linux servers for hosting purposes most of the services are using WHM’s Cpanel. Although there are many hosting manager software, because of its easy-to-use interface and features, it is one of the best control panels for Web hosting services. And here we will know the steps to install cPanel & WHM on AlmaLinux 8.

  • How to Use Sysbench for Linux Performance Testing? – Linux Hint

    Sysbench is an open-source and multi-purpose benchmark utility that evaluates the parameter features tests for CPU, memory, I/O, and database (MySQL) performance. This tool is important to benchmark the MySQL parameters especially when running a load of the intensive database. It is a freely available command-line tool that provides an uncomplicated and direct way to test your Linux system.
    This article will provide you the details about the Sysbench command-line tool. We will discuss how to test the performance of Linux OS components through the sysbench utility as well. We have implemented all commands on the latest available Ubuntu 20.04 system.

  • How to Install VNC Server on Debian 10? – Linux Hint

    VNC or Virtual Network Computing is a protocol used to access the graphical desktop environment of your computer and control it remotely.
    In this article, I am going to show you how to install the VNC server on Debian 10 and access it from a remote computer. So, let’s get started!

  • Grep for Multiple Patterns or Strings – Linux Hint

    Virtual Network Computing or VNC is used to access the graphical desktop environment of your computer and remotely control it. In this article, we are going to learn how we can install VNC Server on Debian 10 and access it from a remote computer as well as other necessary information it entails.

  • Troubleshooting Error: Vim Can’t Open File for Writing – Linux Hint

    Vim is a text editor used in Linux operating systems that help create and update different text files with different extensions. Sometimes, when you try to create files with the Vim utility, you got an error: “Vim can’t open file for writing”. Reasons for this error could be more than one.

  • Ufw Firewall Allow SSH – Linux Hint

    A working firewall is among the first layers of protection in protecting the cloud server. Previously, this was frequently achieved by the use of complex and obscure utilities. There seem to be a lot of features integrated into such packages or utilities, with iptables as perhaps the most common one lately, however learning and using them require some work on the part of the consumer. In this regard, UFW is a much more user-friendly choice. UFW or Unpretentious Firewall is an iptables front-end. Its key purpose is to make controlling the firewall as seamless as possible by including a user-friendly GUI. It’s well enough and famous in the Linux world, with many Linux distributions including it by default. As a result, it’s a flawless place to start when it comes to protecting your server.

  • How to Measure and Show the Progress of a rsync copy Linux? – Linux Hint

    Rsync stands for “remote sync”, which is a free and open-source command-line file synchronization utility used for transferring files and directories to local and remote destinations. It is an efficient utility as it only copies the changes from the source. Hence, it minimizes the amount of data copied to the remote destination. It is used for data backups, mirroring, and transferring data from one location to another.

    Normally when you a copy file using rsync, it does not show any progress bar or the measure of speed or size of data transferred. During large file transfers, you may sometimes want to view the progress of the transfer and the size of the data transferred.

    In this quick tip, we are going to show how to measure and show the progress of rsync when copying the files in Linux. We will also show you how to view the statistics of the file transfer.

  • How to Use Linux lscpu Command Tutorial – Linux Hint

    The beauty of Linux-like systems is that it provides multiple command-line tools for a single operation. Whether you want to download software/packages or fetch any information from hardware/disk drives of the system, you will get several ways according to your needs while using Linux.

    A command-line utility “lscpu” in Linux is used to get CPU information of the system. The “lscpu” command fetches the CPU architecture information from the “sysfs” and /proc/cpuinfo files and displays it in a terminal.

  • Whatis command in Linux – Linux Hint

    In Linux, the “whatis” command is used to offer a one-line overview of command, option, or a flag. Each manual section in Linux contains some definitions. This command looks for the manual and displays the description of the given keyword.

  • Set Date in Linux from the Command Line – Linux Hint

    The date command depicts the date and time of the system. It permits the user to get both date and time in different formats. This command also helps in calculate current, past, and future dates with the help of different operators and format specifiers. For functionalities to be performed, the system clock and clock of the server should be precisely on time. Here are some examples that will increase your knowledge about the date command in Linux.

  • How to Search for a Package on Linux Mint? – Linux Hint

    We can install multiple packages on Linux Mint to enhance the system functionality. A package contains multiple files and information. Searching the installed packages on the Linux Mint system is very straight-forward. We can easily search for the packages through the command line and Synaptic package manager application.

  • Linux Run Multiple Commands in Parallel – Linux Hint

    Parallel processing is the concept of running multiple processes simultaneously. This concept is the crux of today’s modern computer systems. In the very same manner, multiple commands can also be made to run in parallel, and today, we will learn how to do this on a Linux Mint 20 system.

  • How to Use Grep Recursively? – Linux Hint

    Grep command is used to search text from files. It is a versatile pattern that invokes grep with –r. –R option search files recursively from subdirectories, starting from the current directory. The command is run from the top-level directory. For instance /home/abc etc. Grep is a tool for obtaining dependencies while moving from one host to another. If we do not mention a directory in the command, grep will search the current working directory. To perform grep recursively, there are three arguments that we have taken from the man page of grep.

  • How Do I Use Special Characters in the Grep Command? – Linux Hint

    The function of grep is to search the text and apply conditions to them. It is used for searching in more than one file. Grep can identify the text lines in it and decide further to apply different actions which include recursive function or inverse the search and display the line number as output etc. Special characters are the regular expressions used in commands to perform several actions like #, %, *, &, $, @, etc. In this article, we will use special characters. Grep allows the arguments as strings which are specified as a regular expression. It also has the ability to replace a word or a phrase in it. Special characters are not only used as a filename but also as data present inside the file.

  • How to Reload Change to Systemd Unit Files? – Linux Hint

    A unit in systemd is described as any resource that the system is aware of and can be controlled. This is the basic entity for which the systemd knows how to handle with. These resources are stated in the configuration files, which are also known as unit files. Systemd uses these unit files to configure and control different resources like processes and filesystem. The unit file determines how the systemd starts and runs. The unit can of different types, and the most common of them is known as “service”. Unit files are placed under the /etc/systemd/system directory. Systemctl is used to manage services on systemd enabled systems.

    In systemd unit files, you can make configuration changes in different ways. Whatever method you use, remember that whenever you make any changes to the systemd unit file, you will need to reload the systemd to pick up those changes.

  • Linux Count Files in Directory Recursively – Linux Hint

    Sometimes, it’s necessary to figure out the exact number of files available under a specific directory. The problem arises if the directory contains one or more sub-directories. Depending on the number of files and directories, manual counting can be virtually impossible.
    In this guide, check out how to count files in a directory recursively in Linux.

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.