Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Conky & Lua

    Thanks to this article I became aware of how flexible conky's Lua configuration format is - it is effectively a Lua script. This opens almost endless new possibilities that go far beyond mere modularisation.

  • Paternoster: a CLI to invoke Ansible playbooks

    Paternoster, named after the lift, enables me to quite easily create a “program” which uses the Ansible API to actually invoke and run a playbook, mostly hiding this fact from the user. I’ve known of Paternoster since at least March 2018 when I PRed one of my infamous one-letter fixes and have since wanted to blog about it. Here goes.

  • How to deal with OpenVPN Client Runtime Issues?

    In my practical human trials, I have encountered issues mostly with availability. The most common issue in my experience has been that the openvpn process dies due to an error condition it cannot handle, such as socket availability or an error condition with the client-server communication that it cannot deal with in a controlled manner.

    To this end, I first experimented with ifstated(8), but found out that it is not really the right tool for the task, since openvpn getting stuck is a rarer event than it exiting due to an error condition. Moreover, it remained unclear to me how to gracefully handle multiple independent processes and their state through the configuration. [...]

  • How to Connect to Wi-Fi Through the Linux Terminal With Nmcli

    Need to connect to the internet on your Linux device, but don't have an ethernet port or access to graphical networking software? In this article, we'll learn how to connect to Wi-Fi in the Linux terminal using the nmcli command line tool.

  • How to Add a User to the Sudoers List in Linux

    Want to grant administrative privileges to a Linux user? Here's how you can add a user to the sudoers list.

    Adding a user to the sudoers list allows you to give administrative access to regular users. This way, you don't have to share the root password with other users on your system. Adding users to the sudoers list allows them to execute system commands with root privileges.

    Here's how you can grant administrator roles to Linux users by adding them to the sudoers list.

  • How To Install CloudPanel on Debian 10 - idroot

    In this tutorial, we will show you how to install CloudPanel on Debian 10. For those of you who didn’t know, CloudPanel is an open-source server management control panel designed to be fast, easy to use, and customizable. CloudPanel supports management of database servers, Domains, Linux services, Cron jobs, IP and Bots blocking, FTP server, User management, Cloud platforms support, among many others.

    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 CloudPanel Control Panel on a Debian 10 (Buster).

  • How to Install ClipGrab Video Downloader via PPA in Ubuntu 20.04 | UbuntuHandbook

    Want to install the ClipGrab YouTube video downloader via classic deb package? Here’s a PPA available for Ubuntu 20.04, Ubuntu 20.10, and Linux Mint 20.

    ClipGrab is a free and open-source downloading and converting application for YouTube, Vimeo, Facebook, and many other video sites.

    Thanks to Youtube-DL and Qt framework, it provides a simple UI with ability to search videos via keywords. By clicking a video from the search result, it automatically inputs the video URL to “Downloads” tab.

  • How to Register a Domain Name on AWS

    Amazon Route53 comes to the rescue when it comes to buying a domain name on AWS. One can also transfer a domain name from other registrars to AWS. When you want to build a website or web applications, the first step is to buy a domain name, as it is an easier way to remember than the IP of the server. A domain name is a unique name that identifies the website, hence no 2 websites can have the same name on the internet.

    Any domain consists of Top Level Domain (TLD) and Second Level Domain (SLD). If we take an example of the domain name as "my-example.com" .com is the Top Level Domain and my-example is the Second Level Domain. Additionally, you can create Sub-Domains under your Domain name for which you don't need to pay. In "my-subdomain.my-example.com" URL, "my-subdomain" is the Sub-Domain you can create it without paying any additional amount to your registrar.

  • How to install GCC on Ubuntu

    Need to install GCC on your Ubuntu system but can’t figure out how to set it up? If so, this guide is for you! Follow along below as we show you how to install GCC on Ubuntu!

    [...]

    The GCC (GNU Compiler Collection) is installable on Ubuntu through the command-line terminal. To install it, you will need to download and set up the “build-essential” package on Ubuntu. To start the installation process, open up a terminal window.

    To open up a terminal window on the desktop, press Ctrl + Alt + T on the keyboard. Or, open up the app menu and search for “Terminal” to open it up.

    Once the terminal window is open, make use of the apt install command below and use it to install the “build-essential” package on Ubuntu.

  • How to enable and use Ubuntu remote desktop | TechRadar

    When you need to access a computer from outside your home or office, you’ll want to use the best remote desktop software. Having a remote desktop can enable you to access files on your work or home computer from anywhere. Or, you can access a client’s computer to offer technical support.

    Whatever your goal, it’s relatively easy to learn how to set up a remote desktop connection. In this guide, we’ll show you how to enable and use a remote desktop on the Ubuntu operating system.

  • How to deactivate or disable a user account in Ubuntu 20.04 LTS

    If you want to disable any user to prevent that the user logs into his/her account on Ubuntu or lock the user’s account so he/she won’t be able to log in and access the privileged rights, you can do it in three ways through command line input (CLI). This article will explain and demonstrate these 3 ways through which you can perform the specified task.

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.