Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How To Install vnStat on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install vnStat on Ubuntu 20.04 LTS. For those of you who didn’t know, vnStat is an open-source tool that can be used to monitor the network resources of your system by using the console. With vnStat, you can monitor network statistics over various time periods. It is simple, lightweight, and consumes a small portion of your system resources. vnStat allow you to generate the network traffic data in an hour, day, month, week, and day.

    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 vnStat network traffic monitor on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.

  • How to Install WordPress with LAMP and free Let's Encrypt SSL on Rocky Linux

    WordPress is one of the most popular Content Management Systems (CMS) right now, it's used by millions of people. The WordPress project started in 2003 as a fork from the CMS "b2/cafelog", comes with a GPLv2 license, and becomes free and open-source software.

    As for now, more than 34% of websites on the internet are using WordPress. One of the reasons WordPress is so popular is because it's simple, easy to use, and flexible. With hundreds/thousands of plugins, WordPress can be used in some different ways, such as simple blogging engine, eCommerce websites, simple company profile, online forum community, etc.

    In this guide, you will learn how to install WordPress CMS on the Rocky Linux 8.4. You will be installing WordPress under the LAMP Stack (Linux, Apache2/httpd, MySQL/MariaDB, and PHP).

  • How to dual boot Windows 11 and Linux
  • How to Record Audio in Ubuntu 20.04 – VITUX

    An audio or sound recording tool is vital since it allows you to get a voice-over on a clip or perform other jobs. Nevertheless, capturing audio using Ubuntu is constantly a topic of discussion. There have been some tools that can help you do it quickly, but rather an integrated system cannot record audio. If you’re looking for a simple way to record voices on your Ubuntu system, check out the post below. We’ve covered all of the details and solutions for recording audio using Ubuntu. Open your Ubuntu 20.04 system and log in from it. You need to open your command shell via Ctrl+Alt+T because we have to work on the command line to install an audio-recorder tool or program.

  • How to Install Ubuntu Alongside With Windows in Dual-Boot

    This tutorial will guide you on how you can perform the installation of Ubuntu 20.04, Ubuntu 19.04, Ubuntu 18.10, or Ubuntu 18.04 in dual-boot with a Microsoft Operating System on machines that come pre-installed with Windows 10.

    This guide assumes that your machine comes pre-installed with Windows 10 OS or an older version of Microsoft Windows, such as Windows 8.1 or 8.

    In case your hardware uses UEFI then you should modify the EFI settings and disable the Secure Boot feature.

    If your computer has no other Operating System already installed and you plan to use a Windows variant alongside Ubuntu, you should first install Microsoft Windows and then proceed with Ubuntu installation.

  • How To Backup And Restore Data Using Restic In Linux - OSTechNix

    This guide explains what is Restic, how to install Restic in various Linux distributions, and finally how to backup and restore data using Restic in Linux operating systems.

  • Deep dive into Ansible ad hoc commands | Enable Sysadmin

    Automation plays a vital role in a sysadmin's or DevOps administrator's day-to-day life; patching, installing, managing components, automating network devices, and dealing with containers are tasks that automation can handle. Due to the sequential behavior of scripting, many sysadmins have not considered automation to be a promising tool. Ansible, as an automation tool that executes in parallel, appears to be changing that trend and becoming widely used.

    Ansible uses ad hoc commands and playbooks to achieve automation. Ad hoc commands are mostly single linear commands that can execute from controllers. Ad hoc commands make Ansible useful even when a sysadmin needs to perform a one-time activity.

  • Test container images in Red Hat OpenShift 4 with Ansible and CI/CD | Red Hat Developer

    Several repositories offer ready-made container images for Red Hat Enterprise Linux and other systems running Linux. The InterOp team at Red Hat tests these application images in Red Hat OpenShift. To simplify the integration of tests into the continuous integration/continuous delivery (CI/CD) process, we are adding Ansible playbooks to the repositories that host the container images. The Red Hat Software Collections GitHub repository currently has the first of these Ansible playbooks, but we will add playbooks to other repositories over time.

    This article shows how to submit a test to a repository, and how to download the tests if you want to run them in your own container environment.

  • Use dnf updateinfo to read update changelogs - Fedora Magazine

    If you have used any type of computer recently (be it a desktop, laptop or even a smartphone), you most likely have had to deal with software updates. You might have an opinion about them. They might be a “necessary evil”, something that always breaks your setup and makes you waste hours fixing the new problems that appeared, or you might even like them.

    No matter your opinion, there are reasons to update your software: mainly bug fixes, especially security-related bug fixes. After all, you most likely don’t want someone getting your private data by exploiting a bug that happens because of a interaction between the code of your web browser and the code that renders text on your screen.

    If you manage your software updates in a manual or semi-manual fashion (in comparison to letting the operating system auto-update your software), one feature you should be aware of is “changelogs”.

    A changelog is, as the name hints, a big list of changes between two releases of the same software. The changelog content can vary a lot. It may depend on the team, the type of software, its importance, and the number of changes. It can range from a very simple “several small bugs were fixed in this release”-type message, to a list of links to the bugs fixed on a issue tracker with a small description, to a big and detailed list of changes or elaborate blog posts.

    Now, how do you check the changelogs for the updates?

    If you use Fedora Workstation the easy way to see the changelog with a GUI is with Gnome Software. Select the name of the package or name of the software on the updates page and the changelog is displayed. You could also try your favorite GUI package manager, which will most likely show it to you as well. But how does one do the same thing via CLI?

  • Junichi Uekawa: openvpn client configuration with systemd.

    openvpn client configuration with systemd. Spent a while trying to figure out why my configuration file /etc/openvpn does not take effect. It was because I needed to tell systemd to reload the daemon stuff and trying to restart openvpn only did not have any meaningful effect. After I learnt how things work it made some sense, but I expected /etc/init.d/openvpn restart to do the right thing.

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.