Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  1. The magic one-line ImageMagick 7 AppImage installer

    To install ImageMagick 7 on any distribution that supports AppImage, copy and paste this one-line script into your favourite shell:

  2. PAM SSH agent authentication (with Ansible)

    Specifically for use with Ansible, I’m known to recommend adding NOPASSWD: ALL to the sudoers entry and be done with it. No mucking about with sudo passwords (in essence users’ login passwords), no -K option, no passwords in clear-text files because people are unwilling to use Ansible vault, etc. It makes lives easier all around, and yes, I am aware that there are people who get the screaming heebie-jeebies when I say NOPASSWD:. So be it.

    There is an alternative to authenticating use of sudo using SSH agent forwarding instead of login passwords. If you’re new to agent forwarding, I recommend you read the Illustrated Guide to SSH Agent Forwarding, which explains the concept and its pitfalls very well.

  3. Jenkins

    In this article, you will learn more about how Jenkins’s deployment stages and pipeline tools can be used to help automate software development. You will learn how to leverage Jenkins’s deployment phases and Pipeline features to help automate your software development. You’ll leave with a better grasp on what a Jenkins Pipeline is and you’ll know how to set up Jenkins and the Pipeline plug-in.

  4. So long and thanks for all the disks!

    Free (as in libre) was a tradition that would continue until the very end of the disk series: one of the last floppies compiled contained a version of the touch command. Fish helped bring about wider knowledge of open source, GNU, Unix and its related command line tools to the Amiga user base, preparing a generation of young computer enthusiasts not only for the systems they might encounter at universities and workplaces but also for the coming of Linux. Thus, he contributed to building a foundation for the continued use and growth of free software after both the demise of his disk series and the Amiga platform, a legacy of which the effects are still highly tangible.

    Fish would go on to release a thousand disks before switching to distribution on CD-ROMs in 1994. However, the then imminent arrival of dial-up Internet (giving us commoners access to Aminet) meant that only a few of these CD:s were made. Though he and his disk series will live on in memory for as long as there are Amiga users, his real achievement was bringing the joy and philosophy of free software to a world-wide user base outside academia, long before free software itself helped build the Internet that made his disks obsolete.

    Here's to you, Fred, 35 years later. So long and thanks for all the disks!

  5. I wish systemd logged information about the source of "transactions"

    Modern Linux doesn't work this way, especially with systemd involved. Systemd has a D-Bus interface that people can use, there's hardware events that may trigger a reboot, there are various programs that may decide to ask systemd to reboot the system, and under some circumstances systemd itself can decide that a particular, harmless looking process failure or 'systemctl' transaction actually will trigger a reboot through some weird chain of dependencies and systemd unit settings. These days, it's entirely possible to have a system go through an orderly shutdown and reboot with no clues in the logs as to what actually did it or why it happened.

    However, systemd also has all of the information it needs to log a summary of this. Every time systemd starts a "transaction" (a set of changes to units), it knows what the starting request is and generally who asked for it (and how). It could routinely log this, which would make it much easier to trace back mysterious events later.

  6. How to Recover Deleted Files in Linux

    Losing data is one of the most unsettling and harrowing experiences that any user can go through. The prospect of not ever finding precious data once it is deleted or lost is what usually inspires anxiety and leaves users helpless. Thankfully, there are a couple of tools that you can use to recover deleted files on your Linux machines. We have tried out a few data recovery tools that can help you get back your deleted files and one that stood out among the rest. This is the TestDisk data recovery tool.

    TestDisk is an opensource and powerful data recovery tool that, apart from recovering your data, rebuilds and recovers boot partitions and fixes partition tables. It recovers deleted files from filesystems such as FAT, exFAT ext3, ext4, and NTFS to mention just a few, and copies them to another location. TestDisk is a command-line data recovery tool, and this is one of the attributes that sets it apart from other data recovery tools.

    In this guide, we will demonstrate how you can recover deleted files in Linux using the Test disk utility tool. We will demonstrate how TestDisk can recover deleted data from a removable USB drive in Ubuntu 20.04.

  7. How to Install Gtop System Monitoring Tool in Linux

    System monitoring is an important aspect of Linux administration as it helps a Linux user or administrator identify and later investigate the performance statuses of various operating system software and hardware elements related to the system’s disk usage, CPU utilization, and main memory consumption.

    Gtop is an ideal candidate for Linux system monitoring due to its rich and graphical monitoring dashboard/interface. Its graphical display accounts for the operating system’s disk usage, CPU, and main memory info. Gtop’s visual layout also projects running processes statistics like how much resource is being utilized or overused.

  8. How to install Python 3.10 on Debian 11? - Unixcop the Unix / Linux the admins deams

    Hello friends. In this rather short post, we will help you to install Python 3.10 on Debian 11.

    Debian 11 has Python, do I have to upgrade?

    The answer to this question depends on the needs of each user. Some users are developers in this language and therefore need to take advantage of the latest features of this; On the other hand, there are also the testers who with their expertise help the growth of the language and the applications that use it.

    There is also a third group more focused on server administration. These are more careful at the moment of making any new installation, but they can also be forced to instate it in favor of some scripts, libraries, or programs that require it.

    On the opposite side are the desktop users who are not forced to do this. If you are an occasional system user or do not belong to any of this group then it is not strictly necessary leaving the decision up to you,

    So, let’s go for it. The process is fast and secure.

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.