Common Command Snippets in Linux

systemd systemctl # Start a service immediately systemctl start nginx.service # Stop a service immediately systemctl stop nginx.service # Restart a service systemctl restart nginx.service # Kill all child processes of a service systemctl kill nginx.service # Reload a service's configuration file systemctl reload nginx.service # Reload all modified configuration files systemctl daemon-reload # Show … Read more

Deployment Practices for Java Applications on Linux

Deployment Practices for Java Applications on Linux

In modern software development, deploying Java applications on Linux servers is a common practice. This article will detail the deployment process, best practices, and common troubleshooting solutions for Java applications in a Linux environment, helping developers efficiently complete application deployment tasks. 1. Pre-deployment Preparation 1.1 System Environment Check Before deploying a Java application, it is … Read more

Essential Interview Skills (Often Overlooked): Detailed Explanation of the Linux Boot Process

Essential Interview Skills (Often Overlooked): Detailed Explanation of the Linux Boot Process

The Linux boot process is one of the core aspects of the operating system, involving multiple stages such as hardware initialization → boot loading → kernel loading → user space initialization. Understanding the boot process not only aids in troubleshooting (e.g., system not booting, getting stuck at a certain stage) but also helps operations personnel … Read more

Detailed Explanation of the Linux Boot Process and Key Interview Points

Detailed Explanation of the Linux Boot Process and Key Interview Points

Many people can recite the rough steps of “BIOS -> GRUB -> Kernel -> init”, but when it comes to digging deeper, they often falter. Below, I will break down the Linux boot process in detail and highlight those easily overlooked but crucial core knowledge points, which are key to standing out in interviews. Overview … Read more

Linux Initialization System Technical Documentation: The Evolution from SysVinit to systemd

Linux Initialization System Technical Documentation: The Evolution from SysVinit to systemd

Linux Initialization System Technical Documentation: The Evolution from SysVinit to systemd 1. Overview The Linux initialization system is the first user-space process (PID 1) during the operating system boot process, responsible for booting the user-space environment, managing system services, and processes. This document provides a detailed overview of the development history, technical characteristics, and comparisons … Read more

How the EGT Launcher is Started on Linux

How the EGT Launcher is Started on Linux

How the EGT Launcher is Started on Linux When we create an embedded Linux boot system for Microchip MPU using buildroot, we can select the appropriate configuration file for graphical applications. The resulting Linux image will automatically start the EGT launcher, similar to the EGT graphical launcher. Next, we will analyze how to implement the … Read more

One-Click Installation of MinIO on Linux (Ubuntu Version)

One-Click Installation of MinIO on Linux (Ubuntu Version)

A CentOS version was previously released; for this version, click the link below: One-Click Installation of MinIO on Linux Preparing the Installation Package<span>MinIO installation package address:</span><span>https://dl.min.io/server/minio/release/linux-amd64/minio</span> The following script will automatically download and install the package. If the machine does not have internet access, please download the package from the link and comment out the … Read more

Example Scripts for Managing Scheduled Tasks on Linux

Example Scripts for Managing Scheduled Tasks on Linux

Recently, I have been working on modifying and migrating several scheduled task scripts, so I took the opportunity to review my knowledge of cron and systemd timers, summarizing it into a series of articles. Interested readers can click the links below to read the original articles. Thank you for your support. Detailed Explanation of cron … Read more

Technical Guide: How to Implement Auto-Start Applications on the RK3588 ELF 2 Development Board

Technical Guide: How to Implement Auto-Start Applications on the RK3588 ELF 2 Development Board

Systemd, as the default initialization system and service manager for Linux systems, significantly enhances system boot efficiency through its parallel startup, dependency management, and unified configuration mechanisms. The implementation mechanism of Systemd for auto-start requirements is as follows: 1. Service Unit Mechanism Systemd abstracts each service/script as a .service unit file, which contains declarative configurations … Read more

Tips for Shutting Down or Restarting Linux Systems

Tips for Shutting Down or Restarting Linux Systems

When shutting down or restarting a Linux system, you might think of the commands shutdown、halt、poweroff、reboot. These four commands are used for shutting down or restarting Linux systems, differing in functional objectives, execution processes, and flexibility. shutdown command The most flexible “scheduled” shutdown/restart Core Functions: Supports immediate execution as well asdelayed execution (e.g., shutdown or restart … Read more