Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos

  • How to enable or set auto-login on boot in Linux Mint 20

    By enabling the auto-login feature in Linux Mint, we can easily log in to the Linux Mint system on boot without providing the password. Therefore, once you have enabled the auto-login, there is no need to provide the password for the boot time authentication.

    In this post, we will focus on enabling the auto-login feature on Linux Mint 20.

  • How to run Cron jobs every 10, 20, or 30 minutes

    Cron is a software utility or Linux command also recognized as a Cron job used to schedule tasks or jobs to be executed after a fixed interval of time in the future. The Cron jobs are mostly used for scheduling tasks on the server for automating the administration and system maintenance tasks. The Cron jobs can be scheduled to run every minute, hour, day, or month and we will learn how to run a Cron job after every 10, 20, or 30 minutes in this post. Let’s start.

  • How to install and Use Flatpak on Ubuntu 20.04

    Flatpak is a repository of software and packages just like a snap store. The snap store is supported by Ubuntu, while the Red Hat backs Flatpak. Flatpak is growing and becoming really popular amongst the community because it provides the complete package along with its dependent packages. Although Flatpak is similar to Ubuntu’s snap store, the snap store is not supported by most of the Linux operating systems as compared to the Flatpak.

    Flatpak allows the developers to create a complete application package that includes all the required libraries and dependent packages to run the application. The developer just has to build the application once, and then he can use it and run it in any Linux operating system without making a single change. Flatpak applications run completely on their own and do not have to do anything with the system, so it is possible to run the same application on a system multiple times.

  • How to Setup and Configure XAMPP/LAMP on a Linux System

    Developers require a platform that allows them to create/test their applications and help them find and fix the issues. The platforms and stacks offer a solution package consisting of an HTTP server, a database management system, and interpretation support to some CGI scripting languages like Perl, PHP, or Python.

    We cover one such platform that emulates web-server-like environments on a local system, i.e., XAMPP/LAMPP. There is numerous other software available as well, but XAMPP takes the lead due to the offered features. XAMPP provides an appropriate testing environment that facilitates and speeds up the developmental process. This tutorial will learn to install, configure, and use XAMPP/LAMP on a Linux system.

  • How to Install AWS CLI on Ubuntu 20.04

    AWS CLI (Amazon Web Service Command Line Interface) is an open-source command-line utility tool for managing Amazon web services. AWS CLI is a utility tool provided by AWS to manage resources. AWS API is directly accessible through AWS CLI. Using AWS CLI utility, you can create scripts for automating Amazon Web Services.

    AWS CLI is available in version 1 and version 2. AWS recommends using AWS CLI version 2. If you already version 1, suggest to uninstall it or create symlink/alias with a different name.

  • Ubuntu change keyboard layout in a few simple steps

    Most Ubuntu users like to use their native language as their primary input language when running their system. The Ubuntu Settings Utility allows you to add your native language as a keyboard input source. This input source language can be configured to be used as your default keyboard layout. This layout indicates that everything you type on your keyboard will be perceived by your Ubuntu system based on the selected keyboard layout.

    This article describes how you can change the layout of your keyboard to match your preferred input language on the desktop and it also describes how to change it in the terminal (see the chapter about changing the keyboard layout on Ubuntu server towards the end of the article).
    We ran the commands and procedures mentioned in this article on Ubuntu 20.04 LTS.

  • How to Install SQLite and SQLite Browser in Ubuntu

    SQLite is a lightweight, small and self-contained RDBMS in a C library. Popular databases like MySql, PostgreSQL, etc. works in the client-server model and they have a dedicated process running and controlling all the aspects of database operation.

    But SQLite has no process running and has no client-server model. SQLite DB is simply an file with .sqlite3/.sqlite/.db extension. Every programming language has a library to support SQLite.

  • How to setup SSH tunneling on Linux – Linux Hint

    SSH tunneling commonly known as SSH port forwarding is a technique of routing local network traffic over through encrypted SSH on remote hosts. Routing network traffic via SSH tunnels ensure high level of data encryption and security, especially for unencrypted network protocols such as FTP. This is very useful especially when connected to unsecured networks.

  • How to Configure SAML 2.0 for AWS Account Federation – Linux Hint

    SAML is a standard for logging users by allowing the Identity Providers to pass login credentials to the Service Providers. There are several advantages to this single sign-on (SSO) standard over signing in using usernames and passwords, like you do not need to type credentials in, and no one has to remember passwords and renew them. Most organizations are now aware of user identities as they log into their Active Directory. Using this data to log users into other programs, such as web-based applications, makes sense, and one of the most sophisticated ways to do this is to use SAML. The customer’s identification is moved from one location (identity provider) to another (service provider) using SAML SSO. This is achieved by the exchange of XML documents that are digitally signed.

    End-users can use SAML SSO to authenticate to one or more AWS accounts and gain access to particular positions thanks to Okta’s integration with AWS. Okta administrators can download roles into Okta from one or more AWS and allocate them to users. Moreover, Okta administrators may also set the length of the authenticated user session using Okta. AWS screens containing a list of AWS user roles are provided to the end-users. They may pick a login role to assume, which will determine their permissions for the length of that authenticated session.

  • How To Disable Automatic Updates on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to disable automatic updates on Ubuntu 20.04 LTS. Automatic updates in Ubuntu are not only a security feature but also meant for user convenience. As we have mentioned, it is a by default enabled feature that keeps your system up to date, but it is also annoying for many users due to the errors. You can disable these auto-updates but update your system manually as it is essential to maintain your data security in the system.

  • How To Install Icinga 2 on Debian 10 - idroot

    In this tutorial, we will show you how to install Icinga 2 on Debian 10. For those of you who didn’t know, Icinga 2 is a free, open-source, and most widely used monitoring system that can be used to monitor the health of networked hosts and services. With Icinga 2 you can monitor CPU load, Memory usage, Disk usage, IMAP, POP3, SMTP, HTTP, Routers, Switches, 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 Icinga 2 monitoring server on a Debian 10 (Buster).

  • How to use bash to create directories in Linux [Guide]

    If you need to use the bash terminal to create directories on Linux, the best way to do it is with the mkdir command. What is “mkdir?” It stands for “make directory,” and it’s one of the most valuable tools on all of Linux. With it, you can create folders anywhere on Linux.

    There’s no need to install “mkdir” to use it on your computer. In fact, it comes pre-installed on every single Linux operating system out there today. A Linux OS probably couldn’t function without it!

  • Ubuntu: VMware Workstation 16 download and setup [Guide]

    Do you need to get VMware Workstation Pro 16 working on your Ubuntu PC but don’t know how to do it? We can help! Follow along with this guide as we show you how to install VMware Workstation Pro 16 on Ubuntu.

    Note: VMware Workstation Pro 16 will expire after 30 days of evaluation if you do not purchase a software license. For more information on how to purchase a software license for VMware Workstation Pro 16, click on this link here.

  • How to Use rsync on Synology NAS – Linux Hint

    The full form of rsync is remote sync. rsync is a command-line program for syncing files. It is used to sync files from your computer to a remote computer, from a remote computer to your computer, from a folder to another folder on the same computer, from your computer to your external hard drive, from a remote computer to your external hard drive, etc. It can also be used to make incremental backups.

    This article will show you how to enable rsync on your Synology NAS and sync files from your computer to your Synology NAS. So, let’s get started.

  • [Solved] Wrong Time in Windows 10 After Dual Boot With Linux

    If you dual boot Windows and Ubuntu or any other Linux distribution, you might have noticed a time difference between the two operating systems.

    When you use Linux, it shows the correct time. But when you boot into Windows, it shows the wrong time. Sometimes, it is the opposite and Linux shows the wrong time and Windows has the correct time.

    That’s strange specially because you are connected to the internet and your date and time is set to be used automatically.

  • How to kill Zombie processes in Linux | FOSS Linux

    A zombie process in Linux refers to those already dead processes but, in one way or another, are still present in the process table of the system. The loophole is that, for some reason, this process was not cleaned by the parent from the process table. Usually, this happens after the completion of the execution process.

    The usual way of operation in Linux is that after a process completes its execution, it notifies its parent, which is responsible for removing the process from the table. Unfortunately, the parent is unable to remove the process from memory in cases where the parent cannot read the child’s status. This is how it comes to be that we have dead processes in the process table. These are what we are calling the zombie processes.

  • Install Laravel On Manjaro/Arch Linux

    Laravel, written in PHP, is a popular MVC framework for developing web applications. Laravel makes it easy to develop dynamic web apps with powerful built-in tools such as database systems, routes, controllers, authentication system, and a lot more.

    Laravel is an open-source PHP web framework. It was first released in June 2011. With each new release, Laravel is making it easier to implement complicated features without wasting too much time. From scaffolding to providing helper methods to build advanced features such as authentication, Models for making database queries, controllers to write request logic, and Views to render blade templates or even supports Inertia for building frontend with React or Vue.

    Currently, Laravel 8.x is the latest release. For a quick start, Laravel provides Laravel Breeze (optional) to scaffold the entire authentication system that includes login, register, and a password reset system.

    If you are a PHP developer, Laravel is a genie for you. The huge community and well-explained documentation is always there if one needs any help. To further save time in coding popular features, search for packages already coded by somebody in the community. Use Packalyst, a huge directory to find Laravel packages built by the community. From interacting with a third-party API to implementing different authentication systems, multiple packages are available for all kinds of needs.

  • How to Remove Ubuntu or Other Linux from Dual Boot
  • How to install Sonic the Hedgehog Time Twisted on a Chromebook

    Today we are looking at how to install Sonic the Hedgehog Time Twisted 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.

    If you have any questions, please contact us via a YouTube comment and we would be happy to assist you!

    This tutorial will only work on Chromebooks with an Intel or AMD CPU (with Linux Apps Support) and not those with an ARM64 architecture CPU.

  • How to Check the CentOS Version – Linux Hint

    For troubleshooting, bug fixes, and many other reasons, you may need to know the version of the operating system. Particularly when it comes to the configuration of software repositories or installation of any software, it is extremely important to get the right version of the software so that the solution is compatible with the operating system version. This article shows you various methods for determining the version of CentOS.

  • How do I Ping a Specific Port? – Linux Hint

    We shall take “ping a specific port” to mean that you want to verify a specific port’s status for a given IP address. This is useful for troubleshooting why a service is not working properly.

    This article will show you how to verify a specific network port’s status by using Netcat, Nmap, and Nping.

  • How to manage Linux passwords with the pass command | Enable Sysadmin

    The pass command empowers you to take full control of your password management tasks on Linux.

  • How to Create an SSH Key Passphrase in Linux

    SSH keys are commonly used without a passphrase. This is especially true when automating tasks because no human is expected to be available to type in the passphrase. Nevertheless, the use of SSH key passphrases is recommended for interactive users. This will add an extra layer of security in case the private key is stolen or accidentally disclosed.

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.