Posts

Install Docker on Linux Mint 22: 5 Easy Steps and Mistakes

Image
To install Docker on Linux Mint 22 you use Docker's Ubuntu repository, because Mint 22 is built on Ubuntu 24.04 "noble". The one thing that differs from an Ubuntu install is the release name in the repository line. These steps follow the Docker Engine install docs for Ubuntu and were run on 20 November 2026 in the Linux Mint team's linuxmintd/mint22-amd64 container image (Mint 22 "wilma" repositories on an Ubuntu 24.04.5 base), in privileged mode. That gave Docker CE 29.10.0, Compose v5.8.0 and buildx v0.39.1. A note on Docker's position: the install page says that installing on derivative distributions such as Linux Mint "is not officially supported (though it may work)". It worked in the lab, but keep that in mind if you need vendor support. Contents Step 1: remove conflicting packages before you install Docker on Linux Mint Step 2: add the repository to install Docker on Linux Mint Step 3: install Docker on Linux Mint with apt Step 4: st...

Install Webmin GUI Server on AlmaLinux: 5 Easy Steps

Image
To install Webmin GUI server on AlmaLinux you add the Perl dependencies, install the Webmin package, and open port 10000. The original version of this post listed those steps without showing that they work. This rewrite repeats them in an AlmaLinux 9.8 container and found one step that fails (the Perl dependency list), one warning (a missing signature key) and a few claims that were wrong or not needed. Version in the lab: Webmin 2.670. What the lab was, so you can judge the results: a plain AlmaLinux 9.8 container without systemd and without firewalld. That means the firewall step and the systemd service were not tested here, and Webmin was started with its own script, /etc/webmin/start . Everything else, from the package installation to the login, was run. Contents Step 1: dependencies to install Webmin GUI server Step 2: download the package and install Webmin GUI server Step 3: start Webmin and check the port after you install Webmin GUI server Step 4: open the firewall port an...

How to use Windows to Remotely Control Linux

Introduction Learn how to use Windows to remotely control Linux systems with our comprehensive guide. From basic steps to advanced techniques, we cover everything you need to know for seamless remote management. Remote controlling Linux from a Windows machine can greatly enhance your productivity and streamline your workflow. Whether you're managing servers or simply accessing a Linux desktop, Windows provides various tools to make this process easy and efficient. In this guide, we will explore different methods to use Windows to remotely control Linux, starting with the basics and moving to more advanced techniques. Remote Control Basics 1. Using SSH to Connect to Linux Secure Shell (SSH) is one of the most common methods for remote access to Linux systems. It allows secure data communication and remote command execution. 1.1 Installing an SSH Client on Windows To use SSH from Windows, you need an SSH client. The most popular option is PuTTY . Download and install PuTTY. Open Pu...

What is a Docker Container?

Image
Introduction In the ever-evolving world of software development, Docker containers have emerged as a game-changer. They offer a streamlined, efficient, and scalable way to package and distribute applications. But what exactly is a Docker container? This article will delve into the fundamentals, benefits, and advanced uses of Docker containers, providing a clear understanding of why they are essential in modern development. Understanding Docker Containers What is a Docker Container? A Docker container is a lightweight, standalone, and executable software package that includes everything needed to run a piece of software, including the code, runtime, libraries, and system settings. Containers are isolated from each other and the host system, ensuring that applications run the same, regardless of where they are deployed. Key Features of Docker Containers Portability: Containers can run on any system that supports Docker, ensuring consistency across multiple environments. Efficiency: Th...

Partition Type vs Filesystem Type: 6 Proven Linux Checks

Image
"Partition type" and "filesystem type" sound like the same thing, and most guides mix them up. They are not. The partition type is a label in the partition table that says what a partition is meant for (Linux data, EFI system, swap). The filesystem type is what is actually written inside it (ext4, xfs, btrfs, vfat). A partition labelled "Linux filesystem" can hold any of them, or nothing at all. I created four partitions on a spare disk in a Debian 13 VM, formatted them as ext4, xfs, btrfs and vfat, and ran every command from the old version of this post to show which one answers which question. Real lab output: the partition type is the same, the filesystems are not. Contents The test disk fdisk -l shows the partition type, not the filesystem parted -l shows both lsblk -f and blkid: the filesystem type of every partition file -s: a second opinion Mounted filesystems: df -T, findmnt and a stat trap Empty disks and wrong guesses Which command for which ...

Find All Files Containing a Specific Text String on Linux

Introduction Learn how to find all files containing a specific text string on Linux using various methods, including grep , find , xargs , and more. This comprehensive guide covers basic to advanced techniques, ensuring you can efficiently search for text within files. Finding files that contain a specific text string on Linux can be an essential task for troubleshooting, development, or system administration. Whether you're looking for configuration settings, error messages, or code snippets, knowing how to search through files efficiently is crucial. This article will cover several methods to find files containing a specific text string on Linux, ranging from simple command-line tools to more advanced techniques. Using grep Command Basic grep Usage The grep command is the most straightforward tool for searching text within files. Here's how to use it: grep 'search_string' filename This command will search for search_string within filename . Searching in Multiple...

CVE-2024-4879 And CVE-2024-5217 (ServiceNow RCE) Exploitation In A Global Reconnaissance Campaign

Introduction In the ever-evolving landscape of cybersecurity, the discovery and exploitation of vulnerabilities are inevitable. Recently, two critical vulnerabilities, CVE-2024-4879 and CVE-2024-5217, were identified in the widely used ServiceNow platform. These vulnerabilities have been leveraged in a global reconnaissance campaign, posing significant risks to organizations worldwide. This article delves into the details of these vulnerabilities, their exploitation, and the steps necessary to mitigate their impact. Understanding CVE-2024-4879 and CVE-2024-5217 What is CVE-2024-4879? CVE-2024-4879 is a remote code execution (RCE) vulnerability in the ServiceNow platform. It allows attackers to execute arbitrary code on the affected system, potentially leading to a complete system compromise. Key Features: Type : Remote Code Execution (RCE) Severity : Critical Affected Versions : ServiceNow versions prior to the latest patch What is CVE-2024-5217? CVE-2024-5217 is another critical RCE v...

Create Device Files with mknod: 8 Proven Examples, Mistakes

Image
mknod creates device files and other special files: character devices, block devices and named pipes (FIFOs). A device file is only a name plus two numbers, the major and minor number, that tell the kernel which driver to call. The 2024 version of this post used made-up major numbers and a loop script with a typo, and said nothing about what actually happens when you open such a file. I ran every example on 22 November 2026 on a Debian 13 virtual machine (kernel 6.12.115, GNU coreutils 9.7 mknod ), as root and as a normal user, and kept the errors. Contents mknod syntax for device files Find the major and minor numbers first Device files that work: copies of /dev/null and /dev/zero Device files with no driver behind them Block device files are raw disk access Device files as a normal user, and FIFOs Device files in /dev do not survive a reboot mknod syntax for device files mknod [OPTION]... NAME TYPE [MAJOR MINOR] TYPE is c (character device), b (block device) or p (FIFO, no ...