Posts

Showing posts from August, 2020

ntfsfix fix NTFS not mount from Linux

Today, I have not mount usb external USB into Fedora 32. External USB drive is NTFS formatted.  I will installed ntfs-3g  package for fedora as below: sudo dnf install ntfs-3g ntfsprogs The first, check your device address , you run this command as below sudo fdisk -l # or lsblk -f The output device is /dev/sd XY (where X and Y are the letter of the drive's device and Y is the partition number).  So in my case /dev/sdc1 is usb  drive external NTFS formatted. you will replace "device name" with your windows partition ( ex: /dev/sdb1 or /dev/sdd1 .v.v) How to do fix it Now, Open your terminal and run command to fix a Corrupted Windows NTFS Filesystem with Linux [HuuPV@DevopsRoles ~]$ sudo ntfsfix /dev/sdc1 Mounting volume... $MFTMirr does not match $MFT (record 0). FAILED Attempting to correct errors... Processing $MFT and $MFTMirr... Reading $MFT... OK Reading $MFTMirr... OK Comparing $MFTMirr to $MFT... FAILED Correcting differences in $MFTMirr record 0...OK Processing

How to Fix the semanage command not found in Centos 8

Introduction Encountering the "semanage command not found" error in CentOS 8? Learn how to fix it by installing the necessary package. This step-by-step guide will help you resolve the issue and get back to managing SELinux policies efficiently. If you're working with SELinux (Security-Enhanced Linux ) on CentOS 8, you may come across the error `bash: semanage: command not found`. This error indicates that the `semanage` command, which is essential for managing SELinux policies, is not available on your system. In this guide, we'll walk you through the steps to fix this issue by installing the required package. By the end of this tutorial, you'll have the `semanage` command up and running on your CentOS 8 system. Understanding the Error: "semanage command not found" What is the `semanage` Command? The `semanage` command is a part of SELinux, which stands for Security-Enhanced Linux. SELinux is a security architecture integrated into the Linux kernel, pro

How to Upgrade php version on Centos 7: A Comprehensive Guide

Introduction Learn how to upgrade PHP version on CentOS 7 from PHP 7.1 to PHP 7.4 in this detailed guide. Follow our step-by-step instructions to ensure a smooth upgrade process on your CentOS 7 server. Upgrading your PHP version on CentOS 7 is essential for ensuring that your server is secure, efficient, and compatible with the latest web applications. In this guide, we will walk you through the process of upgrading from PHP 7.1 to PHP 7.4. Whether you're running a personal blog, a business website, or a complex application, keeping your PHP version up to date is crucial. This tutorial will cover everything you need to know, from checking your current PHP version to enabling the Remi repository and updating your server. Why Upgrade PHP on CentOS 7? PHP is a server-side scripting language that powers a large percentage of websites on the internet. Each new version of PHP brings improvements in performance, security, and features. By upgrading to PHP 7.4, you can take advantage of