Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
  1. How To Use Sleep Command in Linux: Explained with Examples

    Linux operating systems are all about commands and the way you use them to complete your task. Sleep command in Linux is one of the commands you can use to delay a specific time during a script’s execution process. It benefits the developers when they want to pause the command execution for one particular time. So if you also want to learn everything about sleep commands, this article is just for you. In this article, you will learn about every possible detail of the sleep command in Linux.

  2. How to Use Ansible to Install and Configure Postgres 14 on Ubuntu 20.04

    In this guide we are going to install and configure Postgresql 14 in Ubuntu 20.04 using Ansible.

    Postgresql is an open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance. Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance.

    Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows.

  3. How to update/upgrade Debian/Ubuntu Linux using Ansible

    It is essential to keep your system up to date and to apply all security patches. If you are tasked with managing multiple servers, the process of logging in to each and every server to perform the task can be cumbersome. You can use Ansible to achieve the functionality. The Ansible apt module can be used to manage apt updates and apt upgrades. The module uses either aptitude or the apt-get command on the remote server for package management.

    Similarly, if there are kernel updates that require OS reboot, it would be best to use the reboot ansible module to reboot the machine, wait for it to go down, come back up and to respond to commands

    In this guide, we will create a script to update Debian based systems cache and upgrade packages installed. We will also include a task to restart the server if there were kernel updates that requires reboot.

  4. Install Grafana Server On Ubuntu 21.04 - Unixcop the Unix / Linux the admins deams

    Grafana is free and open-source software. That visualizes and monitors data from sources such as Prometheus, InfluxDB, Graphite, and ElasticSearch. The built-in sharing feature is there in Grafana. Which allows you to share data.

    Today we will learn to install and secure Grafana.

  5. Install PIP for Python 3 in CentOS 8 - Unixcop the Unix / Linux the admins deams

    PIP is a package manager used to install and manage software packages written in Python. CentOS repository allow both pip2 and pip3 for python 2 and python 3 respectively using dnf command. Python 3 is the most recent, stable, long-term supported version of Python. If you don’t specifically need Python 2 for compatibility with older applications use Python 3.

    In this tutorial we will install PIP 3 for python 3.

  6. What Is Swap Space In Linux? - Fossbytes

    So, you finally decided to switch to Linux from Windows. You search the internet for tutorials, and halfway through the installation process, you hear about the term “Linux Swap,” wonder what it is, and one search on the internet brought you to this article. Let’s look at Swap Space is in Linux and if it’s essential or not.


    Creating Swap space is unnecessary to install Linux, but if your computer has less RAM and more storage space, you can salvage some to make some swap space as it might come in handy in some situations.


    Considering you’re already in the installer and created / and /home partitions, the next step would be creating swap space. All you need to do is create an empty partition of size depending on how much RAM you have (Minimum 2GB to 4GB of swap space if you have 8GB RAM). In the options, select “use it as swap” or any word that correlates to Swap and click on create. You can then go ahead with the installation process.

  7. Set The Currently Playing Spotify Song Title And Album Cover As Your GNOME Wallpaper With This Script - Linux Uprising Blog

    Blueberry is a new Python scripts that sets your currently playing Spotify song title and album cover as your GNOME desktop wallpaper. To use it, you need Spotify Premium.

    The wallpaper includes the album cover in the center, while also using the 2 main colors from the cover to paint the rest of the wallpaper. The artist and song title are also displayed on the wallpaper.

    The script changes your background to the currently playing Spotify song album cover and song title, no matter how you listen to music on Spotify. You can use the native desktop app, the Spotify snap or flatpak packages, Spotify web, using some other desktop Spotify clients, and even Spotify running on your phone.

  8. Write your screenplay on Linux in Fountain markdown |

    A screenplay is the blueprint for a movie, and it used to be written on a typewriter. You bought the typewriter, and you could write a screenplay. And not just one screenplay, but lots of them. You could write screenplays until typewriters fell out of fashion.

    The puzzling thing is, though, that as technology for writing became "better," the harder it got to write screenplays. There are strict formatting rules in the screenplay world implemented to help the Assistant Director (AD) on a film shoot estimate how long each scene would take to shoot. You'd think that a computer would make this easier than the exclusively manual process required on a typewriter. Yet, popular computers managed to restrict writers with expensive software that became embedded in Hollywood culture. If you didn't have the right software, you were told that you could never be a serious screenwriter.

    All that changed with open source software, though, and one of the simplest methods of writing screenplays is not to use special software at all. The Fountain markdown technique requires just a plain text editor, like Atom, Kate, Gedit, or similar, and it exports to a properly formatted HTML or PDF screenplay.

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.