`

centos 下mysql和apache 自动启动的问题

阅读更多
1.确保/etc/rc.d/init.d/mysqld 存在,用service mysqld start能够正常启动
2.运行命令:chkconfig --add mysqld
3.运行命令: chkconfig --level 345 mysqld on
4.重启即可.

apache 的httpd服务与上述类似。

chkconfig的参考链接:http://www.freelamp.com/1003237634/index_html
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics