WebApr 30, 2012 · chkconfig --add adds a new service to the list of services managed by chkconfig. I believe --add is an implicit on. chkconfig on sets the runlevel for the service. That said, I tend to use chkconfig -add for adding new services to a system, but ntsysv to manage them (on RHEL-like systems). Share Improve this answer Follow Webchkconfig has five distinct functions: adding new services for management, removing services from management, listing the current startup information for services, changing …
chkconfig/chkconfig.spec at main · fedora-sysv/chkconfig · GitHub
WebCheck if you have the httpd init script in the /etc/rc.d directory. If yes, then you can just run the following command which enables the httpd service to start at boot time. chkconfig --level 345 httpd on. If you don't have the init script, then just append the /etc/rc.local file with apachectl -k start (the command to start Apache). WebDec 6, 2024 · 2.chkconfig --list. 可以使用该命令查找特定的服务是否安装(前提是你指定该服务运行的名称),比如MySQL,键入命令:chkconfig --list mysql. 3.ps aux. 4.进入init.d目录查看. 5.netstat -lntp. 6.ntsysv. 其中*号表示开机启动。如果想让某个服务开机启动,可以使用chkconfig mysql on。 north carolina power station vandalism
Linux Default Services Which Are Enabled at Boot - nixCraft
Webchkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the … WebWhen chkconfig is run on a system that uses systemd as its init system, chkconfig will forward commands to systemd if a systemd service file exists for it. This switch turns off the redirection to systemd and only operates on the symlinks in /etc/rc [0-6].d. This option is only valid when on, off, or no command (to check enablement) is passed ... Webntsysv is a simple interface for configuring runlevel services which are also configurable through chkconfig. By default, it configures runlevels 2, 3, 4, and 5. If the user would like … north carolina precinct official leave