Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Checking out a Git branch further back than the head

    It's possible to move a branch (including 'main') back to an older commit while staying on the branch. This avoids Git complaints about being in a detached HEAD state and makes 'git status' do useful things like report how many commits you are behind the upstream tip. As far as I know so far, the way you do this is: [...]

  • Ignore A Package From Being Upgraded In Arch Linux - OSTechNix [Ed: Updated after 5 years]

    Sometimes, you may want to ignore a package from being upgraded in your Arch Linux system. It is true that the outdated packages might be vulnerable and not safe to our system. Yes! We need to update the Arch Linux system regularly to get latest packages and make our system more secure. However, we need to hold a package or group of packages from being upgraded for certain reasons.

  • How to install WhatsApp on Linux

    WhatsApp is a telecommunications application to provide video, chat and voice communication between computers, tablets, and mobile devices over the Internet connection. All you need is a phone number to sign up, and then you can send messages from your Linux system.

    There is no official Linux client for WhatsApp, unfortunately. The good news is that it is still possible to download WhatsApp clients made by users, which will use WhatApp’s web interface to create a seamless experience. Using this method, we are able to have WhatsApp on Linux and have it resemble the same client you would get on a Windows PC.

  • How to install PHP on Ubuntu Linux

    PHP is one of the most used languages when it comes to programming dynamic web sites. If you are a web developer, or just hosting a website that requires PHP, you will need to install the software on your server in order for your website to make use of its PHP code.

    PHP is also required by various content management systems, including the most popular one in the world, WordPress. In this tutorial, we will take you through the step by step instructions to install PHP on Ubuntu Linux.

  • How to install Grub Customizer on Linux (all major distros)

    Grub Customizer is a software package that does exactly as the name would imply. It allows the user to customize different aspects of the grub boot menu – such as the order that entries appear in the list, how long grub waits before selecting a default system to boot to, etc.

    The good news is that you can use this application on all major Linux distros. In this tutorial, we will show you how to install the Grub Customizer package on all Linux systems.

  • How to fix Kubernetes namespaces stuck in the terminating state | Enable Sysadmin

    A Kubernetes namespace isolates specific system resources usually visible to all processes. Each namespace has its own services, pods, and deployments in the cluster. A namespace in Kubernetes is essentially the same as a project in OpenShift.

    These days, most products are containerized and can easily be deployed on Kubernetes or OpenShift. This requires continuous application deployment and testing. I recently worked on test automation that involves the creation of namespaces, resources, and data in the namespace, followed by running the test suite, and then removing the data and namespace once the tests are complete.

    While frequently creating and deleting namespaces in Kubernetes, I stumbled upon an issue where a namespace got stuck in the Terminating state and just refused to delete.

    I use minikube to run Kubernetes locally, but you can use the following steps and commands in any Kubernetes or OpenShift environment.

  • How to Fix "Unacceptable TLS certificate" Error in Linux?

    When it comes to SSL/TLS certificates, you may come across a variety of issues, some related to the browser or a problem in a website’s back-end.

    One such error is “Unacceptable TLS certificate” in Linux.

    Unfortunately, there’s no “one-solves-it-all’ answer to this. However, there are some potential solutions that you can try, and here, I plan to highlight those for you.

  • How to Add Linux Host to Nagios Ubuntu Server – Part 2

    This article assumes that you already have Nagios installed on your Ubuntu system. If not, follow the Part 1 tutorial guide article which is succeeded by this one.

  • How To Install Podman on Linux Mint 20 - idroot

    In this tutorial, we will show you how to install Podman on Linux Mint 20. For those of you who didn’t know, Podman (POD Manager) is a tool for managing OCI containers and pods. It’s an open-source project that can be used in most of the Linux distributions that use Demon-less container Engines. It exposes the same command-line interface as Docker but runs containers unprivileged by default.

    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 a PHP 8.1 on a Linux Mint 20 (Ulyana).

  • Create a data stream with Amazon Kinesis | Red Hat Developer

    Streaming data is key to many modern applications. This tutorial walks you through setting up a data stream using Amazon Kinesis and Node.js.

  • Getting started with Arduino

    The Arduino is an advanced form of a microcontroller which is comparatively easier to work on. Similarly, it is a kind of plug and play device and is much easier for the beginners to learn how to make different projects related to embedded systems. Arduino has different types of microcontroller boards having different specifications and the most common Arduino board is the Arduino Uno board. All the Arduino boards can be configured using the Arduino IDE software. This discourse explains how to use the Arduino Uno board

  • seife's assorted rants: dracut: fix hibernate after fresh install

    Just for fun, I finally installed a fresh Tumbleweed on one of my machines to actually find out if I'm missing out on new features that are masked by just always updating the old installation.

    One feature that I had missed was, that hibernation was no longer working. Or, to be more exact, hibernation was working, but resume was not. Investigating the issue, I found that dracut's "resume" module was not included in the initramfs, which in turn lead to initramfs not even trying to resume.

    The dracut mechanism has some logic to actually find out if suspend and resume is configured, and when it decides it is not, it will just skip adding the "useless" resume module.

    Unfortunately, the check is faulty IMHO. It checks, if the resume device is configured in the kernel, and if it is, it adds the module to dracut. The problem is, that this kernel config is written by the resume code in the initrd... so during installation this is not the case, and as a result the module is not added to initrd, which leads to the config not being set on next reboot...

  • Install/Upgrade XanMod Kernel LTS on Rocky Linux 8 - LinuxCapable

    XanMod is a free, open-source general-purpose Linux Kernel alternative to the stock kernel that is on Rocky Linux. It features custom settings and new features and is built to provide a responsive and smooth desktop experience, especially for new hardware.

    Installing a third-party kernel may be for you for users seeking to have their system kernel up to date and not wanting to install kernels or use the testing/unstable repositories manually.

    Currently, the XanMod LTS kernel is supported and not the latest bleeding-edge using the rmnscnce/kernel-xanmod.

  • Install/Upgrade MakeMKV on Debian 11 Bullseye - LinuxCapable

    MakeMKV is a free, open-source tool that can convert video clips from DVDs and Blu-rays, which are usually encrypted. The output will have most information preserved but not changed in any way; it’s perfect for people who want their media without hassle or headache caused by software limitations like those found with some other transcoder apps.

    In the following tutorial, you will learn how to install or upgrade to the latest version of MakeMKV on Debian 11 Bullseye using a recommended repository by the MakeMKV team to provide the most up-to-date version.

  • Install Podman on Debian 11 - Unix / Linux the admins Tutorials

    Podman is an alternative to Docker that is backed by Red Hat and IBM. The open-source project has a great ease of use, which is a big draw among developers.

    Well, one of the differences is that it is not based on daemons (services in the *nix world). One of the advantages is that Docker has a single daemon that when it handles many containers grows and grows, becoming much heavier.

    This last point is where Podman wants to be a solid alternative to Docker and is where Podman bases its reason.

    As you would expect, Podman has great support for all the Linux distributions out there. This is also the case for Debian 11 where the installation is effortless.

  • Install Htop on Debian 11 Bullseye - LinuxCapable

    Htop is a free, open-source, cross-platform interactive process viewer. It is a text-mode application (for console or X terminals) and requires ncurses. The terminal UI is a great way to see what your system looks like inside, both in terms of processes and other info. It’s also completely customizable, so you can change colors or add different widgets for more visual representation!

    In the following tutorial, you will learn how to install Htop Interactive Process Viewer on Debian 11 Bullseye desktop or server.

  • 6 Linux metacharacters I love to use on the command line | Opensource.com

    Early in my Linux journey, I learned how to use the command line. It's what sets Linux apart. I could lose the graphical user interface (GUI), but it was unnecessary to rebuild the machine completely. Many Linux computers run headless, and you can accomplish all the administrative tasks on the command line. It uses many basic commands that all are familiar with—like ls, ls-l, ls-l, cd, pwd, top, and many more.

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.