Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the chkconfig command of linux to check and set up various services of the system

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of linux chkconfig command to check and set up a variety of services of the system, the article is very detailed, has a certain reference value, interested friends must read it!

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.

Syntax format: chkconfig [parameters]

Common parameters:

-- add adds the specified system service so that the chkconfig instruction can manage it, and at the same time adds related data to the narrative file started by the system-- del deletes the specified system service, which 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.

Reference example

List all the commands that chkconfig knows:

[root@linuxcool ~] # chkconfig-list

Activate the service:

[root@linuxcool ~] # chkconfig telnet on

Shut down the service:

[root@linuxcool ~] # chkconfig telnet off

Add httpd services:

[root@linuxcool] # chkconfig-- add httpd

Delete the httpd service:

[root@linuxcool ~] # chkconfig-del httpd above is to check and set up all the contents of various services of the system using the chkconfig command of linux. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report