centos 7.x 开机自启动tomcat
centos7使用systemctl替换了service命令1、查看服务systemctl status name.service启动服务systemctl start name.service停止服务systemctl stop name.service重启服务systemctl restart name.service增加开机启动systemctl en