摘要: 涉及redis,mysql,xtrabackup, tomcat whiptail 可实现交互式,参考下面链接 交互式shell脚本对话框 whiptail指令 - 想要早睡的彼得潘 - 博客园 (cnblogs.com) 1. ubuntu中 #!/bin/bash #first, change 阅读全文
posted @ 2018-03-02 09:29 坚强的小蚂蚁 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 适用于ubuntu,centos 涉及知识点 1. 函数 2. case语句 #!/bin/bash #chkconfig: 2345 10 90 #description:Tomcat service #pidfile: /var/run/tomcat.pid #processname: tomc 阅读全文
posted @ 2018-03-02 09:17 坚强的小蚂蚁 阅读(220) 评论(0) 推荐(0) 编辑