Common Linux Commands

1. Delete expired files in Linux find /u01/dsg/supersync/s01/ds/xdt/ -type f -name “*.xdt” -mtime +3 -delete 2. Delete expired files and log the deletions find /u01/dsg/supersync/s01/ds/xdt/ -name “*.xdt” -mtime +3 -printf “Deleting %p\n” -delete | tee deletion.log 3. Step-by-step logging service nginx start 1> /var/log/nginx/start.log 2> /var/log/nginx/start_errors.log Normal logs are recorded in start.log, and error logs … Read more

Using Linux File Locking to Solve Multi-Process Concurrency Issues

Click on the above“Embedded and Linux Matters” Select“Pin/Star Public Account”Benefits and resources delivered promptly Hello everyone, I am the Information Guy~ As the project gradually comes to a close, I am summarizing some technical points of Linux application development. Since my project is a multi-process system, it involves issues of resource sharing among processes. The … Read more

Linux Tutorial: Getting Started with Clickhouse and Maxwell (Part 2)

Introduction: In the previous chapter, we discussed the basics of Clickhouse and its deployment in a Linux environment. In this chapter, we will learn how to synchronize and update data using Maxwell. This will be explained in a straightforward manner. Please ensure that your server has MySQL database and RabbitMQ middleware installed, along with a … Read more

Rocky Linux 9.6 Has Been Officially Released!

We are pleased to announce that Rocky Linux 9.6 has been officially released. The updated installation images, container images, cloud images, and Live images are available for download from the Rocky Linux download page. Please refer to the **release notes** published in the official Rocky Linux documentation for important information including known issues and detailed … Read more

A Linux Computer Smaller than a Passport Photo: Equipped with Screen and Microphone, Highly Functional

Source: Fast Technology In today’s rapidly advancing technological era, computers are becoming smaller while their functionalities are becoming more powerful. Recently, a micro Linux computer smaller than a U.S. passport photo has attracted attention,this mini computer is not only tiny but also comes with a clear built-in screen.. It is reported that this mini computer … Read more

Practical Recovery of Linux GRUB

#Linux #GRUB Practical RecoveryFault Phenomenon and Root Cause Analysis After a system upgrade or unexpected power outage, the following prompt appears on boot: error: symbol 'grub_is_lockdown' not found. Entering rescue mode… grub rescue> This issue is common in Debian/Ubuntu system upgrade scenarios and is essentially a compatibility problem with the GRUB package or file corruption. … Read more

Installing Samba Service on Rocky Linux 9.5

To install and configure the Samba server on Rocky Linux 9.5, follow the steps below. Samba is an open-source software that implements the SMB/CIFS protocol, allowing Linux systems to share files with Windows. 1. Install Samba sudo dnf install samba samba-client samba-common -y 2. Create a Shared Directory sudo mkdir -p /srv/samba/share sudo chmod -R … Read more

Linux Tutorial: How to Use Docker Swarm for Batch Deployment of Container Services

Introduction: Previously, we discussed how to use Docker Compose to batch deploy multiple container services, which is suitable for building small to medium-sized services. However, for larger applications, cluster deployment becomes very important. This time, I will explain how to deploy container applications using Docker Swarm clusters. 1. What is Docker Swarm Docker Swarm is … Read more

Linux Foundation Launches FAIR Package Manager to Regulate Internal Disputes in WordPress

Introduction: To stabilize the WordPress technology ecosystem, the Linux Foundation steps in. This Friday, the renowned Linux Foundation introduced a new method for distributing WordPress update plugins that are not controlled by any single party, aiming to “stabilize the WordPress ecosystem” after months of internal conflict. The FAIR Package Manager project is a response to … Read more

How to Choose the Right ISO Image for Linux Installation (CentOS Example)

When installing a Linux system, selecting the appropriate ISO image is crucial, as it directly affects the user experience and performance after installation. Today, we will take CentOS 7 as an example to explore the characteristics and suitable scenarios of different types of ISO images such as Minimal, DVD, KDE, LiveCD, GnomeLive, Everything, and NetInstall, … Read more