监控脚本为:html
#!/bin/sh DATE=$(date +"%Y-%m-%d")tomcat
tail -f /dir(你本身tomcat的位置)/catalina.out.$DATE|sed "/Server/{/startup/q}" echo '启动成功'server
Nginx server配置多个域名htm
参考地址:https://help.aliyun.com/knowledge_detail/41467.html域名