Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Install Kubecost to Help Optimise Kubernetes Applications

    Our homelab runs on dedicated hardware, therefore there is no Cloud provider cost involved in order to run it.

    The cost of electricity is all there is to it. The average homelab power consumption is approximatelly 80W.

    Monthly, this works out as follows: (((80W * 24h) / 1000) * £0.16/kWh * 365days) / 12months = £9.34 (~13$).

  • Install mod_ssl on Almalinux 8 / Rocky Linux 8 for httpd Apache webserver

    Apache Module mod_ssl is available to install for getting SSL support in our HTTP server. Here we let you know how to enable mod_ssl & mod_http2 for Apache webserver on Almalinux or Rocky Linux 8 (RHEL based).

    To get SSL v3 and TLS v1.x support on Apache, this article is here that helps in generating the required SSL certificate including the associated private key.

  • What is the Difference Between Printf and Echo in Bash?

    We may want to organize the result of an Ubuntu operation in a specific way. Perhaps we should avoid bloated results and present information in a concise style. The commands echo and printf are also constructed. Printf provides for the creation of a formatting string and offers a non-zero quit status when it fails. Whereas echo normally leaves with a 0 status and typically outputs inputs headed by the end of line character upon this standard result. The “printf” gives you more options for the output format than the “echo”. Throughout this brief lesson, we will look at how to style the results of the terminal using the echo and printf instructions on Ubuntu 20.04 Linux system.

  • How to Use Sed to Add a New Line at the End of Each Line

    The sed stands for stream editor that is used for basic editing operations on a text that comes from a file or on an input that is directly passed to sed from another command. Like its inputting criteria, sed can process an input file and give output to another program (as it takes input from other programs directly). It can be used to track the same word that is used in a document in different ways and the users can set them for better understanding. As the foundation of sed is based on a text editor but it can be used to write complex scripts also.

  • Analyze Disk Usage Using GDU Command Line Tool

    This article will cover a guide on using the “gdu” command line utility in Linux. This tool can be used to analyze free as well used space on any storage device connected to your Linux system. Written in Go programming language, gdu claims to be fast at analyzing solid state drives. According to a benchmark provided on its GitHub repository, it can analyze an entire disk faster than other similar tools.

  • Bash Print all Environment Variables

    Environment variables are a collection of dynamic specified values kept inside the machine that has been utilized by programs running in terminals or subshells in Ubuntu and Linux platforms. The environment variable, in basic terms, is an attribute with a title and a value. Environment variables involve changing the way a system functions as well as the behavior of the device’s programs. The environment variable can hold data such as the regular word processor or search engine, the route to executable documents, the machine locale, and keypad layout preferences, among other things.

  • Bash Split String into Array

    You may find yourself in many situations where you have to split string values into arrays or other data structures while working on a bash script in a Linux system. Here, you have to clear that bash doesn’t provide us with the built-in split function to split any string. But there is always an alternative to such problems. Hence, we will be using the delimiters to convert or split some strings into an array. Let’s start looking at some examples within Ubuntu 20.04. Open the shell terminal first using the “Ctrl+Alt+T” on the desktop.

  • How to install VLC Player on Almalinux 8 / Rocky Linux 8 - Linux Shout

    VLC Media Player doesn’t need any introduction it has been around for a very long time to run media files on almost all operating systems. Here we learn how to install a VLC media player on AlmaLinux or Rocky Linux 8 (RHEL based Linux).

    VLC is available for Linux, Windows, macOS, Android, and iOS. It is an open-source application and can play files of all important audio and video formats. A double click is enough, alternatively you can load files into the VLC interface using drag & drop or tap a video DVD using the menu bar command.

    The users can easily switch ON Subtitles and lyrics, if available along with the preferred language for films in VLC. The VLC media player can also be used as a streaming client for various Internet streams – such as YouTube videos and the like. With a little bit of skill, you can also use this function to download media such as the aforementioned YouTube videos from the network and save them locally. If the format does not yet fit, you can convert it with the VLC media player and extract the audio track from videos in order to save them as an MP3 file, for example.

  • How to install Apache on Almalinux 8 / Rocky Linux 8 - Linux Shout

    Apache is the most widely used and popular open-source web server on the Internet. It can be flexibly configured and expanded using a large number of modules. Here we learn how to install Apache webserver on AlmaLinux or Rocky Linux 8 using the command line.

    Most of the time we use Apache web server in combination with MySQL and PHP or Perl or Python to create a LAMP server ( Linux, Apache, MySQL, and P such as PHP, Perl, or Python) for running various CMS and other web applications.

  • How to Use Bash Set Builtin

    The Linux system contains many options to be set in it by a user. One of the very well-known and useful groups of commands is “Set builtin”. The Set Built-in has many flags to set any environment variables in Bash with its simple commands. Today, we will discuss and implement some examples to see different Set Built-in commands in Ubuntu 20.04 Linux operating system. Start by logging in from your system first. Open your shell terminal using the “Ctrl+Alt+T” shortcut key on the desktop. To get information regarding the “Set Built-in” command, use the “help” command along with the “set” keyword in your terminal as shown.

  • How to Setup Samba Server in Ubuntu 20.04 - ByteXD

    Samba is a utility present in Linux that allows sharing of folders and printers across different operating systems over a network. It means you can access the folders present in Linux in one system from another system having Windows using Samba.

    In this tutorial you will learn about the Samba server in detail; how to install and configure the Samba server in Ubuntu Linux, along with different cases of its use and different issues that might arise.

  • How to Create a Menu Bash Script

    In Bash scripts, there seem to be a variety of ways to accept data from the user. Allowing participants to enter input, on the other hand, might cause some issues. The major difficulty is data integrity, which necessitates taking into consideration all potential inputs. Creating a multiple-choice panel for the Bash code is a simple way around all of this. To use this approach, you may construct a simple, predefined set of choices from which the user can select. In this brief tutorial, we’ll look at how to make a basic numerous option menu within Bash scripts to use a select structure and case clauses via the Ubuntu 20.04 system terminal.

  • How to Use Modulus in Bash?

    In mathematics, the modulo operator is widely known to determine the remainder of two values upon division. This mathematical operator can also be used in the bash script. Therefore, we will see how a modulo operator can be used in bash with different ways to get the remainder. Let’s start by logging in from the Ubuntu 20.04 system. Try “Ctrl+Alt+T” to launch the shell terminal on the Ubuntu desktop. Let’s have a few examples.

  • How do I Exit a Bash Script?

    You may have encountered many situations when you have to quit your bash script upon some inconvenience. There are many methods to quit the bash script, i.e., quit while writing a bash script, while execution, or at run time. One of the many known methods to exit a bash script while writing is the simple shortcut key, i.e., “Ctrl+X”. While at run time, you can exit the code using “Ctrl+Z”. This guide will show how the batch script can be quitted using the different exit clauses while executing. Let’s get started by logging in from the Ubuntu 20.04 system first and opening the shell using “Ctrl+Alt+T”.

  • How To Install KDE Plasma on Debian 11 - idroot

    In this tutorial, we will show you how to install KDE Plasma on Debian 11. For those of you who didn’t know, KDE Plasma is one of the most popular Desktop Environments available for Linux Desktop users. KDE dedicate based on creating a free and user-friendly computer experience by offering advanced graphical desktop and a wide variety of applications for entertainment, learning, communication e.t.c

    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 KDE Plasma Desktop Environment on a Debian 11 (Bullseye).

  • How To Install IonCube Loader on Ubuntu 20.04 - ByteXD

    IonCube is a code encryption tool, created in 2003. It was introduced to protect codes written in PHP language so that an unlicensed user could not view, change or run the file. It secures the file through the encryption/decryption method.

More in Tux Machines

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.

Red Hat Hires a Blind Software Engineer to Improve Accessibility on Linux Desktop

Accessibility on a Linux desktop is not one of the strongest points to highlight. However, GNOME, one of the best desktop environments, has managed to do better comparatively (I think). In a blog post by Christian Fredrik Schaller (Director for Desktop/Graphics, Red Hat), he mentions that they are making serious efforts to improve accessibility. Starting with Red Hat hiring Lukas Tyrychtr, who is a blind software engineer to lead the effort in improving Red Hat Enterprise Linux, and Fedora Workstation in terms of accessibility. Read more

Today in Techrights

Android Leftovers