会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wangqingyong
首页
新随笔
联系
管理
上一页
1
2
2020年12月31日
pip安装MySQL-python遇到的问题记录
摘要: 问题1:EnvironmentError: mysql_config not found 解决方法: yum -y install mysql-devel 问题2:fatal error: Python.h: No such file or directory 解决方法: yum -y instal
阅读全文
posted @ 2020-12-31 16:14 wangqingyong
阅读(107)
评论(0)
推荐(0)
2019年9月29日
nginx中break和last的区别
摘要: 一、环境准备 资源文件创建 ~~~ mkdir p /opt/tmp/wqy/test/aaa mkdir p /opt/tmp/wqy/test/bbb echo "aaa" /opt/tmp/wqy/test/aaa/index.html echo "bbb" /opt/tmp/wqy/test
阅读全文
posted @ 2019-09-29 17:01 wangqingyong
阅读(3743)
评论(0)
推荐(0)
2019年7月16日
https学习笔记
摘要: 一、SSL/TLS握手流程 SSL/TLS握手流程图,摘自 "rfc5246" | Client | Server | | | | | 1 Client Hello | | | | 2 Server Hello3 certificate4 (server_key_exchange)5 (certif
阅读全文
posted @ 2019-07-16 17:28 wangqingyong
阅读(307)
评论(0)
推荐(0)
2019年7月11日
记一次在mac上源码编译curl,使其支持NSS的过程
摘要: 一、背景 在一次学习https原理的过程中,希望客户端指定特定的 来抓包分析SSL/TLS的握手过程,就想到了使用curl工具,而不是使用浏览器。 接下来使用 找到 选项,同时man文档中同时提到了需要到https://curl.haxx.se/docs/ssl ciphers.html这个地方去寻
阅读全文
posted @ 2019-07-11 18:20 wangqingyong
阅读(2158)
评论(0)
推荐(0)
2019年6月24日
编译安装github上的kafka_exporter项目
摘要: 本文介绍的 是`prometheus kafka kafka 0.10.1.0` 及以上。 项目的github地址: 一、安装kafka_exporter 1、安装go ~~~ [root@localhost ~] go bash: go: command not found [root@local
阅读全文
posted @ 2019-06-24 18:50 wangqingyong
阅读(2439)
评论(0)
推荐(0)
/proc/sys/fs/file-max
摘要: Linux的/proc/sys/fs/file max决定了当前内核可以打开的最大的文件句柄数。 查看当前的值: 这个值在kernel的文档里是这样描述的: 意思是file max一般为内存大小(KB)的10%来计算,如果使用shell,可以这样计算: 一般我们不需要主动设置这个值,除非这个值确实较
阅读全文
posted @ 2019-06-24 18:35 wangqingyong
阅读(3019)
评论(0)
推荐(0)
linux里面以指定用户运行命令
摘要: 一、chroot方式 ~~~sh [root@localhost ~] chroot userspec "nginx:nginx" "/" sh c "whoami" nginx [root@localhost ~] chroot userspec "kibana:kibana" "/" sh c
阅读全文
posted @ 2019-06-24 18:06 wangqingyong
阅读(6195)
评论(0)
推荐(0)
使ApacheBench支持multi-url
摘要: [TOC] 由于标准的ab只支持对单个uri进行压测,不满足实际需要,故做以下修改,使ab支持multi url。 1、下载Apache httpd相关源码包以及针对ab工具的patch包 ~~~ wget https://mirrors.tuna.tsinghua.edu.cn/apache/ap
阅读全文
posted @ 2019-06-24 14:22 wangqingyong
阅读(785)
评论(54)
推荐(1)
上一页
1
2
公告