In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following is followed by the author to understand how apache and mysql are added to the system service and successfully set up boot startup. I believe you will benefit a lot after reading it, and the text is not in the essence. I hope that apache and mysql how to add system services and successfully set up boot this short content is what you want.
Apache
1 cp / usr/local/apache/bin/apachectl / etc/init.d/httpd
2 chkconfig-add httpd
Error service httpd does not support chkconfig occurred
Open vi / etc/rc.d/init.d/httpd to add (#! / bin/sh below)
# chkconfig: 345 85 15
# description: Activates/Deactivates Apache Web Server
345 represents which Linux levels need to be started httpd. The startup sequence number is 85 and the shutdown sequence number is 15.
3 chkconfig httpd on
Mysql
1 cp / root/tools/mysql-5.1.72/support-files/mysql.server / etc/init.d/mysqld
1.1 chmod 700 / etc/init.d/mysqld
2 chkconfig-add mysqld
3 chkconfig mysqld on
After reading this article on how to add apache and mysql to system services and successfully set boot up, many readers will want to know more about it. For more industry information, you can follow our industry information section.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.