08 2020 档案

摘要:1、使用ansible的playbook实现自动化安装httpd 三台主机:系统都是centos 7.6,需要先配置ssh的免密登录 ansible:192.168.10.128 apache1:192.168.10.130 apache2:192.168.10.131 安装软件包 在ansible 阅读全文
posted @ 2020-08-17 23:29 scott_Lsh 阅读(67) 评论(0) 推荐(0)
摘要:1、编写脚本,支持让用户自主选择,使用mysqldump还是xtraback全量备份。 [root@master ~]# cat backup.sh #!/bin/bash PS3="Please choose a backup method:" select method in mysqldump 阅读全文
posted @ 2020-08-12 00:01 scott_Lsh 阅读(146) 评论(0) 推荐(0)