In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Add apache and mysql to the system service and set boot up
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
Thus, the addition method is summarized.
This article is from the blog http://xiangji.blog.51cto.com, so be sure to keep this source.
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.