网站首页
编程语言
数据库
系统相关
其他分享
编程问答
systemed
2024-05-22
Ubuntu 服务器采用Systemed管理Tomcat服务自动启动
1、新建Systemed配置文件参考以下配置文件样例sudovim/lib/systemd/system/tomcat.service2、重新加载Systemed配置信息sudosystemctldaemon-reload3、打开自动启动Tomcatsudosystemctlenabletomcat.service4、启动Tomcatsudosystemctlstarttomcat.service