上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: 分享db 分区分表的shell 16库与表 输出0到f ##输出0到f #/bin/bash for table in {0..15};do printf "%x\n" $table done 结果: 0 1 2 3 .. f #/bin/bash #输出00-ff 256表 for table i 阅读全文
posted @ 2020-11-06 16:41 清风木 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 发现报错: 502--upstream sent too big header while reading response header from upstream 解决 修改nginx.conf: proxy_buffer_size 16k; #调大 proxy_buffers 8 32k; # 阅读全文
posted @ 2020-08-27 18:48 清风木 阅读(683) 评论(0) 推荐(0) 编辑
摘要: docker php-fpm Resource temporarily unavailable 环境: nginx + php-fpm centos xxx docker xxx 前提是php-fpm 走的是socket,tcp不用有这问题 切入docker 用ab 压测300 发现有失败的请求ng 阅读全文
posted @ 2020-06-19 14:54 清风木 阅读(2591) 评论(0) 推荐(0) 编辑
摘要: 转 https://www.jianshu.com/p/accff9ea7b15 环境介绍 在centos7下需要挂载两个新的磁盘。为了方便后续的扩容方便,决定将这其设置为LVM管理的方式。 查看一下当前有哪些新增的数据盘,如下: [root@runsdata test 0004 ~] df h F 阅读全文
posted @ 2020-02-05 15:35 清风木 阅读(1068) 评论(0) 推荐(0) 编辑
摘要: elasticsearch 安装分词插件 1.IK分词器的下载安装 es : v5.5.3 关于IK分词器的介绍不再多少,一言以蔽之,IK分词是目前使用非常广泛分词效果比较好的中文分词器。做ES开发的,中文分词十有八九使用的都是IK分词器。 下载地址:https://github.com/medcl 阅读全文
posted @ 2020-01-06 14:41 清风木 阅读(584) 评论(0) 推荐(0) 编辑
摘要: nginx平滑升级 目标: 旧版本 升级 新版本nginx wget nginx.tgz && tar zxvf nginx.tgz cd nginx ./configure prefix=/usr/local/nginx user=www group=www with http_stub_stat 阅读全文
posted @ 2019-09-10 19:52 清风木 阅读(985) 评论(0) 推荐(0) 编辑
摘要: nginx 1.14.0 描述: nginx自带的upstream配置,如果后端挂了,接口会慢,原因不讲述,故接入第三方的自动检测与自动踢除模式 nginx_upstream_check_module模块: 下载地址https://github.com/yaoweibin/nginx_upstrea 阅读全文
posted @ 2019-09-09 10:56 清风木 阅读(1558) 评论(0) 推荐(0) 编辑
摘要: 有人使用github后,在某些网络下发现打开慢,甚至打不开,这都是因为他是国外站;目前互联网的连接机制导致超过一定的路由节点的连接就会出现这个问题,解决办法就是直接告诉本机ip。不要先层层询问域名转ip,这样速度和连接的速度都可以进一步的大副提升,所以将下面的内容帖到本机的hosts文件中,你就有可 阅读全文
posted @ 2019-07-16 18:24 清风木 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: 问题 $ go build t.go pkg config cflags rdkafka Package rdkafka was not found in the pkg config search path. Perhaps you should add the directory contain 阅读全文
posted @ 2019-07-16 10:20 清风木 阅读(2423) 评论(0) 推荐(0) 编辑
摘要: 官网文档: https://istio.io/docs/reference/config/networking/ VirtualService 在学习像Istio这样的新技术时,看一下示例应用程序总是一个好主意。 Istio repo有一些示例应用程序,但它们似乎有各种不足。 文档中的BookInf 阅读全文
posted @ 2019-06-20 19:12 清风木 阅读(856) 评论(1) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页