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

How to shut down the service of chkconfig and start it up automatically

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

What this article shares with you is about how chkconfig shuts down the service and starts itself on boot. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

[root@zhangr] # chkconfig-- level 2345 iptables off

[root@zhangr] # chkconfig-- list

NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Acpid 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Avahi-dnsconfd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Bluetooth 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Capi 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Conman 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off

Crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Dc_client 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Dc_server 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Dnsmasq 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Dovecot 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Dund 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Firstboot 0:off 1:off 2:off 3:on 4:off 5:on 6:off

Gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Hidd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Hplip 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Innd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Ipmi 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Ipmievd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Irda 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Irqbalance 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Isdn 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Kdump 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Kudzu 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Lisa 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Lm_sensors 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off

Mcstrans 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Mdmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Messagebus 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Microcode_ctl 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Multipathd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Mysqld 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Named 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Netplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Network 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Nscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Openibd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Pand 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Pcscd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Postgresql 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Psacct 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Rawdevices 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Readahead_early 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Readahead_later 0:off 1:off 2:off 3:off 4:off 5:on 6:off

Restorecond 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Rhnsd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Rpcsvcgssd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Rwhod 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Setroubleshoot 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Smartd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Smb 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Spamassassin 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Squid 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Sysstat 0:off 1:off 2:on 3:on 4:off 5:on 6:off

Tux 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Vsftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Wdaemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Winbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Yum-updatesd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Xinetd based services:

Chargen-dgram: off

Chargen-stream: off

Cvs: off

Daytime-dgram: off

Daytime-stream: off

Discard-dgram: off

Discard-stream: off

Echo-dgram: off

Echo-stream: off

Eklogin: off

Ekrb5-telnet: off

Gssftp: off

Klogin: off

Krb5-telnet: off

Kshell: off

Ktalk: off

Rmcp: off

Rsync: off

Tcpmux-server: off

Tftp: off

Time-dgram: off

Time-stream: off

This is how chkconfig shuts down the service and starts itself on boot. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please 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: 268

*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