Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos

  • GNU Linux Debian 10 – during upgrade: pigz: abort: write error on (No space left on device)

    this simply means: no space left on /boot device (too many old kernels there)

    the /boot partition is currently per default only 256MBytes small and fills up fast, when there are no removal of old kernels.

  •   

  • Excellent Free Tutorials to Learn OpenCL - LinuxLinks

    OpenCL (Open Computing Language) is a framework for writing programs that execute across heterogeneous platforms consisting of central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), field-programmable gate arrays (FPGAs) and other processors or hardware accelerators.

    OpenCL greatly improves the speed and responsiveness of a wide spectrum of applications in numerous market categories including professional creative tools, scientific and medical software, vision processing, and neural network training and inferencing.

    The framework defines a language to write “kernels” in. These kernels are the functions which are to run on the different compute devices.

    OpenCL is an open standard maintained by the non-profit technology consortium Khronos Group.

  • How to Use Git and Git Workflows – a Practical Guide

    Everyone says you should learn Git—and you should—but let's be honest: Git is kind of hard.

    Even almost ten years into my software development career, I am still learning about the underlying Git fundamentals and how to use Git more effectively.

    It wasn't too long ago that I realized I had a fundamental misunderstanding of a key command I'd used countless times.

    Like many other areas in programming, I believe the best way to learn is to just start doing.

  •  

  • Install Libreoffice 7.1.2 on Ubuntu / LinuxMint

    This tutorial will be helpful for beginners to install LibreOffice 7.1.2 on Ubuntu 20.04, Ubuntu 18.04, and LinuxMint 20.1.

    LibreOffice released the newer and 2nd version in the 7 series as 7.1.2   and it comes with new features and bug fixes and program enhancements.

    All users are requested to update to this version as soon as possible.

  •   

  • Screenly: Digital Sign Solution for Raspberry Pi (Tutorial)

    Screenly OSE is an, open source, digital sign solution that is purpose built for the Raspberry Pi. This can come in handy in any situation where people gather, business, shop, doctor’s waiting room, a church or a community center to name a few. Screenly OSE isn’t the only solution to accomplish this but it is arguably the best solution to accomplish this, or at the very minimum, the cleanest and best polish option I have ever used.

    Bottom Line Up Front: If you have any reason to provide information to people in a commercial, business or community center type situation, this may be a perfect fit for you. If you have any digital pictures and would like to turn a monitor or TV into a picture frame, even home movies, I suppose (that has the potential to be obnoxious), this is a perfect solution for you. If you are looking for a useful, first project, for the Raspberry Pi with substantial application, this is most certainly a perfect project upon which to cut your Single Board Computer teeth.

    This is “Front Page Linux” so, number one, you need a Linux machine to start. I use openSUSE so I will gear this, somewhat, in that direction but this will be general enough that you should be able to accomplish this on any distribution.

  • Tcpdump cheat sheet with examples

    When it comes to network troubleshooting and monitoring, what types of tools you are using make a world of difference. While required tools may vary depending on the types of network problems you are dealing with, there are a set of essential tools that every network administrator must be familiar with, and tcpdump is definitely one of them.

    tcpdump is a command-line tool packet sniffing that allows you to capture network packets based on packet filtering rules, interpret captured packet content, and display the result in a human-readable format. The main power of tcpdump comes from its (1) flexible packet filtering rules and (2) versatile protocol dissection capability. Although GUI-based Wireshark provides equally powerful filtering/dissecting capabilities via a more user-friendly interface, its relatively high memory footprint (for buffering packets) and GUI-based operations make Wireshark unsuitable when you are troubleshooting directly from remote headless servers.

  •  

  • Russell Coker: Censoring Images

    A client asked me to develop a system for “censoring” images from an automatic camera. The situation is that we have a camera taking regular photos from a fixed location which includes part of someone else’s property. So my client made a JPEG with some black rectangles in the sections that need to be covered. The first thing I needed to do was convert the JPEG to a PNG with transparency for the sections that aren’t to be covered.

    To convert it I loaded the JPEG in the GIMP and went to the Layer->Transparency->Add Alpha Channel menu to enabled the Alpha channel. Then I selected the “Bucket Fill tool” and used “Mode Erase” and “Fill by Composite” and then clicked on the background (the part of the JPEG that was white) to make it transparent. Then I exported it to PNG.

  •   

  • Software Management - RHEL/CentOS

    No matter your use for Linux, be it CentOS or Ubuntu, you will need to manage applications and services. I will cover the ways you can manage your software on a CentOS system, the next article will cover similar management on an Ubuntu system.

    A lot of information will be covered in this article, so be sure you understand how it all works individually and together.

  •   

  • The 7 Best Ways to Batch Rename Files in Linux

    Linux users can easily rename files using the mv command. However, the problem arises when you have multiple filenames that you want to rename. Changing the name of every file one by one can be a frustrating task for anyone.

    Luckily, there are several ways to batch rename files in Linux. We'll discuss the simplest and the most effective methods of doing the same in the subsequent sections.

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.