Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
  • How to play entrance music on your Raspberry Pi
  • How to install Skype on Deepin 20.2
  • How to install Mega Man Maker on a Chromebook

    Today we are looking at how to install Mega Man Maker on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

  • “iftop” Command Linux Examples – Linux Hint

    “iftop” is a network monitoring command in Linux that displays real-time information about your network bandwidth usage. This command can easily be installed on any Linux distribution and can be used very conveniently. This article will be based on the installation method of this command, followed by a few of its use cases.

  • How to Undo Local Changes in Git – Linux Hint

    Git user performs different types of tasks by using multiple branches in the local repository. Sometimes the user needs to undo the local changes after or before commit for the project purposes. This operation can be done easily in git. Git saves the snap of the repository at different points and stores the history of the task. The user can move backward or forward at the particular committed or uncommitted point using git history. The local changes of the repository can undo before publishing to the remote server by discarding all changes or leaving the staged changes.

  • How to Use Kubernetes DaemonSet – Linux Hint

    DaemonSets are quite simple to understand. In Kubernetes, a DaemonSet architecture guarantees that a pod operates on each node in a cluster (when applicable). For each daemon, a single DaemonSet encompassing all nodes would be utilized in the simplest instance. Numerous DaemonSets for the same type of daemon might be used in a more complicated arrangement, each with distinct flags and/or memory and CPU requirements for various hardware types. Garbage collection is used to remove pods as nodes are eliminated from the cluster. When you delete a DaemonSet, it will also delete the Pods it produced.

    DaemonSets are analogous to Kubernetes deployments; in that way, they are automatically dispersed to assure that pods are deployed on every node in the cluster. In addition, if a new node is added to the cluster after the DaemonSet is already deployed, the scheduler would deploy the DaemonSet to a new node upon the join.

  • How to Fix “Vim Command Not Found” Error in Ubuntu – Linux Hint

    Undoubtedly, Linux is a bit tricky operating system to use. Many people switch from proprietary operating systems like Windows and macOS to Linux distributions because of their stability, performance, security, and open-source nature. But at the same time, many beginners find it challenging to use because of its Command Line Interface (CLI).

    CLI is a bit intimidating, but as you get to know it, you will be amazed at the benefits it offers and even find it extremely easy to use compared to GUI-based environments. Through terminal, you can do just about anything you want. For example, you can manage files, edit files, download any package, run a program, view images, and even play videos.

    Terminal is a very important program and available in all operating systems. There are various tasks that can only be done in terminal. Many beginners get annoyed when terminal gives them errors while performing some tasks. One of those errors is the “Command ‘vim’ not found” error, which you usually encounter when you copy commands from an online source. This write-up is all about guiding you on how to fix this error. So, let’s begin.

  • How to Find the Number of Cores in Ubuntu – Linux Hint

    Linux administrators often need to know the number of cores while managing the Linux servers and assigning various tasks to multiple server machines. Initially, Computer systems come with single-core CPUs, but nowadays, we have multi-core CPUs to increase performance. This post will provide numerous methods and commands to find the number of cores in the Ubuntu 20.04 LTS system.

  • How to Unstage File in Git – Linux Hint

    The git users need to work with different types of files in a local repository. The file adds to the repository by using the `git add` command, and this is called staging of the file to the local repository. The user can confirm the file addition task by using the `git commit` command. But suppose the user accidentally added any file and did not want to keep the file in the repository after adding. In that case, he/she can remove the file from the stage area by using the `git reset` command or removing the file. The staging index is located at .git/index. If the user modifies the content of any added file, then the user has to re-add the file again to keep the changes or restore the file in the previous stage to undo the changes. The different ways to unstage the file of a local git repository have been explained in this tutorial.

  • How to View the Commit History of the Git Repository – Linux Hint

    A git repository contains many commits depends on the project task. Sometimes the git user needs to clone a repository with the existing commits and may require to know the previous git commit history. `git log` command is used to view the commit history and display the necessary information of the git repository. This command displays the latest git commits information in chronological order, and the last commit will be displayed first. The different ways to view the commit history of the git repository by using the `git log` command have been explained in this tutorial.

  • How to Make an Entry in fstab in Linux – Linux Hint

    Fstab stands for File System Table, which is a system configuration file. This file is known as one of the most critical files in any Linux distribution because it handles the mounting and unmounting of file systems to the hardware. When you attach a new Hard Drive or SSD, you need to edit the fstab file to mount it and integrate it into the file system. So, when making an entry in fstab in Linux, we first need to understand the structure of the fstab file.

  • How can you make VirtualBox fullscreen – Linux Hint

    VirtualBox is an open-source, multi-platform application developed by Oracle, primarily used as a virtualization tool for x86 hardware. VirtualBox can host many operating systems at a time. Is it resource-intensive? No, it has built-in software virtualization technology that makes it less dependent upon host hardware. One of the key features of VirtualBox is that it supports multiple screen resolutions. But by default, the screen resolution appears very small upon installing the guest operating system, as demonstrated in the image below.

  • Command to sync time with NTP server in Linux – Linux Hint

    For many people, computer clocks in your devices, network machines, and servers are generally accurate. But that’s not true! These clocks are manually maintained and backed by batteries which over time drift the clock, especially in the older machines.

    So why is accurate time so important? Having exact time on your machine is quite significant because of several reasons. Many aspects of your computer activity are linked with time. Perfectly synched time is crucial for tracking security-related issues; troubleshooting can become quite difficult if the timestamps in log files are incorrect. Even for financial services, keeping accurate time is critical.

    Many companies solve time-related issues by connecting their networks with NTP.

  • How to restart Bluetooth in Ubuntu? – Linux Hint

    While you are using Ubuntu Linux, you may want to watch Netflix or YouTube videos with your Bluetooth headset. The interaction of various modules such as Bluez, PulseAudio, drivers, Linux kernel, and client applications allow Bluetooth to work. However, in Ubuntu, you could face some issues in establishing the Bluetooth connection.

    For instance, you may experience some problems with Bluetooth connectivity after suspending the whole system. In this case, you think that restarting the entire system for making the Bluetooth headset work is the right option. You also go for the “universal solution, ” removing the device and pairing it up again. Unfortunately, these solutions are not going to work for you in Ubuntu. After significant research, we have compiled some solutions for restarting Bluetooth in Ubuntu. To solve this problem, try each of these solutions one at a time.

  • How to Change the Grub Boot Order – Linux Hint

    We often need to install two different operating systems side by side on our machine in dual boot mode. However, when we install a second operating system like Ubuntu, it becomes the primary operating system against our will. We do not want it to be the default operating system. We want to keep it as a secondary operating system. In such scenarios, we need to change the boot order according to our choice, and this post will provide you the exact solution on how to change the grub boot order in Linux.

  • How do I enable copy and paste between VirtualBox and host? – Linux Hint

    While working in a VirtualBox and its virtual machines, it is often needed to copy and paste some content between the Virtual machine and the host. In other words, if we use real technical terms, we need to share the clipboard between guest and host. For sharing the clipboard, all you need to do is install the Guest Additional Image in your Virtual Machine and enable the sharing of the clipboard.

  • How do I enable the Internet on VirtualBox? – Linux Hint

    When we create a new Virtual machine in VirtualBox and install any Operating system in that machine, it is often faced that the internet is not working or not connected. There can be multiple reasons if the internet is not working on the Virtual machine in the VirtualBox. This post will help you and provide you a step-by-step guide on fixing or enabling the internet connection in a virtual machine of VirtualBox.

  • How to Fully Uninstall Steam from Ubuntu – Linux Hint

    Steam is a popular platform for video game distribution and provides a convenient way to purchase and download PC games through a Steam account. Apart from that, it allows users to interact with a huge gaming community. Installing games through Steam gives various advantages like proper management of your purchases, automatic updates, no DVD boxes, re-installing a purchased game with a single click, and much more. These conveniences have made Steam a must-have program by every PC gamer.

    There are multiple reasons why someone would want to uninstall Steam. One reason is that having too many games can make your PC slow and games could start behaving abnormally due to the lack of adequate storage. Moreover, the congested disk space may heat up your PC and even make the Steam app crash. Most of the time, a fresh installation of Steam solves many of these issues because it clears out the corrupt files.

    Uninstalling an app does not mean it will delete all the related directories or data from your Ubuntu device. We need more steps to completely remove an application and its associated folders. This write-up is a thorough guide to completely remove Steam from Ubuntu. So, let’s begin.

  • How to Solve “Could not open lock file /var/lib/dpkg/lock-frontend” Error – Linux Hint

    While using Linux, you may encounter various errors. One of them could be “/var/lib/dpkg/lock” error. Is it fixable? Well, yes! It is not a panicky error. But before we learn how to fix this error, let’s understand why this error occurs.

  • Linux Redirect Output to File and Screen – Linux Hint

    While using a Linux terminal, there exist many situations where you want to redirect the output of a command to a file and screen simultaneously, ensuring that the output is written to a file so you can refer to it later. You will be pleased to know that a Linux tool can perform this function effortlessly. “tee command” is added in the Linux-based systems specifically for this purpose. So, let’s go ahead and learn about this fantastic tool.

  • How to Compress PDF File in Linux for Free – Linux Hint

    When you have a massive PDF file or a large number of PDF files to transfer, it is a better practice to compress PDF files. In Linux, there are various methods for compressing the PDF files like command-line tools and GUI tools for free.

    This post will have a brief and step-by-step guide on how to compress a PDF file in Linux for free through the command line using GhostScript. GhostScript’s installation process and usage method are demonstrated on the Ubuntu 20.04 LTS system, and it can work on every other Debian-based operating system.

  • How to Fix the Error User is Not in the Sudoers File CentOS 8 – Linux Hint

    Linux is a multi-user operating system. Here, the root user holds the ultimate power over the entire system. For security reasons, it’s mandatory to have it password protected. In some cases, the root user is even disabled. CentOS has root user enabled by default.

    Besides security concerns, access to root privilege is necessary when it’s required to perform system maintenance. The sudo command does exactly that. It grants a command/script root privilege as long as it is executed. Users having access to the sudo command are managed by the sudoers file.

    In this guide, check out how to fix CentOS 8 error “User is not in the sudoers file”.

  • How to Change Resolution of a Linux VM in VirtualBox – Linux Hint

    When we create a new machine in the VirtualBox and install an operating system, the VirtualBox sets a default screen resolution of 800×600(4:3). However, while working in a Virtual Machine, we often need to have a screen resolution of our own choice. Therefore, there are two ways to change the resolution of any Virtual Machine in VirtualBox.

  • How to Change Git Commit by Using Amend Option – Linux Hint

    The `git commit` command is used to confirm any changes done in the repository, and the git keeps the history of each committed task. Sometimes the user needs to change the committed message before or after publishing the repository. The user requires to rewrite the git history to change the older or newer commit of the repository. The –amend option is used with the `git commit` command to rewrite the git history. This tutorial explains how this option can be applied to the local and remote git repository to change the git commit or git commit message.

  • How To Install InfluxDB on AlmaLinux or Rocky 8 to create database

    Here we learn the steps and commands to install the InfluxDB database server and secure it on AlmaLinux or Rocky Linux 8 using the terminal. And also how to access it remotely using Influx’s HTTP API…

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.