In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Today, the editor will show you how to shut down the linux service. The knowledge points in the article are very detailed. Friends who feel helpful can browse the content of the article with the editor, hoping to help more friends who want to solve this problem to find the answer to the problem. Let's follow the editor to learn more about "how to shut down the service in linux".
In linux, you can use the chkconfig command to shut down services, which is used to check and set up various services of the system, with the syntax "off of the services that chkconfig needs to shut down".
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
How does linux shut down the service
The Linux chkconfig command is used to check and set up various services of the system.
This is a program developed by Red Hat following the GPL rules, which can query which system services are performed by the operating system at each execution level, including various resident services.
Grammar
Chkconfig [--add] [--del] [--list] [system Services] or chkconfig [--level] [system Services] [on/off/reset]
Parameters:
-- add adds the specified system service so that the chkconfig instruction can manage it, and at the same time adds relevant data to the narrative file started by the system.
-- del deletes the specified system service, is no longer managed by the chkconfig instruction, and deletes the relevant data in the narrative file started by the system.
-- level specifies at which execution level the read system service will be turned on or off.
Example
List all the commands that c hkconfig knows.
# chkconfig-list
Start the service.
# chkconfig telnet on / / enable the Telnet service # chkconfig-- list / / list all the services that chkconfig knows
Shut down the service
# chkconfig telnet off / / turn off the Telnet service # chkconfig-- list / / list all the services that chkconfig knows about what is the Linux system Linux is a free-to-use and free distribution UNIX-like operating system, is a POSIX-based multi-user, multi-tasking, multi-threaded and multi-CPU operating system, using Linux to run major Unix tools, applications and network protocols.
Thank you for your reading, the above is the whole content of "how to shut down the service of linux", friends who learn to learn to hurry up to operate it. I believe that the editor will certainly bring you better quality articles. Thank you for your support to the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.