redhat7 设置开机自启 方法一 1、赋予脚本可执行权限(/opt/script/autostart.sh是你的脚本路径) chmod +x /opt/script/autostart.sh 2、打开/etc/rc.d/loc … 继续阅读 redhat7 设置开机自启