chkconfig --list |grep httpd //查看httpd服务是否开机自启动
chkconfig --level 5 httpd on //将httpd添加为开机自启动
chkconfig --level 5 mysqld on //将mysqld添加为开机自启动
chkconfig --level 5 httpd on //将httpd添加为开机自启动
chkconfig --level 5 mysqld on //将mysqld添加为开机自启动
本文介绍如何使用chkconfig命令来管理Linux系统中httpd和mysqld服务的开机自启动设置。

被折叠的 条评论
为什么被折叠?



