会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wangmo
跨过这道坎
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
39
下一页
2018年6月14日
Python利用itchat库向好友或者公众号发消息
摘要: 首先获得好友或者公众号的UserName 1.获取好友UserName 2.获取公众号UserName 3.发送内容代码如下 参考:http://blog.csdn.net/th_num/article/details/55657453
阅读全文
posted @ 2018-06-14 16:39 wangmo
阅读(2800)
评论(0)
推荐(0)
2018年5月28日
Docker常用命令2
摘要: categories: Docker Commands Docker命令解读系列文章将系统讲解Docker使用的命令,方便大家学习Docker的基本操作。在写这个系列文章的时候,主要参考了Docker官方的文档,有些内容是直接的翻译。原文档地址 Docker Docs 转载请注明出处 目录: - h
阅读全文
posted @ 2018-05-28 10:07 wangmo
阅读(357)
评论(0)
推荐(1)
2018年5月23日
inotify 同步脚本
摘要: #!/bin/bash path1=/home/htoa/tomcat/webapps/ROOT/htoa/ ip=192.168.30.13 /usr/bin/inotifywait -mrq --timefmt %y/%m'%d %H:/%M' --format '%T %w%f' -emodify,delete,create,attrib $path1 | while read fil...
阅读全文
posted @ 2018-05-23 18:17 wangmo
阅读(434)
评论(0)
推荐(0)
证书脚本--生成csr,key
摘要: #!/bin/sh # this script can make certificate of each line in file you point which one! if [ $# -ne 1 ];then echo -e "\033[33m Input your domain's file \033[0m" exit 1 fi for line in `cat $1` d...
阅读全文
posted @ 2018-05-23 18:14 wangmo
阅读(736)
评论(0)
推荐(0)
keepalived 检测脑裂切换脚本
摘要: #!/bin/bash count=0 run1=`curl -I 192.168.30.12:8000 | grep "200 OK" | wc -l` run2=`curl -I 192.168.30.12:8020 | grep "200 OK" | wc -l` run3=`curl -I 192.168.30.12:8080 | grep "200 OK" | wc -l...
阅读全文
posted @ 2018-05-23 18:01 wangmo
阅读(605)
评论(0)
推荐(0)
2018年5月22日
dockerfile http_php
摘要: FROM centos6.6-php5.5:0.0.1 MAINTAINER syberos:wangmo RUN mv /etc/php.ini /etc/php.ini.bak COPY ./php.ini /etc/ RUN mv /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak COPY ./httpd.conf...
阅读全文
posted @ 2018-05-22 17:33 wangmo
阅读(329)
评论(0)
推荐(0)
dockerfile mysql
摘要: FROM centos6.6-mysql5.5:0.0.4 MAINTAINER syberos:wangmo RUN mv /etc/my.cnf /etc/my.cnf.bak ADD my.cnf /etc/my.cnf RUN mv /var/lib/mysql /var/lib/mysql.bak ADD ./mysql /var/lib/mysql RUN /etc/in...
阅读全文
posted @ 2018-05-22 17:31 wangmo
阅读(248)
评论(0)
推荐(0)
docker容器升级脚本
摘要: #!/bin/bash # Let's finish it like a flash # usage:sh -x update_cms_backend.sh -v 2018050401 ARGS=`getopt -o v:"$@"` echo $# if [ $# != 2 ];then echo "Need new version" exit fi case...
阅读全文
posted @ 2018-05-22 15:01 wangmo
阅读(1364)
评论(0)
推荐(0)
2018年5月15日
Haproxy状态监控配置教程
摘要: https://www.cnblogs.com/tianciliangen/p/7985881.html 方法一:在defaults段增加如下配置: stats refresh 30s #统计页面自动刷新时间stats uri /stats #统计页面urlstats realm baison-te
阅读全文
posted @ 2018-05-15 14:42 wangmo
阅读(1792)
评论(0)
推荐(0)
负载均衡之Haproxy配置详解(及httpd配置)
摘要: https://blog.csdn.net/tantexian/article/details/50056199 负载均衡之Haproxy配置详解(及httpd配置) 2015年11月26日 15:11:09 阅读数:43621 2015年11月26日 15:11:09 阅读数:43621 阅读数:
阅读全文
posted @ 2018-05-15 11:39 wangmo
阅读(224)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
39
下一页
公告