1.开机自启动apache
/sbin/chkconfig httpd on
2.开机自启动mysql
/sbin/chkconfig mysqld on
3.查看启动服务列表
/sbin/chkconfig --list
1.开机自启动apache
/sbin/chkconfig httpd on
2.开机自启动mysql
/sbin/chkconfig mysqld on
3.查看启动服务列表
/sbin/chkconfig --list