Efficient Management Tool for Linux Services: systemctl

Efficient Management Tool for Linux Services: systemctl

systemctl is a control tool for the system and service manager systemd, used to control the system and service manager of systemd. It is the primary tool for managing services in modern Linux distributions. In the Linux ecosystem, Systemd has been deployed in most standard Linux distributions, with only a few distributions yet to adopt … Read more

Modifying MAC Address on Embedded Linux Network Interface

Modifying MAC Address on Embedded Linux Network Interface

Hello everyone, I am the Intelligence Guy~ Modifying the MAC address is a common development requirement in network management and privacy protection. 1. Why Change the MAC Address? For example, when we replace a damaged network card, we need to restore the original MAC address to maintain IP allocation, firewall policies, and device authentication; there … Read more

Setting Up Custom Programs as Services for Automatic Startup in Linux

Setting Up Custom Programs as Services for Automatic Startup in Linux

There are many ways to set custom programs to start automatically on boot in Linux systems. The method described in this article is to set the program as a service for automatic startup.Create a new hello.service file in the /lib/systemd/system directory. touch /lib/systemd/system/hello.service vim /lib/systemd/system/hello.service [Unit] Description=Hello Service [Service] Type=simple ExecStart=/usr/bin/hello.sh SuccessExitStatus=2 [Install] WantedBy=multi-user.target Note … Read more

Essential Linux Service Management Every Sysadmin Should Know!

Essential Linux Service Management Every Sysadmin Should Know!

☞ The course by Liang Xu has completely exploded! ☜ Service management in Linux that every sysadmin must know! Introduction In <span>Linux</span>, whenever you install any package with services and daemons, the system will by default add the initialization and <span>systemd</span> scripts for these services, but they are not enabled at this point. We need … Read more

Quick Deployment of Single Node Single Disk Architecture MinIO on Linux

Quick Deployment of Single Node Single Disk Architecture MinIO on Linux

Download MinIO Server Files This step describes how to deploy MinIO in a single node single disk (SNSD) configuration for early development and evaluation. The SNSD deployment does not provide any additional reliability or availability beyond what is offered by the underlying storage volume implementation (RAID, LVM, ZFS, etc.). The SNSD deployment uses a zero-parity … Read more

How to Execute Commands or Scripts at Reboot or Startup in Linux?

How to Execute Commands or Scripts at Reboot or Startup in Linux?

In the world of Linux, mastering the skill of executing commands or scripts during system reboot or startup is like possessing a magical key that opens the door to automated operations🔑. Whether it’s for system initialization settings, starting specific services, or performing data backups, this method allows for efficient automation. This article will take you … Read more

Essential for Linux Beginners! systemctl Command: Easily Manage Services and System Status

Essential for Linux Beginners! systemctl Command: Easily Manage Services and System Status

In Linux systems, service management and system status control are daily tasks for system administrators. The systemctl command is the control tool for the Systemd system, used to manage system services and system status. Today, let’s learn about this super useful command—systemctl.1. What is the systemctl Command?The systemctl command is used to manage system services … Read more

Does Linux Really Need Something as Massive as Systemd?

Does Linux Really Need Something as Massive as Systemd?

There is a question that is very similar, which is – “Why do schools require uniforms?”My son’s high school is an arts school, where most students study performing arts, broadcasting, fine arts, and other artistic majors. One advantage of such a school is that the average attractiveness of students is higher compared to regular high … Read more

Detailed Explanation of Linux Boot and Startup Process

Detailed Explanation of Linux Boot and Startup Process

(Click the public account above to quickly follow) Author: David Both, Translation: Linux China/penghuster linux.cn/article-8807-1.html If you have good articles to submit, please click → here for details Have you ever wondered how an operating system can execute applications? This article will unveil the mysteries of operating system booting and startup. Understanding the operating system … Read more

Preventing Sleep Mode When Closing a Linux Laptop

Preventing Sleep Mode When Closing a Linux Laptop

Recently, I assembled a NAS system using an old laptop and needed to configure it so that the laptop does not enter sleep mode when the lid is closed. Here are the steps I followed: Edit the logind.conf file with the following command: vi /etc/systemd/logind.conf You will see the following content: #HandlePowerKey: Action when the … Read more