chkconfig nginx on //设置nginx 开机启动 chkconfig mysql on //设置mysql 开机启动 chkconfig redis on //设置redis 开机启动