Category: System

Linux (238)
Windows (383)

CentOS Kernel Upgrade and BBR Enablement Guide

Note: For OpenVZ machines, please disregard this tutorial as the kernel version cannot be changed.

Check kernel version: uname -r
Upgrade kernel: rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release- …

How to Install PCNTL

Locate the source package (inside the PHP installation source):

cd /root/php-7.2.8/ext/pcntl #Using my path as an example /usr/local/php/bin/phpize #Execute this file; it will generate configure information in the current directory ./configure –with-php-config=/usr/local/php/bin …

How to Install Composer

cd /data/download //ps this directory needs executable permission, otherwise it will throw an error. I directly modified it: chmod -R 777 download

curl -sS https://getcomposer.org/installer | /usr/local/php/bin/php

Next, copy it to the executable file directory /usr/local …

How to Configure CentOS 7 Firewall

# How to Open a Port for a Specific IP Using firewall-cmd –permanent –add-rich-rule=”rule family=”ipv4″ source address=”192.168.142.166″ port protocol=”tcp” port=”6379″ accept” # Open for a specific IP firewall-cmd –perm …

How to Fix the CredSSP Encryption Oracle Remediation Error

An authentication error has occurred, the function requested is not supported. This may be due to the CredSSP Encryption Oracle Remediation.

Run gpedit.msc Computer Configuration > Administrative Templates > System > Credentials Delegation > Encryption Oracle Remediation > Select Enabled and choose Vulnerable.
Reference: https://yq.aliyun.com/articl …

Cannot Delete Files with Linux Root Permission Fix

Cannot Delete File Even with Linux Root Privileges — How to Fix

Logged in as root user, attempting to delete a file:
rm -f root

Deletion fails:
rm: cannot remove 'root': Operation not permitted

Checking file status:

[root@xrkj-test cron]# lsattr————-e– …

CentOS 7 Partition Size Adjustment

After setting up a system, the root partition size may sometimes not meet our needs and requires resizing. After resizing, everything under /home will be lost, so be sure to back up. df -h #Check system partition sizes. Here, the / root partition is 50G and /home is 66G. For this experiment, we will resize the / partition to 60G …

How to Extract and Compress Using 7zip on Windows Command Line

We recommend using the open-source, powerful, and lightweight portable software 7z.exe to achieve this functionality. Despite its name, 7z can not only decompress 7z files but also extract zip archives.

7z is highly capable, free, and open-source. Download the installation file from the official website, such as 7z1604-x64.exe. After installation, simply use …