How to install BTRFS on a Debian Linux 12/11
Btrfs, which stands for "Butter FS" or "B-tree FS," is a modern Linux file system. It was developed to overcome the limitations of older file systems like ext4 or ext3. Btrfs is an excellent choice for efficient storage management on multiple Hard Disk Drivers. It supports Linux file systems with snapshots, subvolumes, and built-in RAID-like capabilities that provide robust data protection. It is designed to handle huge file systems and file sizes. Btrfs incorporates checksumming and COW (Copy-on-write), making it more resilient to data corruption. The COW feature means changes are written to new locations instead of overwriting existing data, enhancing data protection and enabling snapshots. After installation, let us see how to install Btrfs support for Debian Linux 11 or 12 using the CLI.
Why am I using BTRFS on an existing Debian Linux system?
In my case, the EC2 VM AMI is configured to use ext4 by default at AWS. However, I had to make changes since I needed to store files using EBS (Elastic Block Store) and Python code expected to see BTRFS. Hence, this quick tutorial.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install BTRFS on a Debian Linux 12/11 appeared first on nixCraft.
2024-02-14T06:10:00Z
2024-02-14T06:10:00Z
Vivek Gite
How to install GPG (gnupg2) on a Debian Linux to fix gpg command not found error
GnuPG2 (or GPG2) is an open-source and free tool that implements the OpenPGP standard. Its primary purpose is to encrypt your sensitive information to protect it from unauthorized access. It also allows you to create digital signatures, guaranteeing that the data hasn't been tampered with while in transit. Many newly created Debian 11/12 cloud VMs and images may not have the gpg/gpg2 command installed. Thus, you will get an error that reads "-bash: gpg: command not found." Here is how to fix this error and install gnupg2 on a Debian Linux 11 or 12. Further, you will learn how to use the gpg command.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install GPG (gnupg2) on a Debian Linux to fix gpg command not found error appeared first on nixCraft.
2024-02-13T09:38:54Z
2024-02-13T09:38:54Z
Vivek Gite
How to enable contrib repo on Debian Linux 10/11/12
Sometimes, when you try to install specific Debian Linux packages, you might encounter an error message that reads:
Unable to locate package pkg-name-here
In many cases, the required package might already be present in the remote download repos. It would be best to have an additional repository, such as contrib, which adds extra packages to the core Debian Linux system. To enable and use the contrib repository in Debian Linux version 10/11/12 or newer versions, follow the instructions below.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to enable contrib repo on Debian Linux 10/11/12 appeared first on nixCraft.
2023-12-24T09:18:39Z
2023-12-24T09:18:39Z
Vivek Gite
SSH WARNING: UNPROTECTED PRIVATE KEY FILE! Error and Solution
{Updated} Are you getting, ' WARNING: UNPROTECTED PRIVATE KEY FILE!' when try to use the ssh command under Linux, macOS or BSD? Let us see how I fixed this problem and log in using the ssh command.The post SSH WARNING: UNPROTECTED PRIVATE KEY FILE! Error and Solution appeared first on nixCraft.
2023-11-17T10:31:00Z
2023-11-17T10:31:00Z
Vivek Gite
How to open DHCP port using UFW in Linux
The Uncomplicated Firewall (UFW) needs to be configured to allow traffic on UDP ports 67 and 68, regardless of whether the Dynamic Host Configuration Protocol (DHCP) server is local or remote. Additionally, it may be necessary to open both TCP and UDP port 53, which are used for Domain Name Service (DNS). In small business and home environments, typically, both DNS and DHCP services come from a single device. Hence, it would be best if you opened both DHCP and DNS ports using the ufw command.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to open DHCP port using UFW in Linux appeared first on nixCraft.
2023-10-25T10:52:11Z
2023-10-25T10:52:11Z
Vivek Gite
How to merge all PDF files into one PDF in Linux
I recently had to submit multiple PDF files for government work, but the web form only allowed for the uploading of a single file. This meant that I had to merge the PDF files into one on Linux. To do this, I used a command-line tool called pdfunite, which is a Portable Document Format (PDF) page merger. Let us see how to install and use the pdfunite in Linux.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to merge all PDF files into one PDF in Linux appeared first on nixCraft.
2023-10-24T20:31:44Z
2023-10-24T20:31:44Z
Vivek Gite
How to list package files with dnf in Linux (RHEL, CentOS, Rocky, Fedora, and Alma Linux)
If you’re using RHEL, CentOS, Rocky, Fedora, or Alma Linux, you may encounter situations where you must list files in a package before installing it. Similarly, there might be instances where you need to locate a specific configuration file after installing the package. In this guide, I’ll provide a quick tip for developers and sysadmins […]
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to list package files with dnf in Linux (RHEL, CentOS, Rocky, Fedora, and Alma Linux) appeared first on nixCraft.
2023-10-23T11:03:32Z
2023-10-23T11:03:32Z
Vivek Gite
How to install Perl in Fedora Linux
I am migrating an old Perl project from an unsupported OS to Fedora Linux 38. However, I discovered that Perl is not installed by default, while Python 3 is. This seems ridiculous. Anyway, here is how to install Perl in Fedora Linux including latest version of mod_perl with Apache (HTTPD) and get on with your life.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install Perl in Fedora Linux appeared first on nixCraft.
2023-10-22T16:25:26Z
2023-10-22T16:25:26Z
Vivek Gite
How to fix “Error: Can’t open display: (null)” with ssh and xclip command in headless mode
When you try to use the xclip command over the ssh-based session to copy and paste data, you will get the following message on screen:
Error: Can't open display: (null)
Here is how to fix this error by editing the ssh client and OpenSSH (SSHD server) configuration file.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to fix “Error: Can’t open display: (null)” with ssh and xclip command in headless mode appeared first on nixCraft.
2023-10-08T20:01:52Z
2023-10-08T20:01:52Z
Vivek Gite
How to block AI Crawler Bots using robots.txt file
Are you a content creator or a blog author who generates unique, high-quality content for a living? Have you noticed that generative AI platforms like OpenAI or CCBot use your content to train their algorithms without your consent? Don't worry! You can block these AI crawlers from accessing your website or blog by using the robots.txt file.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to block AI Crawler Bots using robots.txt file appeared first on nixCraft.
2023-09-29T20:40:17Z
2023-09-29T20:40:17Z
Vivek Gite
Find files that do not have any owners or do not belong to any user under Linux/UNIX
{Updated} Here is a Linux, Unix, *BSD and macOS command to search the entire system for files with no group or user.The post Find files that do not have any owners or do not belong to any user under Linux/UNIX appeared first on nixCraft.
2023-09-28T22:07:00Z
2023-09-28T22:07:00Z
Vivek Gite
Microsoft's Controversial Recall Scraper is Finally Entering Public Preview
Microsoft has released a public preview of its redesigned Windows Recall feature, five months after withdrawing the original version due to security concerns. The feature will initially be available only on Qualcomm Snapdragon X Elite and Plus Copilot+ PCs running Windows Insider Dev channel build 26120.2415.
Recall, which continuously captures and indexes screenshots and text for later search, now includes mandatory encryption, opt-in activation, and Windows Hello authentication. The feature requires Secure Boot, BitLocker encryption, and attempts to automatically mask sensitive data like passwords and credit card numbers. The feature is exclusive to Copilot+ PCs equipped with neural processing units for local AI processing.
Read more of this story at Slashdot.
AMD 3D V-Cache Optimizer Driver Headlines The x86 Platform Enhancements In Linux 6.13 - Phoronix
Categories: Linux
Public developer spats put bcachefs at risk in Linux - The Register
Public developer spats put bcachefs at risk in Linux The Register
Categories: Linux
Plex's Upcoming App Redesign is a Big Swing at Going Legit
An anonymous reader shares a report: Plex is beginning to test its "newly reimagined Plex experience," which will be available first on mobile and is coming to TV platforms "very soon." Plex says the new experience has been in development for almost two years and is "designed to bring everything you love into one seamless interface." But don't worry -- while the new version of the app is currently missing some features, Plex says it will be "closing those gaps" and will keep the current app available during the preview, which will hopefully prevent a Sonos-like debacle.
A big change for the new app is redesigned navigation that more clearly delineates between media you might have on your Plex server and the company's streaming and on-demand offerings. The bottom bar has dedicated tabs for your media libraries, live TV, and on-demand movies and shows. The Watchlist, which lets you make a list of things you want to watch, has a spot at the top of the app. And artwork is shown more prominently.
Read more of this story at Slashdot.
Novel WolfsBane backdoor leveraged in Chinese attacks against Linux systems - SC Media
Categories: Linux
AMD Linux Graphics Driver Now Allows Display Support With Modern GPUs On LoongArch - Phoronix
Categories: Linux
How we built Pixel Buds Pro 2 for even better sound and comfortHow we built Pixel Buds Pro 2 for even better sound and comfortContributor, The Keyword
Learn more about how Google teams designed Pixel Buds Pro 2 for even audio with a more comfortable fit than the first generation.Learn more about how Google teams designed Pixel Buds Pro 2 for even audio with a more comfortable fit than the first generation.
Categories: Technology
How the World's Vital Undersea Data Cables Are Being Targeted
Damage to two undersea fiber-optic cables in the Baltic Sea this month points to growing vulnerability of critical submarine infrastructure, with German officials suspecting sabotage and Swedish police investigating a Chinese cargo vessel's involvement.
The incident highlights escalating risks to the global submarine cable network, which carries 99% of international telecommunications traffic through 530 cable systems spanning 850,000 miles. These garden hose-thick cables facilitate trillions in daily financial transactions and vital government communications.
Security experts warn that Russia has increased monitoring of undersea cables amid tensions over Ukraine. Taiwan reported 36 cable damages by foreign vessels since 2019, while Houthi rebels denied targeting Red Sea cables this year. Though most of the 100-plus annual cable faults are accidental, deliberate sabotage remains a concern. Repairs are costly, with new transatlantic cables running up to $250 million.
Read more of this story at Slashdot.