Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Set Up BIND Authoritative DNS Server on CentOS 8/RHEL 8

    This tutorial will be showing you how to set up and run your own authoritative name server on CentOS 8/RHEL 8 with the widely-used BIND 9 software.

  • How to view and monitor log files in CentOS 8

    All Linux systems create and store information about servers, boot processes, kernel, and applications in log files, which can be helpful for troubleshooting as it contains systems activity logs. The log files are stored in /var/log directory and its subdirectory. In this tutorial, we will learn how to view and monitor log files in CentOS8 using different ways. So, let’s get started.

  • 7 Tips to Speed Up Tor Browser - Make Tech Easier

    Tor preserves your online anonymity through its unique onion routing, in which your encrypted data passes through several intermediary nodes. Each node is peeled back one at a time, much like an onion. None of them know anything about the origin of your data or your final destination, thus protecting your identity.

    There is a drawback, though. Since the traffic in Tor is routed through multiple onion relays, it can significantly reduce your browsing speed. Also, ISPs can restrict or throttle Tor traffic without prior warning. Tor FAQs say that their main focus is security and not speed.

  • Keyboard Shortcut to Turn Display Off in Linux - Putorius

    There are times when I want to turn off the displays on my workstation, but not actually lock it. In this Linux quicktip we will show you how to turn your displays off using the command line. We will also show you how to use that command as a keyboard shortcut, or HotKey.

  • Install and Configure KVM in ArchLinux – Linux Hint

    KVM stands for Kernel-based Virtual Machine. This software allows users to run multiple virtual machines with different operating systems, thus bypassing the need to follow more conventional means of using Virtualbox. KVM is free, open-source, and has been refined and improved over the last ten years.

  • How to Monitor the Health of a Laptop Battery in Ubuntu – Linux Hint

    Ubuntu is a Linux distro based on the Debian operating system. This distro has completely transformed Debian into an operating system that is user-friendly.
    Ubuntu has a graphical user interface for package installers and acts more like a conventional operating system. With Ubuntu, you do not need a terminal to download packages. Ubuntu has three versions: desktop, server, and core.

  • Where and how are passwords stored on Linux? – Linux Hint

    The user name with a corresponding password for a specific account is the primary requirement through which a user can access a Linux system. All user’s accounts password is saved in a file or a database so that a user can be verified during the login attempt into the system. Every user does not have enough skills and expertise to locate this file on their system. However, if you get access to the database or a file that keeps all the login user’s passwords, then you can easily access the Linux system. When a user enters a username and password on Linux for login, it checks the entered password against an entry in various files of the ‘/etc’ directory.

    The /etc/passwd files keep all the important information that is necessary for user login. To explain it in simpler words, the /etc/passwd file stores the user’s account details. This file is a plain text file that contains a complete list of all users on your Linux system. It has the information about username, password, UID (user id), GID (group id), shell, and home directory. This file should have read permissions as many command-line utilities are used to map the user IDs to the user name. But, should have limited write access permissions only for superuser or root user accounts.

    This article will demonstrate how and where you can store system user’s account passwords on Linux distribution. We have implemented all demonstrations on Ubuntu 20.04 system. However, you can find /etc/passwd file on any Linux distribution.

  • How Do I Fix 502 Bad Gateway Nginx? – Linux Hint

    Nginx was launched in 2004 as an open-source web server. Since the time it has been released, it is very commonly used for hosting websites. Apart from this, it is also being used as Load Balancer, Email Proxy, Reverse Proxy, and HTTP Cache. Like every other web server, Nginx is also prone to certain errors, out of which the most common one is the 502 Bad Gateway error. This is a highly generic type of error that arises when you try to access a web server but fail to reach it. In that case, your browser may render the 502 Bad Gateway error. Since there is no other information that appears along with this error, it leaves the user clueless about what exactly went wrong and how they can fix it.

    Therefore, in today’s article, we will try to look for all the potential causes of the 502 Bad Gateway error in Nginx, as well as the ways on how we can possibly fix it.

  • How do I Mount and Unmount a File System in Linux? – Linux Hint

    We all know that Linux based systems rely heavily on files. These files are grouped together in the form of multiple file systems, and for accessing a particular file system with an added level of ease, you can attach that file system to any desired location till the time you wish to access that file system. Once you are done, you can simply detach that file system from that location. In this whole process, the attachment of a file system on a specific location is known as “mounting,” whereas the detachment of a file system from a specific location is known as “unmounting.”

    Also, the location to which you attach a file system is formally known as a “mount point.” There are multiple file systems available on a Linux operating system. Some of these file systems are mounted by default, and some of them are unmounted, which means that you can easily mount them on your own. In today’s article, we will be teaching you the methods of mounting and unmounting a file system in Linux Mint 20.

  • How to Create Simple Shell Scripts in Linux

    Creating shell scripts is one of the most essential skills that Linux users should have at the tip of their fingers. Shell scripts play an enormous role in automating repetitive tasks which otherwise would be tedious executing line by line.

    In this tutorial, we highlight some of the basic shell scripting operations that every Linux user should have.

  • How to Use Jinja2 Templates in Ansible

    Learn how to use Jinja2 templating engine to carry out more involved and dynamic file modifications with Ansible.

  • How to Plan a Simple Robot Using Linux – Linux Hint

    Once you have ROS installed, you might want to build a robot. A good way to succeed in this project is to plan what you want to do. In this case, ROS comes to the rescue. With ROS, you can set up what you have built and visualize the whole thing. When working with robots, there will be many scenarios that you may need to consider. The robot must interact with the environment, such as avoiding the sofa and finding its way back from the kitchen. The robot should also have arms and legs if your needs require it. You can simulate all of this using ROS, and for the coding part, you can also simulate the internals of your system.

  • Install Ubuntu Server 20.04 LTS on Raspberry Pi 4 in Headless Mode and SSH Into It – Linux Hint

    Ubuntu is an open-source operating system. It is based on Debian GNU/Linux operating system. Ubuntu is a great operating system for your IoT projects on the Raspberry Pi 4.
    In the headless setup of Ubuntu on Raspberry Pi 4, you don’t need a keyboard, a mouse, and a monitor. You can directly access the Ubuntu operating system installed on your Raspberry Pi 4 remotely via SSH.

    In this article, I am going to show you how to install Ubuntu Server 20.04 LTS on your Raspberry Pi 4 in headless mode and configure SSH access. So, let’s get started.

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.