1.准备要启动的脚本[root@host02 init.d]# more start_mysql.sh#!/bin/sh/opt/mysql5718/bin/mysqld_safe --defaults-file=/opt/mysql5718/conf/my.cnf --user=mysql# chkconfig: - 85 15# description: nginx is a World Wide Web server. It is used to serve[root@host02 init.d]# 2.配置自启动服务cp st...【阅读全文】