Ubuntu does not have a boot configurator like RedHat or CentOS like ntsysv
But it also has a very convenient tool: rcconf, but it needs to be installed separately
Installation method: sudo apt-get install rcconf
After completion, enter: sudo rcconf in the command status
The running interface is similar to Red Hat's ntsysv.
You may encounter the following situations during use:
1. The interface displays garbled characters. If you log in remotely using putty, please set the language encoding to UTF-8
2. Set up/deactivate a certain service, select OK to exit, but enter the interface again and find that the options are still the same.
Solution: Use sudo rcconf to execute
3. Even if you use sudo rcconf to execute and enter the interface and find that the configuration has been changed, the program still starts/stops when you start it.
Solution: Modify the permissions of the /var/lib/rcconf/services file to 755 or 777 and use sudo rcconf again to execute the configuration.
In addition to using rcconf, you can also use Ubuntu’s own update-rc.d
Usage update-rc.d XXX stop/start
Example update-rc.d avahi-daemon stop