cd /etc/init.d/
chmod 755 tomcat8
service tomcat8 start #启动服务
service tomcat8 stop #停止服务
service tomcat8 restart #重启服务