会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
山外云
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
8
下一页
2018年8月27日
ansible 部署jdk
摘要: playbook 剧本如下 192.168.11.172 ansible_user=opsadmin ansible_sudo_pass="x" ansible_ssh_port=12600192.168.11.173 ansible_user=opsadmin ansible_sudo_pass=
阅读全文
posted @ 2018-08-27 14:43 厚德载物_VIP
阅读(1242)
评论(0)
推荐(0)
2018年8月22日
ansible 批量修改root密码
摘要: 执行效果
阅读全文
posted @ 2018-08-22 09:40 厚德载物_VIP
阅读(2375)
评论(0)
推荐(0)
2018年8月15日
ansible 批量推送公钥
摘要: 1、环境如下 ansible 主控端 192.168.33.239 被控端 192.168.11.148 192.168.11.149 1.使用 ssh-keygen -t rsa生成密钥对 (后面用opsadmin用户来操作) 2.推送单个公钥到远程机器 格式: ssh-copy-id -i ~/
阅读全文
posted @ 2018-08-15 15:55 厚德载物_VIP
阅读(256)
评论(0)
推荐(0)
2018年8月6日
haproxy 日志记录并切割
该文被密码保护。
阅读全文
posted @ 2018-08-06 17:31 厚德载物_VIP
阅读(2)
评论(0)
推荐(0)
nginx日志切割
摘要: 使用系统自带的logrorate来切个nginx日志,位于/usr/sbin/logrotate 需要注意的是你们的nginx.pid位置,不一定是在/home/nginx/logs/nginx.pid 执行该命令测试 logrotate -vf /etc/logrotate.d/nginx 查看生
阅读全文
posted @ 2018-08-06 16:38 厚德载物_VIP
阅读(1484)
评论(0)
推荐(0)
2018年7月10日
邮件系列3 --- 安全传输
摘要: [root@mail CA]# openssl req -new -x509 -key private/cakey.pem -out cacert.pem -days 36560You are about to be asked to enter information that will be i
阅读全文
posted @ 2018-07-10 23:40 厚德载物_VIP
阅读(603)
评论(0)
推荐(0)
配置postfix支持虚拟域和虚拟用户
摘要: 请先看基础篇 https://www.cnblogs.com/hellojackyleon/p/9281620.html https://sourceforge.net/projects/courier/files/authlib/0.66.3/courier-authlib-0.66.3.tar.
阅读全文
posted @ 2018-07-10 02:36 厚德载物_VIP
阅读(895)
评论(0)
推荐(0)
2018年7月8日
Postfix+Sasl+Courier-authlib+Dovecot+MySQL+extmail 邮件系统部署
摘要: # yum remove postfix ##删除系统自带postfix# userdel postfix# groupdel postdrop# groupadd -g 2525 postfix# useradd -g postfix -u 2525 -s /sbin/nologin -M pos
阅读全文
posted @ 2018-07-08 22:38 厚德载物_VIP
阅读(588)
评论(0)
推荐(0)
2018年6月30日
saltstack 实现haproxy+keepalived
摘要: 1、目录结构规划如下 mkdir -p /srv/salt/prod/haproxy mkdir -p /srv/salt/prod/keepalived mkdir -p /srv/salt/prod/pkg mkdir -p /srv/salt/prod/cluster mkdir -p /sr
阅读全文
posted @ 2018-06-30 09:48 厚德载物_VIP
阅读(277)
评论(0)
推荐(0)
2018年6月28日
saltstack 实现系统初始化
摘要: 1、整体结构如下 2、状态文件内容如下 3、执行结果 [root@zabbix init]# salt '*' state.highstate test=Truezabbix: ID: /etc/resolv.conf Function: file.managed Result: True Comm
阅读全文
posted @ 2018-06-28 21:33 厚德载物_VIP
阅读(266)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
8
下一页
公告