_php tutorial for configuring boot start service under Ubuntu

Source: Internet
Author: User
Ubuntu does not have a boot configurator like RedHat or CentOS ntsysv
But it also has a handy tool: rcconf but it needs to be installed separately.
Installation mode: sudo apt-get install rcconf
When finished, enter in the command state: sudo rcconf can be
The operating interface is similar to the ntsysv of a red hat.

You may experience the following situations in use:
1, the interface display garbled, if is remote with Putty Landing, please set the language encoding into UTF-8
2, set a service start/stop select OK to exit, but again into the interface, the Discovery option is still.
Workaround: Execute with sudo rcconf
3, even if using sudo rcconf execution, the interface discovery configuration has changed, but the program boot still start/stop.
FIX: Modify the permissions of the/var/lib/rcconf/services file, grant 755 or 777 and use sudo rcconf to perform the configuration again.

In addition to using rcconf, you can also use the update-rc.d that comes with Ubuntu
Usage Update-rc.d XXX Stop/start
Example UPDATE-RC.D Avahi-daemon stop

http://www.bkjia.com/PHPjc/478681.html www.bkjia.com true http://www.bkjia.com/PHPjc/478681.html techarticle Ubuntu does not have a boot configurator like RedHat or CentOS ntsysv but it also has a handy tool: rcconf but requires an additional installation: sudo apt-get install RCC ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.