以Dolphin为例
sudo vi /etc/rc.d/rc.local
sh /opt/dolphinscheduler/zookeeper/bin/zkServer.sh start
sh /opt/dolphinscheduler/dolphinscheduler/bin/start-all.sh
sudo chmod +x /etc/rc.d/rc.local
sudo systemctl enable rc-local
sudo systemctl start rc-local