07、linux设置开启启动
时间:2021-06-02 22:52:02
收藏:0
阅读:32
设置开启启动
编辑设置启动文件
vim /etc/rc.local
vim /etc/rc.d/rc.local
比如设置tomcat开机启动:
指令:vim /etc/rc.local
在文件内添加tomcat启动路径

授予执行权
chmod +x /etc/rc.local
chmod +x /etc/rc.d/rc.local
原文:https://www.cnblogs.com/M87-A/p/14842998.html
评论(0)