上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 1、报错信息 Mar 29 05:45:31 xxx etcd: request cluster ID mismatch (got 414f8613693e2e2 want cdf818194e3a8c32) 此时etcd节点都已经启动,但是无法连接,发现有request cluster ID mi 阅读全文
posted @ 2018-03-29 17:55 杜先生的博客 阅读(5310) 评论(0) 推荐(0) 编辑
摘要: 1、错误信息 2、问题解决 由于使用的是GTID同步,所以不能用change master to master_log_file='mysql-bin.xxx', master_log_pos='xxx'; 3、结果查看 阅读全文
posted @ 2018-03-18 10:52 杜先生的博客 阅读(766) 评论(0) 推荐(0) 编辑
摘要: 问题描述: kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. 问题解决: sysctl -w vm.dirty_ratio=10 sysctl -w vm.dirty_backgroun 阅读全文
posted @ 2018-02-02 13:50 杜先生的博客 阅读(6948) 评论(0) 推荐(1) 编辑
摘要: # 网上很多文档说重启机器,清除缓存什么的,纯属扯淡,都是相互复制粘贴,经测验在stackoverflow找到以下解决方法,亲测可用security unlock-keychain -p "Your_PASS" ~/Library/Keychains/login.keychain security unlock-keychain -p Your_PASS ~/Library/Keychains... 阅读全文
posted @ 2018-01-31 17:17 杜先生的博客 阅读(1970) 评论(0) 推荐(0) 编辑
摘要: vim /application/jdk/jre/lib/security/java.security # securerandom.source=file:/dev/randomsecurerandom.source=file:/dev/./urandom 阅读全文
posted @ 2018-01-29 17:33 杜先生的博客 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1、主要思路 获取京东所有商品列表:https://www.jd.com/allSort.aspx,大概有分类1190条 连接格式为:https://list.jd.com/list.html?cat=xxx 页面如下: 此页面可以从该页面直接获取商品价格、商品标题、商品URL、商品ID、商品品牌、 阅读全文
posted @ 2018-01-23 16:52 杜先生的博客 阅读(4906) 评论(0) 推荐(1) 编辑
摘要: wget https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tgz ls tar xf Python-3.4.4.tgz mkdir /usr/local/python3 cd Python-3.4.4 ls ./configure --prefix=/usr/local/python3 make all make install mak... 阅读全文
posted @ 2018-01-09 16:19 杜先生的博客 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: 1、问题出现 最近公司上线前端H5页面,使用npm打包,特别奇怪的是每次打包发现css和js文件与Windows下打包不一致(网页使用Windows环境开发),导致前端页面功能不正常。 2、问题排查 ① 更换服务器:无用 ② 更换npm版本:无用 ③ 在另一台Windows上打包:无用 ④ 等等网上 阅读全文
posted @ 2018-01-04 19:13 杜先生的博客 阅读(4578) 评论(0) 推荐(1) 编辑
摘要: 1、阐述 内部架构:Tomcat应用程序 > nginx > 其他Tomcat应用程序,内部Tomcat应用通过nginx调用其他应用。 HTTP插件:HttpClient 4.2.3 关闭连接的代码:httpClient.getConnectionManager().closeIdleConnec 阅读全文
posted @ 2018-01-02 19:23 杜先生的博客 阅读(19434) 评论(2) 推荐(3) 编辑
摘要: 1、下载相关包,需要和之前用到的依赖包保持一致 wget http://nginx.org/download/nginx-1.12.2.tar.gz wget https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/get/08a395c66e42.zip wget https://github.com/yaoweibin/ngin... 阅读全文
posted @ 2017-12-19 10:42 杜先生的博客 阅读(3197) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页