Ubuntu _ PHP Tutorial

Source: Internet
Author: User
In ubuntu, configure the boot service. Ubuntu does not have the boot configurator ntsysv like RedHat or CentOS, but it also has a very convenient tool: rcconf but you need to install and install it in another way: sudoapt-getinstallrcc Ubuntu does not have the boot configurator ntsysv as in RedHat or CentOS
But it also has a very convenient tool: rcconf needs to be installed separately
Installation method: sudo apt-get install rcconf
Enter sudo rcconf in the command status.
The running interface is similar to that of the Red Hat ntsysv.

The following situations may occur during use:
1, the interface shows garbled, if it is remote login with putty, please set the language encoding to UTF-8
2. set a service to start/stop and select OK to exit, but enter the interface again, and the options are still found.
Solution: run sudo rcconf.
3. even if you use sudo rcconf for execution, you can see that the configuration has been changed, but the program is still started/stopped.
Solution: modify the permissions of the/var/lib/rcconf/services File, Grant 755 or 777 permissions, and use sudo rcconf to execute the configuration again.

In addition to using rcconf, you can also use Ubuntu's built-in update-rc.d
Usage update-rc.d XXX stop/start
Example update-rc.d avahi-daemon stop

Http://www.bkjia.com/PHPjc/478681.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/478681.htmlTechArticleUbuntu does not have the RedHat or CentOS boot configurator ntsysv but it also has a very convenient tool: rcconf but need to install the installation method: 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.