会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
suminem
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
2019年3月1日
ansible-playbook(nginx例)
摘要: 一、创建目录结构 cd /etc/ansible/roles/ mkdir nginx/{files,templates,vars,handlers,meta,default,tasks} -pv 二、files/:存储由copy或script等模块调用的文件; wget http://nginx.
阅读全文
posted @ 2019-03-01 17:21 suminem
阅读(777)
评论(0)
推荐(0)
2019年2月21日
Docker部署脚本
摘要: 实现 1、检查内核版本 2、检查docker是否已安装 3、安装docker,如因网络等原因失败循环安装至安装完成 #!/bin/bash #file:docker_install.sh #From:suminem function docker_choice() { echo "检查内核版本...
阅读全文
posted @ 2019-02-21 16:16 suminem
阅读(1332)
评论(0)
推荐(0)
2019年2月19日
Ansible安装配置
摘要: ansible服务器:10.0.0.20 client01:10.0.0.21 client02:10.0.0.22 一、安装ansible 1、 python版本需要2.6以上,CentOS7默认安装python2.7.5 2、 添加yum 源 a、 vim /etc/yum.repos.d/an
阅读全文
posted @ 2019-02-19 13:32 suminem
阅读(183)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
公告