In Linux, add the custom shell as the system service-Linux Enterprise Application-Linux server application information. The following is a detailed description. Red Hat's Apache and PHP are a little strange, so they are uninstalled.
After installing Apache + PHP in the source code again, it is a bit uncomfortable to start automatically when the system is started.
It is not very good to add it directly to the startup script.
3. Add in the second line (required; otherwise, join is unavailable)
# Chkconfig: 2345 85 15
# Description: httpd is web server (described here ).
Note: "2345" indicates loading the service at the four startup levels of "2345". "85" indicates the sequence number at startup (at startup), and "15" indicates the sequence number at Shutdown (at shutdown.
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