Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Why Nutch-based web spiders are now blocked here

    If you write a web crawler engine, you should make it very hard for people to not fill in all of the information for a proper user-agent string (such as a URL explaining the crawling). Apache Nutch, I'm looking at you, given UA's of eg "test search engine/Nutch-1.19-SNAPSHOT".

  • How do I reset a Password in Linux

    Linux allows users to change their passwords whenever they log in. Linux offers the “passwd” utility to change an existing or a new user account password. Any information that is related to the encrypted user’s password or the password-related details is stored in the “/etc/shadow” file of the Linux system. If you are a normal user, then you can only change the password for your account. But if you are a root user or user with sudo access, you can also change the other users’ password.

    Whenever you change the password, make sure that you use a strong and unique password that meets the standard criteria for a Linux password. Having a strong password is a smart move to protect your account from potential thefts and unauthorized access. A strong password should be 16 characters long, containing one uppercase letter, one lowercase letter, one number, and one special character. It is a good habit to update your password frequently to save it from hackers and other unwanted access.

  • How do I check the size of a Folder in Linux

    Linux offers you various amazing command-line commands that will help in performing various tasks. One of the major tasks performed from the command line of Linux is to check the size of the file or folder. It might be necessary to make space for the incoming file or transfer it to another location. Also, when you run some deployments, it tends to create a log file automatically, and the space will fill up with those log files. So we must track the space of the file or folder and make space on the disk for them accordingly.

    For this, you will need a Linux system, a command-line interface for running the command, and the right user access for checking the space on the Linux system.
    We will be looking at various ways to check the file or folder size available on the Linux system.

  • How to Connect to Wi-Fi on Kali Linux

    This tutorial explains how to connect to Wi-Fi with Kali Linux using both graphical and text modes.
    After reading this tutorial, you’ll know how to connect to your wireless network from your graphical environment and the console using both nmtui and mncli tools.

  • How do I List All Groups in Linux

    Linux systems may have several users that are divided into many groups. These groups are the collection of users with the same set of privileges like reading, writing, or executing permission for a particular file or resources shared among the users of that group. Linux allows you to add a new user or the existing user to the existing group for utilizing the privileges of that particular group that it will grant. We will learn about the various Linux groups and how to list all the members of the group.

  • How do I list Upgradable packages in Ubuntu

    In computing, updates of the packages or OS have a key role in bringing the new functionalities to the users. You may encounter several updates after a few days or weeks; these updates carry bug fixes and minor changes to any software or your operating system. The frequent updates do not necessarily mean that you will experience a new interface or experience every time: however, most updates are related to some bug fixes that are identified in the previous releases. Like other operating systems, Ubuntu also provides updates time by time, and you can get the packages that can be upgraded; you have the option to upgrade all the packages or can upgrade one by one. In this write-up, our focus is to print the upgradeable packages list in Ubuntu’s terminal. So, let’s start:

  • How do you Add a User to Linux

    Linux provides you the most commonly used command that is “useradd” or “adduser.” It allows you to add or create the user to the Linux system and some properties that may differ from another user. These users can access some files or directories, and some users may not depend on what access they have. Whenever a user is added or created, access is given to that user as per the requirement.

    The “useradd ” command may vary for various Linux distributions, so it is recommended that you read the documentation properly before you create a new user account in Linux. We highlight the methods on how you can add or create a new user within the Linux system.

  • How do You Create a New File in Linux

    If you are working on Linux, then you will get various utilities for creating files. It is considered the most frequent task in Linux as most of the work is completed via files and directories. You can either use the command-line interface commands or the desktop file manager to create the desired file. Consider this tutorial for creating files using various methods.
    Before creating a file, ensure that you have the required access to create the file in the parent directory; otherwise, you will get the permission denied error on the screen.

    For checking the files that are available within the directory, use the “ls” command. We will learn about various commands for creating files.

  • How to Change Debian Desktop Environment

    In Linux, a desktop environment refers to the bundle of components that provide the common graphical user interface (GUI) components on the screen, such as icons, wallpapers, toolbars, widgets, etc. Thanks to the desktop environment, it’s possible to use Linux with your mouse and keyboard like any other graphical operating system.

    There are numerous desktop environments available on Debian, each with its own perks and features. Interested in switching to a new desktop environment? In this guide, we’ll explore how to install and change the desktop environment on Debian.

  • How to Configure DNS Server on Debian

    DNS or Domain Name System is the system that translates the name of a domain into its corresponding IP address. For instance, when you type www.example.com in your browser, it maps to a particular web server’s IP address on the internet. This makes it easy for people to remember servers, applications, or any other devices connected to the internet without having to memorize their IP addresses.

    DNS is a hierarchical distributed database system. It has a tree-like structure with nodes that are arranged in layers called domains. Each domain points to the node of some level lower than itself. In DNS, these domains are defined as subdomains, and each one resides on its own DNS server, either Master DNS or Primary DNS, which contains the records for all the IP addresses and hostnames within its domain zone.

    There can be multiple Secondary DNS servers that contain an up-to-date copy of the information contained in their corresponding Master DNS servers. In addition to resolving queries using this mirrored data, secondary DNS servers also provide fault tolerance in case the primary master goes down by answering queries themselves while waiting for answers from the primary master.

  • How to Install Kali Linux In VMware Workstation Pro 16

    Kali Linux is a Debian-based operating system specially made for penetration testing. Kali Linux has all the required penetration testing tools installed by default. Even if something is not installed by default, it should be available in the official package repository of Kali Linux, and you should be able to install it easily from there. Kali Linux is any penetration tester’s best friend.
    To learn and do penetration testing, you may want to run Kali Linux as a virtual machine. This way, you can do everything in an isolated environment, take snapshots of your virtual machine and get back to an earlier state if anything goes wrong within a few seconds. It will give you a lot of flexibility that you will not get if you run it directly on your computer.

  • How to use the IP command in Ubuntu

    IP (Internet Protocol) acts as a unique identifier address over the network. This unique identifier helps to send information among different devices on the network. Internet services also work based on IP and differentiate between several devices such as routers, computers, etc. IP addresses consist of four separated integer strings, the range of each string may vary from 0 to 255 (0.0.0.0 to 255.255.255.255).

    IP commands in Ubuntu can be used for several purposes within a network, such as to assign, delete, set up an address, or configure parameters for network interfaces. One can say that it is an alternative to the ifconfig command of Ubuntu, but it is quite useful and commonly used nowadays because the ifconfig command has not been maintained for so long and, therefore, has been deprecated.

  • How To Install Laravel on Debian 11 - idroot

    In this tutorial, we will show you how to install Laravel on Debian 11. For those of you who didn’t know, Laravel is an open-source PHP web framework, designed for the faster development of web applications. It is based on the Symfony framework. 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, and many more.

    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 the Laravel web framework on a Debian 11 (Bullseye).

  • How to Install The Lounge IRC Client on Ubuntu 20.04

    The Lounge is a web-based IRC client written in Node.js and can be installed and then accessed from any modern browser for a native-like experience without having a dedicated application installed.

  • How to Install MariaDB 10.6 on Ubuntu 20.04 - 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 features such as 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 MariaDB 10.6 on Ubuntu 20.04 LTS.

  • How to Backup WordPress Database via phpMyAdmin

    As a WordPress site admin, you have no choice but to adhere to the number one rule for successful website administration; always create regular data backups for your site. This rule should never be taken as a consideration but as a mandate.

  • How to upgrade OpenSUSE 15.2 to 15.3 using the CLI - nixCraft

    The most advanced OpenSUSE version is 15.3 and is an opportunity for both desktop and server users on the previous 15.2 release to update OpenSUSE Linux to get the newest software stack. It is easy to follow the procedure to upgrade OpenSUSE 15.2 to 15.3. In this tutorial, we will explain how to upgrade OpenSUSE 15.2 to 15.3.

  • Create event-based serverless functions with Python | Red Hat Developer

    In my previous article, I introduced the Red Hat OpenShift Serverless Functions Operator for creating serverless functions and led you through building and deploying an HTTP function written in Python. We ended up with a basic service that simply returned a "Hello world"-type string.

    In this article, we'll take it up a notch by developing a Python-based serverless function that sends an email in response to a CloudEvent. This is a very real-world type of application for serverless functions and Functions as a Service (FaaS).

  • Find files and directories on Linux with the find command | Opensource.com

    Regardless of how organized I resolve to be, it seems there are always times when I just can't locate a file. Sometimes it's because I can't remember the name of the file in the first place. Other times, I know the name, but I can't recall where I decided to save it. There are even times when I need a file that I didn't create in the first place. No matter what the quandary, though, I know that on a POSIX system, I always have the find command.

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.