<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Sean Jho</title><description>Technical notes on systems, infrastructure, AI tooling, and engineering practice.</description><link>https://arthaszyb.github.io/</link><item><title>机器学习常见算法分类汇总</title><link>https://arthaszyb.github.io/posts/jiqi-xuexi-changjian-suanfa-fenlei-huizong-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiqi-xuexi-changjian-suanfa-fenlei-huizong-2/</guid><description>机器学习常见算法分类汇总 2017年7月25日 17:52 阅读目录 1.  学习方式 1.1 监督式学习 1.2 非监督式学习 1.3 半监督式学习 1.4 强化学习 2.</description><pubDate>Wed, 28 May 2025 00:00:00 GMT</pubDate><category>misc</category><category>hadoop</category></item><item><title>LLM 学习笔记：AIGC、AGI、Agent、MCP、LLMs Text 全面解读</title><link>https://arthaszyb.github.io/posts/llm-xuexi-biji-aigc-agi-agent/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/llm-xuexi-biji-aigc-agi-agent/</guid><description>本笔记记录了近期对 AIGC、AGI 与 Agent 等前沿 AI 技术的探索与实践心得，旨在梳理各技术概念、分析核心实现以及展望未来趋势。</description><pubDate>Mon, 26 May 2025 00:00:00 GMT</pubDate><category>ai</category><category>llm</category><category>agent</category><category>aigc</category><category>agi</category><category>mcp</category><category>多智能体</category><category>技术趋势</category><category>笔记</category></item><item><title>终极 Debug 纪实：AI 与极客联手击破 Cursor Python 解释器卡死谜案</title><link>https://arthaszyb.github.io/posts/zhongji-debug-jishi-ai-yuji-kelian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zhongji-debug-jishi-ai-yuji-kelian/</guid><description>原始环境：Intel 架构 Mac，pyenv 管理多 Python 版本，环境优雅。  迁移：macOS 系统迁移工具一键搬家到 Apple Silicon (M4) 新机，所有配置、隐藏目录、工具链一锅端。</description><pubDate>Mon, 26 May 2025 00:00:00 GMT</pubDate><category>ai</category><category>python</category><category>debug</category><category>ai</category><category>cursor</category><category>macos</category><category>pyenv</category><category>venv</category><category>经验</category></item><item><title>战争启示录</title><link>https://arthaszyb.github.io/posts/zhanzheng-qishi-lu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zhanzheng-qishi-lu/</guid><description>乌克兰战争是一场持续了近2年的冲突，造成了数万人的死亡和伤残，以及数百万人的流离失所。 这场战争不仅是乌克兰国内的政治危机，也是俄罗斯和西方国家之间的地缘政治角力。 在这场战争中，平民是最大的受害者，他们不仅遭受了战火的摧残，也承受了社会经济的崩溃，人权的践踏，以及心理的创伤。</description><pubDate>Wed, 11 Oct 2023 00:00:00 GMT</pubDate><category>misc</category><category>life</category><category>war</category></item><item><title>BIOS, UEFI, MBR, Legacy, GPT等概念整理</title><link>https://arthaszyb.github.io/posts/bios-uefi-mbr-legacy-gpt-denggai/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/bios-uefi-mbr-legacy-gpt-denggai/</guid><description>HTML Content Jun Zheng 程序员 之前对以下概念的理解有些模糊并且比较容易混淆，因此抽空整理了一下，信息的主要来源是维基百科。  分区表是在磁盘（存储介质）上的，用于描述该磁盘的分区情况，有GPT和MBR两种格式。</description><pubDate>Thu, 16 Jul 2020 00:00:00 GMT</pubDate><category>linux</category><category>php</category><category>ssl-tls</category><category>存储</category></item><item><title>内网环境如何检查证书链的完整性</title><link>https://arthaszyb.github.io/posts/neiwang-huanjing-ruhe-jiancha-zhengshu-liande/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/neiwang-huanjing-ruhe-jiancha-zhengshu-liande/</guid><description>wwoss 2018-07-11 10:57:55 1397 收藏 一个正确配置的 HTTPS 网站应该在证书中包含完整的证书链。  比如以 openssl sclient-connect x.x.x.x:443 命令来查看 自己的网站配置。</description><pubDate>Tue, 23 Jun 2020 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>apache</category><category>ssl-tls</category></item><item><title>SSL证书链</title><link>https://arthaszyb.github.io/posts/ssl-zhengshu-lian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ssl-zhengshu-lian/</guid><description>证书链是什么？  最近更新时间：2017-05-24 14:18:39 完整的证书内容一般分为3级，服务端证书-中间证书-根证书，即 end-user certificates， intermediates Certificates 和 root Certificates。</description><pubDate>Tue, 23 Jun 2020 00:00:00 GMT</pubDate><category>web-infra</category><category>ssl-tls</category></item><item><title>暴力不能带来国民幸福：辛亥革命与清末十年的再反思</title><link>https://arthaszyb.github.io/posts/baoli-buneng-dailai-guomin-xingfu-xinhai/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/baoli-buneng-dailai-guomin-xingfu-xinhai/</guid><description>2009年04月16日 11:34 凤凰网历史专稿 【 大 中 小 】 【 打印 】 共有评论 2 条 有人说，晚清最后十年的核心是“激进与保守”之争，最后“激进”的革命战胜了“保守”的立宪，枪杆子逼走了皇帝，中国便向前迈进了一大步。</description><pubDate>Mon, 29 Apr 2019 00:00:00 GMT</pubDate><category>misc</category></item><item><title>Kubernetes Informer 详解</title><link>https://arthaszyb.github.io/posts/kubernetes-informer-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kubernetes-informer-xiangjie/</guid><description>2017-09-14 09:06 中文社区 分类： Kubernetes教程/入门教程 阅读(8146) 作者：才云科技 李昂 评论(2) 作者：李昂 曾经就职于七牛， 参与七牛大数据产品的开发工作 加入才云科技后，主要负责 Devops 的相关工作 才云科技云平台容器工程师 今天给到大家介绍一下 Client-go</description><pubDate>Mon, 29 Apr 2019 00:00:00 GMT</pubDate><category>container-virt</category><category>kubernetes</category><category>hadoop</category><category>存储</category></item><item><title>shadowsocksR手工安装步骤（debian9）</title><link>https://arthaszyb.github.io/posts/shadowsocksr-shougong-anzhuang-buzhou-debian9/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shadowsocksr-shougong-anzhuang-buzhou-debian9/</guid><description>方法一：物理机安装 下载ssR服务端wget https://github.com/maxsky/shadowsocksr-manyuser/archive/master.zip ，注意这里可能因各种原因404，需要找到合适可用的源即可 解压，进去，可以看README.md即可知道整个步骤了，这里简单说一下： 2.1.</description><pubDate>Mon, 04 Mar 2019 00:00:00 GMT</pubDate><category>network</category><category>docker</category><category>python</category><category>ssl-tls</category><category>git</category></item><item><title>shell用变量的值作为新的变量名</title><link>https://arthaszyb.github.io/posts/shell-yongbian-liangde-zhizuo-weixin-debian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shell-yongbian-liangde-zhizuo-weixin-debian/</guid><description>2015年03月07日 12:47:41 巧克力腹肌 阅读数：13150 更多 个人分类： shell tips 版权声明：本文为博主原创文章，未经博主允许不得转载。</description><pubDate>Thu, 28 Feb 2019 00:00:00 GMT</pubDate><category>shell</category><category>ssl-tls</category></item><item><title>Python3 是如何解决棘手的字符编码问题的？</title><link>https://arthaszyb.github.io/posts/python3-shiru-hejie-jueji-shoude-zifu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python3-shiru-hejie-jueji-shoude-zifu/</guid><description>By liuzhijun , 2017-03-26, 分类： Python技术 编码 Python3 最重要的一项改进之一就是解决了 Python2 中字符串与字符编码遗留下来的这个大坑。  Python 编码为什么那么蛋疼？</description><pubDate>Wed, 27 Feb 2019 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>存储</category></item><item><title>Intel和AMD 与 x86，ARM，MIPS有什么区别？</title><link>https://arthaszyb.github.io/posts/intel-he-amd-yu-x86-arm/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/intel-he-amd-yu-x86-arm/</guid><description>Intel和AMD 与 x86，ARM，MIPS有什么区别 作者：零度君 链接： https://www.zhihu.com/question/63627218/answer/211243489 来源：知乎 著作权归作者所有。 商业转载请联系作者获得授权，非商业转载请注明出处。</description><pubDate>Wed, 13 Feb 2019 00:00:00 GMT</pubDate><category>ai</category><category>ssl-tls</category></item><item><title>Mysql主键索引、唯一索引、普通索引、全文索引、组合索引的区别</title><link>https://arthaszyb.github.io/posts/mysql-zhujian-suoyin-weiyi-suoyin-putong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-zhujian-suoyin-weiyi-suoyin-putong/</guid><description>2015年01月06日 17:26:39 乐杨俊 阅读数：3521 标签： Mysql主键索引唯一索引普通索引全文索 更多 个人分类： MySQL Mysql索引概念： 说说Mysql索引，看到一个很少比如：索引就好比一本书的目录，它会让你更快的找到内容，显然目录（索引）并不是越多越好，假如这本书1000页</description><pubDate>Wed, 09 Jan 2019 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>分布式系统的CAP理论</title><link>https://arthaszyb.github.io/posts/fenbu-shixi-tongde-cap-lilun/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/fenbu-shixi-tongde-cap-lilun/</guid><description>2015-12-03 分类： 分布式 阅读(24427) 评论(6) 阿里大牛珍藏架构资料，点击链接免费获取 2000年7月，加州大学伯克利分校的Eric Brewer教授在ACM PODC会议上提出CAP猜想。 2年后，麻省理工学院的Seth Gilbert和Nancy Lynch从理论上证明了CAP。</description><pubDate>Mon, 07 Jan 2019 00:00:00 GMT</pubDate><category>ai</category><category>redis</category><category>存储</category><category>负载均衡</category><category>高可用</category><category>集群</category></item><item><title>2025中国制造错在哪里？</title><link>https://arthaszyb.github.io/posts/2025-zhongguo-zhizao-cuozai-nali/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/2025-zhongguo-zhizao-cuozai-nali/</guid><description>美国对中兴的惩罚，再次显示了老美有点来者不善了。 为一笔1.3亿美元的对伊朗违规交易，中兴愿交11亿的罚款，美国还是不依不饶，而且还盯着另一家中国电信巨头华为，惩罚是迟早的事了。 问题出在哪里？  问题还是出在中国太高调了。</description><pubDate>Thu, 03 Jan 2019 00:00:00 GMT</pubDate><category>misc</category></item><item><title>【Nginx】location下的alias与root的用法</title><link>https://arthaszyb.github.io/posts/nginx-location-xiade-alias-yu-root/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-location-xiade-alias-yu-root/</guid><description>2018年03月06日 16:05:52 jayzhen 阅读数：161 标签： nginx conf 更多 个人分类： linux nginx 版权声明：本文为博主原创文章，未经博主允许不得转载。</description><pubDate>Tue, 06 Nov 2018 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>ssl-tls</category></item><item><title>linux环境变量的加载顺序</title><link>https://arthaszyb.github.io/posts/linux-huanjing-bianliang-dejia-zaishun-xu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-huanjing-bianliang-dejia-zaishun-xu/</guid><description>HTML Content linux linux 当使用export设置环境变量的时候，注意前面的环境变量会覆盖后面设置的环境变量。</description><pubDate>Thu, 01 Nov 2018 00:00:00 GMT</pubDate><category>linux</category><category>java</category></item><item><title>从一个git仓库迁移到另外一个git仓库</title><link>https://arthaszyb.github.io/posts/congyi-ge-git-cangku-qianyi-daoling/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/congyi-ge-git-cangku-qianyi-daoling/</guid><description>2017年05月16日 19:19:32 可克 阅读数：7444 标签： git 仓库迁移 更多 个人分类： 开发测试 从一个git仓库迁移到另外一个git仓库 摘要 声明：相关内容是根据 网络 资料整理所得，仅供参考。  1).  从原地址克隆一份裸版本库，比如原本托管于 GitHub。  2).</description><pubDate>Wed, 31 Oct 2018 00:00:00 GMT</pubDate><category>misc</category><category>git</category></item><item><title>linux 父进程被kill掉后子进程的状态</title><link>https://arthaszyb.github.io/posts/linux-fujin-chengbei-kill-diaohou-zijin/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-fujin-chengbei-kill-diaohou-zijin/</guid><description>2017年01月07日 03:02:36 outofmemo 阅读数：5477更多 个人分类： linux 第一种情况： \[root@qht2 ~\]# ps -ef | grep httpd root 3799 1 0 10:41 pts/0 00:00:00 /usr/sbin/nss\pcache off</description><pubDate>Tue, 23 Oct 2018 00:00:00 GMT</pubDate><category>linux</category><category>apache</category><category>ssl-tls</category></item><item><title>nginx+php-fpm配置后页面显示空白的解决方法</title><link>https://arthaszyb.github.io/posts/nginx-php-fpm-peizhi-houye-mianxian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-php-fpm-peizhi-houye-mianxian/</guid><description>2016年10月09日 17:40:23 feiniao8651 阅读数：13210 标签： ubuntu nginx bug 更多 个人分类： 服务器配置 OS: Ubuntu 15.04 由于nginx与php-fpm之间的一个小bug，会导致这样的现象： 网站中的静态页面 .html 都能正常访问，而 .php</description><pubDate>Tue, 23 Oct 2018 00:00:00 GMT</pubDate><category>php</category><category>nginx</category><category>php</category></item><item><title>Docker run 命令的使用方法</title><link>https://arthaszyb.github.io/posts/docker-run-mingling-deshi-yongfang-fa/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-run-mingling-deshi-yongfang-fa/</guid><description>【编者的话】在Docker中，run应该是用户使用最多的命令了，很多读者反馈不是很明白run命令的用法，而且相关的书籍、中文资料中对run命令的描述也不是非常完整，所以DockerOne组织翻译了Docker官方的文档，以飨读者。 注意，本文基于最新的Docker 1.4文档翻译。</description><pubDate>Mon, 08 Oct 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>apache</category><category>redis</category><category>selinux</category><category>docker</category><category>dns</category></item><item><title>Druid架构设计思想详解</title><link>https://arthaszyb.github.io/posts/druid-jiagou-sheji-sixiang-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/druid-jiagou-sheji-sixiang-xiangjie/</guid><description>博文视点Broadview 科技圈儿的靠谱编辑，微信号：broadview807，接头暗号：读读 Druid 的目标是提供一个能够在大数据集上做实时数据消费与探索的平台。 对普遍的数据平台来说，数据的高效摄入与快速查询往往是一对难以两全的指标，但Druid 是怎么做到的呢？</description><pubDate>Mon, 17 Sep 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>apache</category><category>hadoop</category><category>elasticsearch</category><category>存储</category><category>监控告警</category></item><item><title>docker save与docker export的区别</title><link>https://arthaszyb.github.io/posts/docker-save-yu-docker-export-dequ/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-save-yu-docker-export-dequ/</guid><description>发布于 1 年前 作者 jingsam 6968 次浏览 来自 分享 ################### yau 在迁移gpu容器镜像时采坑了，发现只能docker save --docker load才行，用docker export恢复的容器会出现nvidia命令无法执行的问题，通过docker</description><pubDate>Fri, 14 Sep 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category><category>git</category></item><item><title>Nginx Location 正则表达式与匹配优先级</title><link>https://arthaszyb.github.io/posts/nginx-location-zhengze-biaoda-shiyu-pipei/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-location-zhengze-biaoda-shiyu-pipei/</guid><description>Leebor 关注 2017.10.12 16:39 字数 258 阅读 1444 评论 0 喜欢 0 部分内容摘抄自 Nginx官网 Syntax: location [ = | ~ | ~ | ^~ ] uri { ...  } location @name { ...</description><pubDate>Thu, 06 Sep 2018 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category></item><item><title>nmap扫描网段内的所有IP</title><link>https://arthaszyb.github.io/posts/nmap-saomiao-wangduan-neide-suoyou-ip/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nmap-saomiao-wangduan-neide-suoyou-ip/</guid><description>2013年01月03日 12:14:39 阅读数：47664更多 个人分类： Linux sudo nmap -sP -PI -PT 192.168.1.0/24</description><pubDate>Fri, 31 Aug 2018 00:00:00 GMT</pubDate><category>linux</category><category>ssl-tls</category></item><item><title>路由修改route</title><link>https://arthaszyb.github.io/posts/luyou-xiugai-route/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/luyou-xiugai-route/</guid><description>HTML Content 2007-12-05 09:47 鸟哥 机械工业出版社华章公司 字号：T | T 综合评级： 想读(47) 在读(15) 已读(11) 品书斋鉴(1) 已有73人发表书评 《鸟哥的Linux私房菜——服务器架设篇》（第二版）第五章的主要介绍一些常见的网络命令，并新增了一些数据包捕获的命令。</description><pubDate>Thu, 23 Aug 2018 00:00:00 GMT</pubDate><category>linux</category><category>vmware</category><category>php</category><category>集群</category><category>网络排查</category></item><item><title>整理于原贴 http://bbs.tianya.cn/m/post-house-252774-1.shtml</title><link>https://arthaszyb.github.io/posts/zhengli-yuyuan-tie-http-bbs-tianya/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zhengli-yuyuan-tie-http-bbs-tianya/</guid><description>整理于原贴 http://bbs.tianya.cn/m/post-house-252774-1.shtml 2010年的房地产调控，让很多人看到了希望：让房价降得再猛烈些吧。 还有人更是幸灾乐祸似的呼喊：让房地产赶紧崩盘吧。 让没房子的好好看看有房子的笑话，是人生的一大快事。  但是我们是不是要仔细想想，为什么调控？</description><pubDate>Wed, 22 Aug 2018 00:00:00 GMT</pubDate><category>misc</category></item><item><title>当前网络环境，SS及SSR该怎么配置协议混淆才是最佳？</title><link>https://arthaszyb.github.io/posts/dangqian-wangluo-huanjing-ss-ji-ssr/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/dangqian-wangluo-huanjing-ss-ji-ssr/</guid><description>本文不扯这2个的恩仇录，也不会给出谁比谁好的答案。  首先理解安全： 第一个是数据安全，SS及SSR只要不使用弱加密，那么有生之年你通过SS或SSR传输的数据都是安全的。  第二个是我使用SS及SSR会不会被喝TEA，以目前的环境而言，只要你不是用于非法用途，没人会在意你利用SS或SSR多看了会汤博。</description><pubDate>Tue, 21 Aug 2018 00:00:00 GMT</pubDate><category>network</category><category>ssl-tls</category></item><item><title>git克隆远程仓库并在本地修改提交 - 个人文章 - SegmentFault 思否</title><link>https://arthaszyb.github.io/posts/git-kelong-yuancheng-cangku-bingzai-bendi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/git-kelong-yuancheng-cangku-bingzai-bendi/</guid><description> SegmentFault 首页 问答 专栏 讲堂 发现  立即登录 免费注册 huangsh 1月28日 · 623 次阅读 git克隆远程仓库并在本地修改提交 原 git 原 1.首先在远程github或码云创建新项目 2.复制远程仓库地址 3.打开git命令行窗口，执行命令 git clone</description><pubDate>Mon, 13 Aug 2018 00:00:00 GMT</pubDate><category>misc</category><category>cdn</category><category>ssl-tls</category><category>git</category><category>存储</category></item><item><title>Shadowsocks-go一键安装脚本</title><link>https://arthaszyb.github.io/posts/shadowsocks-go-yijian-anzhuang-jiaoben/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shadowsocks-go-yijian-anzhuang-jiaoben/</guid><description>技术 秋水逸冰 发布于: 2015-01-05 更新于: 2018-03-15 698592 次围观 687 次吐槽 本脚本适用环境： 系统支持：CentOS，Debian，Ubuntu 内存要求：≥64M 日期：2018 年 03 月 15 日 关于本脚本： 一键安装 Go 版的 shadowsocks 最新版本</description><pubDate>Tue, 07 Aug 2018 00:00:00 GMT</pubDate><category>network</category><category>python</category><category>ssl-tls</category></item><item><title>何清涟: TPP为何不带中国玩？</title><link>https://arthaszyb.github.io/posts/heqing-lian-tpp-weihe-budai-zhongguo/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/heqing-lian-tpp-weihe-budai-zhongguo/</guid><description>2015年10月7日 05:20 何清涟 分享 编者按：这是何清涟为美国之音撰写的评论文章。 这篇特约评论不代表美国之音的观点。 转载者请注明来自美国之音或者 VOA。  历经数年谈判的《跨太平洋贸易伙伴协议（TPP）》终于达成。 有了WTO，为何还要一个TPP？ 原因无他，就是要将中国排除在外。</description><pubDate>Mon, 30 Jul 2018 00:00:00 GMT</pubDate><category>misc</category></item><item><title>昨天川普和容克在白宫两个小时谈定零关税联盟事情，WTO已经确定名存实亡了。那今天就来谈谈WTO废了，你们口袋里的钱会发生什么变化，这不是一个赚钱的秘方，而是一个</title><link>https://arthaszyb.github.io/posts/zuotian-chuanpu-herong-kezai-baigong-liangge/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zuotian-chuanpu-herong-kezai-baigong-liangge/</guid><description>昨天川普和容克在白宫两个小时谈定零关税联盟事情，WTO已经确定名存实亡了。 那今天就来谈谈WTO废了，你们口袋里的钱会发生什么变化，这不是一个赚钱的秘方，而是一个减少损失的方案，因为接下来的情形真的有可能让你无端破产。</description><pubDate>Mon, 30 Jul 2018 00:00:00 GMT</pubDate><category>misc</category></item><item><title>C语言中.h和.c文件解析（很精彩）</title><link>https://arthaszyb.github.io/posts/c-yuyan-zhong-h-he-c/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/c-yuyan-zhong-h-he-c/</guid><description>简单的说其实要理解C文件与头文件（即.h）有什么不同之处，首先需要弄明白编译器的工作过程，一般说来编译器会做以下几个过程： 1.预处理阶段 2.词法与语法分析阶段 3 .编译阶段，首先 编译 成纯汇编语句，再将之 汇编 成跟CPU相关的二进制码，生成各个目标文件 (.obj文件) 4.连接阶段，</description><pubDate>Fri, 27 Jul 2018 00:00:00 GMT</pubDate><category>misc</category><category>存储</category></item><item><title>CUDA之nvidia-smi命令详解</title><link>https://arthaszyb.github.io/posts/cuda-zhi-nvidia-smi-mingling-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/cuda-zhi-nvidia-smi-mingling-xiangjie/</guid><description>2017年03月19日 13:02:22 阅读数：25323 nvidia-smi是用来查看GPU使用情况的。 我常用这个命令判断哪几块GPU空闲，但是最近的GPU使用状态让我很困惑，于是把nvidia-smi命令显示的GPU使用表中各个内容的具体含义解释一下。  这是服务器上特斯拉K80的信息。</description><pubDate>Mon, 23 Jul 2018 00:00:00 GMT</pubDate><category>ai</category><category>dns</category><category>python</category></item><item><title>Zabbix Agent active主动模式配置图文版本</title><link>https://arthaszyb.github.io/posts/zabbix-agent-active-zhudong-moshi-peizhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zabbix-agent-active-zhudong-moshi-peizhi/</guid><description>linuxsec点cn 1 人评论 1263人阅读 2017-03-16 09:56:16 当zabbix-server监控主机过多时候，由于server端去搜集信息，zabbix会出现严重的性能问题，比如： 1，当监控端到一个量级的时候，web操作界面很卡，容易出现502 2，图层断裂 3，开启的进程太多</description><pubDate>Tue, 03 Jul 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>zabbix</category><category>ai-agent</category><category>vim</category><category>存储</category><category>监控告警</category></item><item><title>NVIDIA驱动安装</title><link>https://arthaszyb.github.io/posts/nvidia-qudong-anzhuang/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nvidia-qudong-anzhuang/</guid><description>yum insall kernel-headers gcc https://buildlogs.centos.org/c7.1511.00/kernel/20151119220809/$(uname -r)/kernel-devel-3.10.0-327.el7.x8664.rpm yum localinstall</description><pubDate>Fri, 22 Jun 2018 00:00:00 GMT</pubDate><category>ai</category><category>ssl-tls</category></item><item><title>Grafana 重置admin密码</title><link>https://arthaszyb.github.io/posts/grafana-zhongzhi-admin-mima/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/grafana-zhongzhi-admin-mima/</guid><description>SA小科 关注 0 人评论 13376人阅读 2018-05-24 13:49:07 不小心忘记了grafana web界面的密码后，使用官网的方式重置密码 http://docs.grafana.org/administration/cli/#reset-admin-password 但是并没有成功。</description><pubDate>Thu, 14 Jun 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>监控告警</category></item><item><title>如何通过反向 SSH 隧道访问 NAT 后面的 Linux 服务器</title><link>https://arthaszyb.github.io/posts/ruhe-tongguo-fanxiang-ssh-suidao-fangwen/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ruhe-tongguo-fanxiang-ssh-suidao-fangwen/</guid><description>HTML Content 作者： Dan Nanni 译者： LCTT 나원호 | 2015-08-08 13:50 评论: 3 收藏: 7 HTML Content 你在家里运行着一台 Linux 服务器，它放在一个 NAT 路由器或者限制性防火墙后面。 现在你想在外出时用 SSH 登录到这台服务器。</description><pubDate>Wed, 13 Jun 2018 00:00:00 GMT</pubDate><category>linux</category><category>systemd</category><category>ssh</category><category>php</category><category>ssl-tls</category></item><item><title>容器中使用systemctl命令重启服务</title><link>https://arthaszyb.github.io/posts/rongqi-zhongshi-yong-systemctl-mingling-chongqi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/rongqi-zhongshi-yong-systemctl-mingling-chongqi/</guid><description>2017年05月10日 10:07:44 阅读数：2176 在docker容器中用systemctl重启服务时，提示 Failed to get D-Bus connection: Operation not permitted 解决方法： ubuntu16.04以上版本, redhat, oraclelinux,</description><pubDate>Fri, 01 Jun 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>systemd</category><category>docker</category></item><item><title>druid.io 2---druid介绍</title><link>https://arthaszyb.github.io/posts/druid-io-2-druid-jieshao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/druid-io-2-druid-jieshao/</guid><description>druid.io druid.io 大数据 学习 Druid概念 Druid.io 是一个开源的，分布式的， 列式存储 的，适用于实时数据分析的 OLAP 系统，能够快速聚合、灵活过滤、毫秒级查询、和低延迟数据导入。  优势： 高容错性：单个节点挂掉不会影响其他部分。 详情在 文末 有介绍。</description><pubDate>Tue, 29 May 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>mysql</category><category>nfs</category><category>hadoop</category><category>存储</category><category>监控告警</category></item><item><title>druid书籍阅读记录</title><link>https://arthaszyb.github.io/posts/druid-shuji-yuedu-jilu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/druid-shuji-yuedu-jilu/</guid><description>1.列数据库定义，时序数据库定义 2.druid特点，产品对比 3.druid快写快读的基础原因：不同于关系型数据的B+树的索引结构，LSM-tree利用了磁盘基本特点（顺序操作性能远高于随机操作），使用两部分类树的数据结构存储数据（P64）。</description><pubDate>Sat, 26 May 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>存储</category></item><item><title>Druid学习笔记（4）数据摄入总结</title><link>https://arthaszyb.github.io/posts/druid-xuexi-biji-4-shuju-sheru/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/druid-xuexi-biji-4-shuju-sheru/</guid><description>2017年12月13日 18:09:25 阅读数：1212 概述 Druid的数据摄入主要包括两大类： 实时输入摄入：包括Pull,Push两种 Pull:需要启动一个RealtimeNode节点，通过不同的Firehose摄取不同种类的数据源。  Push:需要启动Tranquility或是Kafka索引服务。</description><pubDate>Sat, 26 May 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>apache</category><category>ssl-tls</category><category>hadoop</category><category>存储</category><category>高可用</category></item><item><title>GPU，CUDA，cuDNN的理解</title><link>https://arthaszyb.github.io/posts/gpu-cuda-cudnn-deli-jie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/gpu-cuda-cudnn-deli-jie/</guid><description>2017年08月17日 20:29:37 阅读数：5450 我们知道做深度学习离不开GPU，不过一直以来对GPU和CPU的差别，CUDA以及cuDNN都不是很了解，所以找了些资料整理下，希望不仅可以帮助自己理解，也能够帮助到其他人理解。  先来讲讲CPU和GPU的关系和差别吧。</description><pubDate>Tue, 22 May 2018 00:00:00 GMT</pubDate><category>ai</category></item><item><title>网卡流量监控</title><link>https://arthaszyb.github.io/posts/wangka-liuliang-jiankong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wangka-liuliang-jiankong/</guid><description>#!/bin/bash PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export PATH function trafficmonitor { OSNAME=$(sed -n &apos;1p&apos; /etc/issue) eth=$1</description><pubDate>Tue, 15 May 2018 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category><category>监控告警</category><category>网络排查</category></item><item><title>druid集群监控方案</title><link>https://arthaszyb.github.io/posts/druid-jiqun-jiankong-fangan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/druid-jiqun-jiankong-fangan/</guid><description>选择了prometheus方案。 采用operations-software-druidexporter为客户端采集器。</description><pubDate>Mon, 14 May 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>python</category><category>ssl-tls</category><category>hadoop</category><category>java</category><category>监控告警</category></item><item><title>kafka的监控搭建--yau</title><link>https://arthaszyb.github.io/posts/kafka-dejian-kongda-jian-yau/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kafka-dejian-kongda-jian-yau/</guid><description>主体思想：采用prometheus+grafana来做。 现在先要找到合适的kafka-exporter，先找了一个kafka-exporter，发现监控项较少，不太符合要求。</description><pubDate>Fri, 04 May 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>shell-scripting</category><category>java</category><category>监控告警</category><category>集群</category></item><item><title>某互联网大厂kafka最佳实践</title><link>https://arthaszyb.github.io/posts/mouhu-lianwang-dachang-kafka-zuijia-shijian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mouhu-lianwang-dachang-kafka-zuijia-shijian/</guid><description>何处不可怜 关注 2016.05.14 11:30 字数 2375 阅读 6471 评论 3 喜欢 33 赞赏 1 前言： 上手kafka已有2年的时间，我们的数据处理量也从最初的300g/day发展到今天的T量级在这个过程中也踩了不少坑，在这里分享出来和大家共勉。</description><pubDate>Thu, 03 May 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>raid</category><category>存储</category><category>java</category><category>负载均衡</category><category>集群</category></item><item><title>druid.io剖析</title><link>https://arthaszyb.github.io/posts/druid-io-pouxi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/druid-io-pouxi/</guid><description>收藏 jonathanloda 发表于 12个月前 阅读 578 收藏 15 点赞 0 评论 0 摘要: 剖析优酷广告团队的实时olap系统druid.io druid.io剖析 简介 druid作为现在最有潜力的海量数据实时分析系统，在优酷广告团队中扮演者非常重要的角色 整体架构</description><pubDate>Wed, 02 May 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>mysql</category><category>memcached</category><category>ssl-tls</category><category>hadoop</category><category>存储</category></item><item><title>druid集群搭建的一些重要的坑</title><link>https://arthaszyb.github.io/posts/druid-jiqun-dajian-deyi-xiezhong-yaode/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/druid-jiqun-dajian-deyi-xiezhong-yaode/</guid><description>问题分类总结..</description><pubDate>Wed, 02 May 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>apache</category><category>mysql</category><category>rsync</category><category>ssl-tls</category><category>hadoop</category></item><item><title>Kafka主要参数详解</title><link>https://arthaszyb.github.io/posts/kafka-zhuyao-canshu-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kafka-zhuyao-canshu-xiangjie/</guid><description>2014年12月7日 by debugo · 14 Comments 原文档地址： http://kafka.apache.org/documentation.html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28</description><pubDate>Wed, 02 May 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>apache</category><category>存储</category><category>高可用</category><category>集群</category></item><item><title>HDFS的几种访问方式。 注意只能通过namenode节点访问成功。</title><link>https://arthaszyb.github.io/posts/hdfs-deji-zhongfang-wenfang-shi-zhuyi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/hdfs-deji-zhongfang-wenfang-shi-zhuyi/</guid><pubDate>Mon, 30 Apr 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>hadoop</category></item><item><title>4-Druid数据摄入-1 - CSDN博客</title><link>https://arthaszyb.github.io/posts/4-druid-shuju-sheru-1-csdn/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/4-druid-shuju-sheru-1-csdn/</guid><description>博客 学院 下载 GitChat 论坛 问答 商城 VIP 活动 招聘 ITeye 码云 CSTO   写博客  发Chat 登录 注册 4-Druid数据摄入-1 翻译 2017年11月19日 12:06:50 标签： Druid .  .</description><pubDate>Fri, 13 Apr 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>mysql</category><category>redis</category><category>python</category><category>hadoop</category><category>存储</category></item><item><title>Druid Tranquility使用（上篇） - 翱翔fly</title><link>https://arthaszyb.github.io/posts/druid-tranquility-shiyong-shangpian-aoxiang-fly/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/druid-tranquility-shiyong-shangpian-aoxiang-fly/</guid><description>首页 开源项目 问答 动弹 博客 翻译 资讯 专题 活动 招聘 码云 特惠 [ 登录 | 注册 ] 博客专区 翱翔fly 的博客 博客详情 Druid Tranquility使用（上篇） 翱翔fly 发表于8个月前 原 Druid Tranquility使用（上篇） 收藏 翱翔fly 发表于 8个月前 阅读 49</description><pubDate>Fri, 13 Apr 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>ssl-tls</category><category>git</category></item><item><title>Druid的发送数据和查询数据 - CSDN博客</title><link>https://arthaszyb.github.io/posts/druid-defa-songshu-juhe-chaxun-shuju/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/druid-defa-songshu-juhe-chaxun-shuju/</guid><description>博客 学院 下载 GitChat 论坛 问答 商城 VIP 活动 招聘 ITeye 码云 CSTO .    写博客  发Chat 登录 注册 北京小辉的博客 学习是一种享受，也是一种痛苦，更是一种回忆！ ！ ！  .  目录视图 摘要视图 订阅 .  .</description><pubDate>Thu, 12 Apr 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>apache</category><category>mysql</category><category>redis</category><category>docker</category><category>shell-scripting</category></item><item><title>CentOS 7 /lib64被重命名后的解决(yau亲测有用，赞)</title><link>https://arthaszyb.github.io/posts/centos-7-lib64-beizhong-mingming-houde/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/centos-7-lib64-beizhong-mingming-houde/</guid><description>&lt;table&lt;tbody&lt;tr&lt;td&lt;div&lt;span&lt;span&lt;span[日期：2017-01-22]&lt;/span&lt;/span&lt;/span&lt;/div&lt;/td&lt;td&lt;div&lt;span&lt;span&lt;span来源：Linux社区</description><pubDate>Wed, 11 Apr 2018 00:00:00 GMT</pubDate><category>linux</category><category>ssh</category><category>ftp</category></item><item><title>HDFS的安装和部署-改变你成就你-51CTO博客</title><link>https://arthaszyb.github.io/posts/hdfs-dean-zhuanghe-bushu-gaibian-nicheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/hdfs-dean-zhuanghe-bushu-gaibian-nicheng/</guid><description>改变你成就你 linux 正文 HDFS的安装和部署 原创 ydt619 2013-06-27 10:42:53 评论(0) 3183人阅读 HDFS 的安装和部署 1.</description><pubDate>Sun, 08 Apr 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>ssh</category><category>ssl-tls</category><category>git</category><category>hadoop</category><category>存储</category></item><item><title>Zookeeper集群环境安装过程详解 - CSDN博客</title><link>https://arthaszyb.github.io/posts/zookeeper-jiqun-huanjing-anzhuang-guocheng-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zookeeper-jiqun-huanjing-anzhuang-guocheng-xiangjie/</guid><description>博客 学院 下载 GitChat 论坛 问答 商城 VIP 活动 招聘 ITeye 码云 CSTO .    写博客  发Chat 登录 注册 Zookeeper集群环境安装过程详解 原创 2014年02月10日 21:22:02 标签： zookeeper / 集群 / Hadoop / Linux .  .</description><pubDate>Sun, 08 Apr 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>python</category><category>ssl-tls</category><category>hadoop</category><category>vim</category><category>java</category></item><item><title>influxdb命令</title><link>https://arthaszyb.github.io/posts/influxdb-mingling/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/influxdb-mingling/</guid><description>转载 2017年05月05日 10:17:33 标签： 数据 / InfluxDB influxdb0.13命令 1、数据构成 INSERT cpuloadshort,host=server01,region=us-west value= 0.64 ,value2= 0.86 1434055562000000000</description><pubDate>Tue, 27 Mar 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>redis</category><category>存储</category></item><item><title>InfluxDB 写数据语法</title><link>https://arthaszyb.github.io/posts/influxdb-xieshu-juyu-fa/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/influxdb-xieshu-juyu-fa/</guid><description>本篇是官方文档的一个蹩脚翻译，原文： Write Syntax 语法总是容易忘记，这里是一个参考手册 Table of Contents 行协议 ( Line Protocol ) 空格 Timestamp （时间戳） 键值（key-value）分隔符 转义字符 注释 数据类型 例子 最简单的合法写入点</description><pubDate>Tue, 27 Mar 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>存储</category></item><item><title>CentOS 6和CentOS 7进入单用户模式区别【转】 (2016-02-24 13:30:19)</title><link>https://arthaszyb.github.io/posts/centos-6-he-centos-7-jinru/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/centos-6-he-centos-7-jinru/</guid><description>HTML Content CentOS 6和CentOS 7进入单用户模式区别【转】 (2016-02-24 13:30:19) Untitled Attachment转载▼ &lt;table&lt;tbody&lt;tr&lt;td&lt;div&lt;br&lt;/div&lt;/td&lt;td&lt;div&lt;span&lt;span&lt;span分类：&lt;/span</description><pubDate>Wed, 21 Mar 2018 00:00:00 GMT</pubDate><category>linux</category><category>systemd</category><category>selinux</category><category>lvm</category><category>备份恢复</category></item><item><title>我得grafana配置</title><link>https://arthaszyb.github.io/posts/wode-grafana-peizhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wode-grafana-peizhi/</guid><description>架构配置： org---user---act(角色) 每个org是完全独立隔离的，相当于另一套环境，要独立配置数据源等一切。  admin才有权限配置org，如下图 这里切换org team应该是org内的角色细分。  配置用户 配置influxdb数据源。  这里注意要用proxy模式。</description><pubDate>Wed, 21 Mar 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>监控告警</category></item><item><title>时序数据库技术体系 – 初识InfluxDB</title><link>https://arthaszyb.github.io/posts/shixu-shuju-kuji-shuti-xi-chushi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shixu-shuju-kuji-shuti-xi-chushi/</guid><description>2017年12月8日 范欣欣 时序数据库 在上篇文章 《时序数据库体系技术 – 时序数据存储模型设计》 中笔者分别介绍了多种时序数据库在存储模型设计上的一些考虑，其中OpenTSDB基于HBase对维度值进行了全局字典编码优化，Druid采用列式存储并实现了Bitmap索引以及局部字典编码优化</description><pubDate>Tue, 20 Mar 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>存储</category></item><item><title>Shell脚本生成随机密码的若干种可能</title><link>https://arthaszyb.github.io/posts/shell-jiaoben-shengcheng-suiji-mima-deruo/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shell-jiaoben-shengcheng-suiji-mima-deruo/</guid><description>转载 2017-09-30 作者：丁丁历险 的BLOG 我要评论 这篇文章主要介绍了Shell脚本生成随机密码的若干种可能,需要的朋友可以参考下 1.生成随机密码（urandom版本） &lt; /dev/urandom tr -dc &apos;A-Za-z0-9&apos; &lt; /dev/urandom | head -c 10</description><pubDate>Thu, 15 Mar 2018 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category><category>存储</category></item><item><title>使用 supervisor 管理进程</title><link>https://arthaszyb.github.io/posts/shiyong-supervisor-guanli-jincheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shiyong-supervisor-guanli-jincheng/</guid><description>Supervisor ( http://supervisord.org ) 是一个用 Python 写的进程管理工具，可以很方便的用来启动、重启、关闭进程（不仅仅是 Python 进程）。</description><pubDate>Tue, 13 Mar 2018 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>备份恢复</category></item><item><title>zabbix-server安装-yau</title><link>https://arthaszyb.github.io/posts/zabbix-server-anzhuang-yau/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zabbix-server-anzhuang-yau/</guid><description>方式1：源码安装。 官网下载有指引链接。</description><pubDate>Tue, 13 Mar 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>mysql</category><category>zabbix</category><category>ai-agent</category></item><item><title>自动调整linux系统时间和时区与Internet时间同步</title><link>https://arthaszyb.github.io/posts/zidong-tiaozheng-linux-xitong-shijian-heshi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zidong-tiaozheng-linux-xitong-shijian-heshi/</guid><description>调整 Linux 系统时间和时区、并与 Internet 时间同步的 3 种方法：修改时区、配置新时间、通过 ntpdate 计划任务或手动校准实现网络对时。</description><pubDate>Mon, 12 Mar 2018 00:00:00 GMT</pubDate><category>linux</category><category>crontab</category></item><item><title>Grafana + mysql数据源</title><link>https://arthaszyb.github.io/posts/grafana-mysql-shuju-yuan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/grafana-mysql-shuju-yuan/</guid><description>2017年10月18日 21:18:53 3185人阅读 评论 (2) 收藏 举报 分类： 【监控】 （3） 版权声明：转载请注明出处，谢谢 http://blog.csdn.net/sweatOtt/article/details/78278011 1.首先去官网下载 grafana 传送官网 2.解压后进入</description><pubDate>Thu, 08 Mar 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>mysql</category><category>监控告警</category></item><item><title>openvpn搭建vpn环境</title><link>https://arthaszyb.github.io/posts/openvpn-dajian-vpn-huanjing/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/openvpn-dajian-vpn-huanjing/</guid><description>服务端： 下载openvpn，这个网站当然被墙了，所以你想办法吧。</description><pubDate>Thu, 08 Mar 2018 00:00:00 GMT</pubDate><category>network</category><category>php</category><category>vpn</category><category>ssl-tls</category></item><item><title>shadowsock搭梯子</title><link>https://arthaszyb.github.io/posts/shadowsock-dati-zi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shadowsock-dati-zi/</guid><description>服务端： 下载一键安装脚本。 wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocksinstall/master/shadowsocks-go.sh 执行该脚本，会安装好该软件。  编辑配置文件后启动软件。</description><pubDate>Thu, 08 Mar 2018 00:00:00 GMT</pubDate><category>network</category><category>iptables</category><category>systemd</category><category>selinux</category><category>shell-scripting</category><category>ssl-tls</category></item><item><title>安装ftp服务器（http服务器也可以，目的就是共享rpm目录，可将源目录软链接到共享目录下），将原文件存储在ftp上，然后安装网络yum，实现客户机可以从yum服务器上下载软件包</title><link>https://arthaszyb.github.io/posts/anzhuang-ftp-fuwu-qi-http-fuwu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/anzhuang-ftp-fuwu-qi-http-fuwu/</guid><description>2018年3月5日 10:28 安装ftp服务器（http服务器也可以，目的就是共享rpm目录，可将源目录软链接到共享目录下），将原文件存储在ftp上，然后安装网络yum，实现客户机可以从yum服务器上下载软件包 客户机请求过程: 切换到服务器端 1：\[root@lyt ~\]# mkdir /mnt/cdrom/</description><pubDate>Mon, 05 Mar 2018 00:00:00 GMT</pubDate><category>linux</category><category>ftp</category><category>vim</category><category>存储</category><category>集群</category></item><item><title>Prometheus入门</title><link>https://arthaszyb.github.io/posts/prometheus-rumen/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/prometheus-rumen/</guid><description>http://www.hi-linux.com/posts/25047.html 什么是TSDB？ TSDB(Time Series Database)时序列数据库，我们可以简单的理解为一个优化后用来处理时间序列数据的软件，并且数据中的数组是由时间进行索引的。  时间序列数据库的特点 大部分时间都是写入操作。</description><pubDate>Mon, 05 Mar 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>监控告警</category></item><item><title>分享日志</title><link>https://arthaszyb.github.io/posts/fenxiang-rizhi-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/fenxiang-rizhi-2/</guid><description>2018年3月5日 10:26 分享日志 热门日志 将win7电脑变身WiFi热点 分享 开启windows 7的隐藏功能：虚拟WiFi和SoftAP（即虚拟无线AP），就可以让电脑变成无线路由器，实现共享上网，节省网费和路由器购买费。 iphone4亲测通过,比conncetify方便，稳定，网速好！</description><pubDate>Mon, 05 Mar 2018 00:00:00 GMT</pubDate><category>misc</category><category>网络排查</category></item><item><title>yum下载远程源上的rpm包</title><link>https://arthaszyb.github.io/posts/yum-xiazai-yuancheng-yuanshang-de-rpm-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yum-xiazai-yuancheng-yuanshang-de-rpm-2/</guid><description>2018年3月5日 10:27 yum下载远程源上的rpm包 Thursday, November 7, 2013 9:55 AM 对没有安装过的rpm包可以直接 yumdownloader +包名 下载到当前目录 如果已经安装了，则加上resolve参数 yumdownloader --resolve +包名</description><pubDate>Mon, 05 Mar 2018 00:00:00 GMT</pubDate><category>linux</category></item><item><title>监控与告警</title><link>https://arthaszyb.github.io/posts/jiankong-yugao-jing/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiankong-yugao-jing/</guid><description>| 0 Comments 监控一个大规模的系统是一个非常有挑战的事情，组件多，分析繁杂，而又要求监控系统本身的维护非常低。 在大规模系统部署下，任何一个单机问题的报警都没有任何意义，因为这发生的太多太频繁。</description><pubDate>Wed, 28 Feb 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>存储</category><category>监控告警</category><category>负载均衡</category></item><item><title>灵雀云首席架构师：Docker容器的监控技术</title><link>https://arthaszyb.github.io/posts/lingque-yunshou-xijia-goushi-docker-rongqi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/lingque-yunshou-xijia-goushi-docker-rongqi/</guid><description>Saurabh Wagh 2016-04-13 11:00:52 632 前言 在Docker容器技术飞速发展之时，监控容器的效率与健康也变成了至关重要的需求。 在Docker资深提供的监控技术逐渐成熟时，来自第三方的监控工具也同时步入了人们的视线。</description><pubDate>Wed, 28 Feb 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>docker</category><category>elasticsearch</category><category>ai-agent</category><category>存储</category><category>监控告警</category></item><item><title>如何快速部署 Prometheus？- 每天5分钟玩转 Docker 容器技术（85）</title><link>https://arthaszyb.github.io/posts/ruhe-kuaisu-bushu-prometheus-meitian-5/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ruhe-kuaisu-bushu-prometheus-meitian-5/</guid><description>CloudMan6 | Oct 25 2017 | Tags: docker 教程 容器 ‎ | 3,806 Views 上一节介绍了 Prometheus 的核心，多维数据模型。 本节演示如何快速搭建 Prometheus 监控系统。</description><pubDate>Wed, 28 Feb 2018 00:00:00 GMT</pubDate><category>monitoring</category><category>docker</category><category>ssl-tls</category><category>监控告警</category></item><item><title>Kafka快速入门</title><link>https://arthaszyb.github.io/posts/kafka-kuaisu-rumen/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kafka-kuaisu-rumen/</guid><description>编译自 官方文档 Apache Kafka 是一个分布式消息发布订阅系统。 它最初由LinkedIn公司基于独特的设计实现为一个分布式的提交日志系统( a distributed commit log)，，之后成为Apache项目的一部分。 Kafka系统快速、可扩展并且可持久化。</description><pubDate>Fri, 09 Feb 2018 00:00:00 GMT</pubDate><category>bigdata</category><category>apache</category><category>java</category><category>监控告警</category><category>备份恢复</category><category>集群</category></item><item><title>oncall小工具前端代码解读</title><link>https://arthaszyb.github.io/posts/oncall-xiaogong-juqian-duandai-majie-du/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/oncall-xiaogong-juqian-duandai-majie-du/</guid><description>html文件： &lt; !DOCTYPE html &lt; html &lt; head &lt; link rel=&quot;stylesheet&quot; href=&quot;/web/bootstrap/css/bootstrap.min.css&quot; &lt; /head &lt; body &lt; script src=&quot;/web/vue.js&quot; &lt; /script &lt;</description><pubDate>Tue, 06 Feb 2018 00:00:00 GMT</pubDate><category>web-infra</category></item><item><title>object的一次理解</title><link>https://arthaszyb.github.io/posts/object-deyi-cili-jie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/object-deyi-cili-jie/</guid><description>js通过访问接口获得json数据是一个字典，这在js中被当作一个object。 具体可以通过console.log(typeof xxx)来调试查看。  Object.keys(xxx)可以获取所有key，如果要遍历所有key和value，也可以这样： for（ i in xxx ）{ \\注意i获取到的是key。</description><pubDate>Mon, 05 Feb 2018 00:00:00 GMT</pubDate><category>web-infra</category></item><item><title>如何用形象的比喻描述大数据的技术生态？Hadoop、Hive、Spark 之间是什么关系？</title><link>https://arthaszyb.github.io/posts/ruhe-yongxing-xiangde-biyu-miaoshu-dashu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ruhe-yongxing-xiangde-biyu-miaoshu-dashu/</guid><description>2018 年 2 月 1 日 18:10 如何用形象的比喻描述大数据的技术生态？ Hadoop、Hive、Spark 之间是什么关系？  对于我们这些文科，商科生来说。</description><pubDate>Thu, 01 Feb 2018 00:00:00 GMT</pubDate><category>bigdata</category><category>apache</category><category>ssl-tls</category><category>mongodb</category><category>hadoop</category><category>存储</category></item><item><title>CentOS 7 安装KVM，并创建虚拟机</title><link>https://arthaszyb.github.io/posts/centos-7-anzhuang-kvm-bingchuang-jianxu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/centos-7-anzhuang-kvm-bingchuang-jianxu/</guid><description>2018 年 1 月 31 日 11:53 CentOS 7 安装KVM，并创建虚拟机 原创 2017年01月09日 08:41:39 标签： centos / kvm / qemu / 虚拟机 8771 使用KVM（基于内核的虚拟机）+ QEMU的虚拟化。  需要具有Intel VT或AMD-V功能的CPU。</description><pubDate>Wed, 31 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>systemd</category><category>kvm</category><category>nfs</category><category>elasticsearch</category><category>存储</category></item><item><title>KVM 常用命令</title><link>https://arthaszyb.github.io/posts/kvm-changyong-mingling/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kvm-changyong-mingling/</guid><description>1.查看vm运行状况 virsh list 列出所有在运行的VM virsh list --all 列出节点所有VM virsh dominfo &lt; vm名字 显示VM的基本信息 virsh dumpxml &lt; vm名字 显示VM的当前xml配置文件 2.改变VM状态 virsh start &lt; vm名字 启动VM</description><pubDate>Wed, 31 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>kvm</category><category>存储</category><category>备份恢复</category><category>网络排查</category></item><item><title>KVM虚拟机virsh管理常用命令</title><link>https://arthaszyb.github.io/posts/kvm-xuni-ji-virsh-guanli-changyong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kvm-xuni-ji-virsh-guanli-changyong/</guid><description>2018 年 1 月 31 日 15:16 KVM虚拟机virsh管理常用命令 sa 发布于 2017-07-18 分类： 虚拟化技术 阅读(610) 评论(0) 有运维或运维开发方面的需求，可以联系博主QQ 452336092或Email:admin#centos.bz(收费) 文章目录 [ 隐藏 ]</description><pubDate>Wed, 31 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>kvm</category><category>lvm</category><category>ssl-tls</category></item><item><title>kvm:使用virsh命令管理客户机 - 挂载设备</title><link>https://arthaszyb.github.io/posts/kvm-shiyong-virsh-mingling-guanli-kehu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kvm-shiyong-virsh-mingling-guanli-kehu/</guid><description>收藏 guojy8993 发表于 2年前 阅读 56 收藏 0 点赞 0 评论 0 kvm:使用virsh命令管理客户机 虚拟机挂载iso 在宿主上编写cdrom设备的xml文件(定义 需要挂载的具体文件) [root@KVM test image] &lt; disk type = &apos;file&apos; &lt; target</description><pubDate>Wed, 31 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>kvm</category></item><item><title>虚拟化实践从qemu-kvm到libvirt</title><link>https://arthaszyb.github.io/posts/xuni-huashi-jiancong-qemu-kvm-dao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/xuni-huashi-jiancong-qemu-kvm-dao/</guid><description>By Liushy Apr 29 2017 Updated:Apr 30 2017 前言 结合自己最近的学习和实践，总结了一下libvirt和qemu-kvm的理解和使用，其中包括工具链的安装以及部分操作命令。  QEMU简单入门 qemu是什么，简单来说它是一个虚拟机的管理器，类似Virtualbox之类的。</description><pubDate>Wed, 31 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>kvm</category><category>vmware</category><category>网络排查</category></item><item><title>自建kvm记录-yau</title><link>https://arthaszyb.github.io/posts/zijian-kvm-jilu-yau/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zijian-kvm-jilu-yau/</guid><description>自建 kvm 记录 -yau 2018 年 1 月 31 日 16:19 yum -y install qemu-kvm libvirt virt-install bridge-utils qemu vms 配置宿主机网络： [root@kvm-centos7 network-scripts] DEVICE</description><pubDate>Wed, 31 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>systemd</category><category>kvm</category><category>ssh</category></item><item><title>redis集群使用密码验证-yau</title><link>https://arthaszyb.github.io/posts/redis-jiqun-shiyong-mima-yanzheng-yau/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/redis-jiqun-shiyong-mima-yanzheng-yau/</guid><description>redis 集群使用密码验证 -yau 2018 年 1 月 24 日 11:46 所有 node 节点的 redis.conf 增加如下配置（注意两个密码要一致）： #PASS masterauth 7jwjiHdux5djw82j requirepass 7jwjiHdux5djw82j 重启各节点，即生效了。</description><pubDate>Wed, 24 Jan 2018 00:00:00 GMT</pubDate><category>database</category><category>redis</category><category>集群</category></item><item><title>docker-ce非yum安装</title><link>https://arthaszyb.github.io/posts/docker-ce-fei-yum-anzhuang/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-ce-fei-yum-anzhuang/</guid><description>docker-ce 非 yum 安装 2018 年 1 月 22 日 10:50 一 直接 2 进制安装。  docker 官网可以看到只提供 yum 方式，但是通过分析可以找出其中的源，进入源把需要的 tgz 包下载下来， rz 到机器。  解压后生成一个 docker 目录，里面全是 2 进制文件。</description><pubDate>Mon, 22 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>selinux</category><category>docker</category></item><item><title>其它制作镜像的方式</title><link>https://arthaszyb.github.io/posts/qita-zhizuo-jingxiang-defang-shi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/qita-zhizuo-jingxiang-defang-shi/</guid><description>2018 年 1 月 22 日 11:00 其它制作镜像的方式 除了标准的使用 Dockerfile 生成镜像的方法外，由于各种特殊需求和历史原因，还提供了一些其它方法用以生成镜像。</description><pubDate>Mon, 22 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category><category>ssh</category><category>ssl-tls</category></item><item><title>redis集群动态添加主节点和从节点</title><link>https://arthaszyb.github.io/posts/redis-jiqun-dongtai-tianjia-zhujie-dianhe/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/redis-jiqun-dongtai-tianjia-zhujie-dianhe/</guid><description>2018 年 1 月 22 日 10:35 redis集群动态添加主节点和从节点 原创 2017年02月22日 09:58:39 标签： redis集群 / 动态添加集群 / redis 2473 如上图所示：我现在有 6 台机器的 redis 集群，端口为 7002 ， 7003 ， 7004 为主，端口为</description><pubDate>Mon, 22 Jan 2018 00:00:00 GMT</pubDate><category>database</category><category>redis</category><category>集群</category></item><item><title>Redis学习笔记(五) 基于Redis 3.0的集群</title><link>https://arthaszyb.github.io/posts/redis-xuexi-biji-wu-jiyu-redis/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/redis-xuexi-biji-wu-jiyu-redis/</guid><description>原创 2015年12月30日 17:13:06 标签： Redis / 集群 / 主从集群 虽然我们搭建了一个主从架构,但是每个Redis都要保存相同的数据,这样容易造成水桶效应.而且主从架构频繁TCP连接断开也可能会对服务器和网络带来很大负担。</description><pubDate>Mon, 22 Jan 2018 00:00:00 GMT</pubDate><category>database</category><category>redis</category><category>java</category><category>高可用</category><category>集群</category></item><item><title>安装docker-ce的问题</title><link>https://arthaszyb.github.io/posts/anzhuang-docker-ce-dewen-ti/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/anzhuang-docker-ce-dewen-ti/</guid><description>安装 docker-ce 的问题 2018 年 1 月 16 日 12:02 yum 的问题 这是说 yum 访问 https 出现证书问题。  手工通过 curl -Iv 访问发现是 ok 的，对比 curl 使用的证书和 /etc/yum.conf 中的证书发现不一致，改为 curl 用的证书在执行就 ok 了。</description><pubDate>Tue, 16 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category><category>ssl-tls</category></item><item><title>Docker容器时间与主机时间不一致的问题</title><link>https://arthaszyb.github.io/posts/docker-rongqi-shijian-yuzhu-jishi-jianbu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-rongqi-shijian-yuzhu-jishi-jianbu/</guid><description>2018 年 1 月 15 日 10:33 Docker容器时间与主机时间不一致的问题 原创 2016年07月27日 23:09:54 标签： docker 5789 通过date命令查看时间 查看主机时间 [root@localhost ~] 2016年 07月 27日 星期三 22 :42:44 CST 1 2</description><pubDate>Mon, 15 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>mysql</category><category>redis</category><category>docker</category><category>tomcat</category></item><item><title>使用dockefile创建镜像问题记录</title><link>https://arthaszyb.github.io/posts/shiyong-dockefile-chuangjian-jingxiang-wenti-jilu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shiyong-dockefile-chuangjian-jingxiang-wenti-jilu/</guid><description>使用 dockefile 创建镜像问题记录 2018 年 1 月 15 日 11:13 tail /var/log/message 可以看到有如下错误： docker: [error] mount.go:12 [warning]: couldn’t run auplink before unmount: exec:</description><pubDate>Mon, 15 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category></item><item><title>docker 容器中 crond服务启动后 无法执行</title><link>https://arthaszyb.github.io/posts/docker-rongqi-zhong-crond-fuwu-qidong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-rongqi-zhong-crond-fuwu-qidong/</guid><description>docker 容器中 crond 服务启动后 无法执行 2018 年 1 月 12 日 16:04 原创 大哥叔 2016-05-17 00:30:53 评论(0) 309人阅读 CentOS release 6.7 (Final) 内核版本 Linux test</description><pubDate>Fri, 12 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category><category>ssh</category><category>crontab</category></item><item><title>Docker常见命令---简易教程</title><link>https://arthaszyb.github.io/posts/docker-changjian-mingling-jianyi-jiaocheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-changjian-mingling-jianyi-jiaocheng/</guid><description>2018 年 1 月 11 日 20:21 Docker常见命令---简易教程 时间：2016-04-27 容器相关操作 获取容器相关信息 导出容器 执行 docker exec # 在容器里执行一个命令，可以执行bash进入交互式 镜像操作 镜像仓库(registry)操作 获取Container</description><pubDate>Thu, 11 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>nginx</category><category>docker</category><category>shell-scripting</category></item><item><title>Centos7部署Kubernetes集群 - 振宇要低调 - 博客园</title><link>https://arthaszyb.github.io/posts/centos7-bushu-kubernetes-jiqun-zhenyu-yaodi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/centos7-bushu-kubernetes-jiqun-zhenyu-yaodi/</guid><description>星期三, 一月 10, 2018 9:42 上午 已剪辑自 : https://www.cnblogs.com/zhenyuyaodidiao/p/6500830.html Yaujjijiii jdsdsss dsdsadsadas</description><pubDate>Wed, 10 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>kubernetes</category><category>ssl-tls</category><category>集群</category></item><item><title>Centos7部署Kubernetes集群</title><link>https://arthaszyb.github.io/posts/centos7-bushu-kubernetes-jiqun/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/centos7-bushu-kubernetes-jiqun/</guid><description>2018 年 1 月 10 日 9:38 Centos7 部署 Kubernetes 集群 1 、环境介绍及准备： 1.1 物理机操作系统 物理机操作系统采用 Centos7.3 64 位，细节如下。</description><pubDate>Wed, 10 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>iptables</category><category>systemd</category><category>selinux</category><category>docker</category><category>kubernetes</category></item><item><title>Ubuntu中useradd和adduser的区别</title><link>https://arthaszyb.github.io/posts/ubuntu-zhong-useradd-he-adduser-dequ/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ubuntu-zhong-useradd-he-adduser-dequ/</guid><description>2018年1月5日 9:47 Ubuntu中useradd和adduser的区别 在Ubuntu中创建新用户，通常会用到两个命令：useradd和adduser，虽然作用一样，但用法却不尽相同。 本文接下来便为读者带来具体的解释。</description><pubDate>Fri, 05 Jan 2018 00:00:00 GMT</pubDate><category>linux</category></item><item><title>Docker网络模式</title><link>https://arthaszyb.github.io/posts/docker-wangluo-moshi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-wangluo-moshi/</guid><description>2018 年 1 月 5 日 15:09 Docker网络模式 【编者的话】 本文是《Docker网络及服务发现》一书的一个章节，介绍了搭建Docker单主机网络的基础内容。 关于Docker网络的更多内容，包括多主机的网络，请参考该书的其他章节。</description><pubDate>Fri, 05 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>nginx</category><category>apache</category><category>iptables</category><category>docker</category><category>kubernetes</category></item><item><title>KVM-网络配置</title><link>https://arthaszyb.github.io/posts/kvm-wangluo-peizhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kvm-wangluo-peizhi/</guid><description>2018 年 1 月 2 日 11:51 KVM-网络配置 eeslyyuan 关注 2015.12.13 20:58 字数 1153 阅读 5483评论 0喜欢 7 qemu支持的网络模式 qemu向客户机提供了如下四种不同模式的网络 1、基于网桥的虚拟网卡 2、基于nat的虚拟网络 3、QEMU内置的用户网络模式</description><pubDate>Tue, 02 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>iptables</category><category>kvm</category><category>dhcp</category><category>ssl-tls</category><category>网络排查</category></item><item><title>主机无法连接VMware用NAT模式创建的子机</title><link>https://arthaszyb.github.io/posts/zhuji-wufa-lianjie-vmware-yong-nat/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zhuji-wufa-lianjie-vmware-yong-nat/</guid><description>主机无法连接 VMware 用 NAT 模式创建的子机 2018 年 1 月 2 日 11:51 现象：子机可以访问母机，反之不行， ping 也不通。 看网络连接，有个 vmnet1 ，网段与子机不是相同网段。 改为相同网段也不行。  解决：所看到的 vmnet1 实际是 vmware 创建的主机模式下的虚拟网卡。</description><pubDate>Tue, 02 Jan 2018 00:00:00 GMT</pubDate><category>container-virt</category><category>vmware</category><category>网络排查</category></item><item><title>BBR算法实测</title><link>https://arthaszyb.github.io/posts/bbr-suanfa-shice/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/bbr-suanfa-shice/</guid><description>BBR 算法实测 2017 年 12 月 28 日 19:56 环境： Google 云 GCE ，东亚 a 区 发行版： CentOS6 原系统： 3.10.0-514.26.2 原算法： cubic 升级后： 4.14.9-1.el7 新算法： BBr 注意：该算法优化作用仅限于数据发送者。</description><pubDate>Thu, 28 Dec 2017 00:00:00 GMT</pubDate><category>network</category><category>ssh</category><category>ssl-tls</category></item><item><title>使用Google Cloud Platform(GCP GCE)安装SSR+BBR教程</title><link>https://arthaszyb.github.io/posts/shiyong-google-cloud-platform-gcp-gce/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shiyong-google-cloud-platform-gcp-gce/</guid><description>2017 年 12 月 28 日 18:01 使用Google Cloud Platform(GCP GCE)安装SSR+BBR教程 技术 / 2017-05-29 / 34 条评论 文章目录 [隐藏] 一、注册GCP 二、创建实例 三、初步配置 四、配置SS以及BBR 五、效果 六、问题及参考 GCP是原GCE</description><pubDate>Thu, 28 Dec 2017 00:00:00 GMT</pubDate><category>network</category><category>ssh</category><category>ssl-tls</category></item><item><title>使用简单Linux命令搭建KVM云环境</title><link>https://arthaszyb.github.io/posts/shiyong-jiandan-linux-mingling-dajian-kvm/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shiyong-jiandan-linux-mingling-dajian-kvm/</guid><description>2017年12月21日 12:04 使用简单Linux命令搭建KVM云环境 责任编辑：editor005 作者：Sander Van Vugt | 2016-04-25 14:30:51 本文摘自：TechTarget中国 本地KVM(Kernel-based Virtual</description><pubDate>Thu, 21 Dec 2017 00:00:00 GMT</pubDate><category>linux</category><category>kvm</category><category>vmware</category><category>存储</category><category>网络排查</category></item><item><title>Linux 技巧：让进程在后台可靠运行的几种方法</title><link>https://arthaszyb.github.io/posts/linux-jiqiao-rangjin-chengzai-houtai-kekao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-jiqiao-rangjin-chengzai-houtai-kekao/</guid><description>2017年12月18日 17:25 Linux 技巧：让进程在后台可靠运行的几种方法 申 毅 2008 年 5 月 29 日发布 Weibo Google+ 用电子邮件发送本页面</description><pubDate>Mon, 18 Dec 2017 00:00:00 GMT</pubDate><category>linux</category><category>ssh</category><category>php</category><category>ssl-tls</category></item><item><title>openldap的安装备份与迁移（数据导入导出）</title><link>https://arthaszyb.github.io/posts/openldap-dean-zhuangbei-fenyu-qianyi-shuju/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/openldap-dean-zhuangbei-fenyu-qianyi-shuju/</guid><description>2017年12月15日 10:24 openldap的安装备份与迁移（数据导入导出） 2013年3月21日admin发表评论阅读评论 1、安装 安装方式上可以通过源码包和二进制包，我这里选择的是通过centos 的yum 二进制包安装。 安装步骤十分简单。</description><pubDate>Fri, 15 Dec 2017 00:00:00 GMT</pubDate><category>linux</category><category>mysql</category><category>ldap</category><category>备份恢复</category></item><item><title>openldap安装及常用配置（服务端配置亲测可用）</title><link>https://arthaszyb.github.io/posts/openldap-anzhuang-jichang-yongpei-zhi-fuwu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/openldap-anzhuang-jichang-yongpei-zhi-fuwu/</guid><description>2017年12月14日 11:14 openldap安装及常用配置（服务端配置亲测可用） April 20, 2015 openLDAP是LDAP（轻量目录访问协议）在linux系统上的实现，和windows下的AD域是一回事，主要是用来构建集中的身份验证系统，提供高效的查找和管理信息服务</description><pubDate>Thu, 14 Dec 2017 00:00:00 GMT</pubDate><category>linux</category><category>dns</category><category>nfs</category><category>ldap</category><category>ssl-tls</category><category>高可用</category></item><item><title>linux开启nscd服务缓存加速</title><link>https://arthaszyb.github.io/posts/linux-kaiqi-nscd-fuwu-huancun-jiasu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-kaiqi-nscd-fuwu-huancun-jiasu/</guid><description>2017年11月27日 16:59 linux开启nscd服务缓存加速 2014年8月23日admin发表评论阅读评论 这个问题是我修改了hosts文件后发现curl仍未生效后查到的，是由于nscd提供了hosts缓存导致的。</description><pubDate>Mon, 27 Nov 2017 00:00:00 GMT</pubDate><category>linux</category><category>nginx</category><category>dns</category><category>php</category></item><item><title>Docker教程：Docker镜像导出及迁移</title><link>https://arthaszyb.github.io/posts/docker-jiaocheng-docker-jingxiang-daochu-jiqian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-jiaocheng-docker-jingxiang-daochu-jiqian/</guid><description>2017 年 11 月 24 日 10:05 Docker教程：Docker镜像导出及迁移 标签： 迁移 存储 docker 2016-05-06 11:36 25993 人阅读 评论 (1) 收藏 举报 分类： Docker（8）</description><pubDate>Fri, 24 Nov 2017 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category><category>dns</category><category>rsync</category><category>vim</category><category>存储</category></item><item><title>御点docker部署记录</title><link>https://arthaszyb.github.io/posts/yudian-docker-bushu-jilu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yudian-docker-bushu-jilu/</guid><description>御点 docker 部署记录 2017 年 11 月 24 日 17:41 安装 docker 环境 用基础镜像创建一个容器； 在该容器中部署好御点环境。  yum install -y killall perl unzip sudo ；以及其他相关。</description><pubDate>Fri, 24 Nov 2017 00:00:00 GMT</pubDate><category>container-virt</category><category>iptables</category><category>docker</category><category>dns</category></item><item><title>Docker学习之路（六）用commit命令创建镜像</title><link>https://arthaszyb.github.io/posts/docker-xuexi-zhilu-liu-yong-commit/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-xuexi-zhilu-liu-yong-commit/</guid><description>2017 年 11 月 23 日 11:44 Aomine 2015年02月27日发布 赞 | 6 收藏 | 27 57.1k 次浏览 假期快要结束了，干点正事，接着Docker的学习。</description><pubDate>Thu, 23 Nov 2017 00:00:00 GMT</pubDate><category>container-virt</category><category>apache</category><category>docker</category><category>ssl-tls</category><category>git</category></item><item><title>如何把ISO镜像转换成Docker镜像</title><link>https://arthaszyb.github.io/posts/ruhe-ba-iso-jingxiang-zhuanhuan-cheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ruhe-ba-iso-jingxiang-zhuanhuan-cheng/</guid><description>最近开始研究docker，如果想要自己创建个镜像，必须从Docker Hub上面获取一个基础镜像来创建；对于我们公司是定制的ISO，我就在想有没有办法把ISO转换成Docker格式，然后上传到Docker Hub上作为基础镜像使用。</description><pubDate>Thu, 23 Nov 2017 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category></item><item><title>etcd 使用入门</title><link>https://arthaszyb.github.io/posts/etcd-shiyong-rumen/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/etcd-shiyong-rumen/</guid><description>2017 年 11 月 23 日 19:45 etcd 使用入门 BY CIZIXS AUGUST 02, 2016 2 COMMENTS TWEET LIKE +1 etcd 简介 coreos 开发的分布式服务系统，内部采用 raft 协议作为一致性算法。</description><pubDate>Thu, 23 Nov 2017 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category><category>kubernetes</category><category>dns</category><category>ssl-tls</category><category>git</category></item><item><title>Linux笔记 2017-11-21</title><link>https://arthaszyb.github.io/posts/linux-biji-2017-11-21/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-biji-2017-11-21/</guid><description>2017年11月21日 11:15</description><pubDate>Tue, 21 Nov 2017 00:00:00 GMT</pubDate><category>linux</category></item><item><title>yum安装出现Segmentation fault错误解决方法</title><link>https://arthaszyb.github.io/posts/yum-anzhuang-chuxian-segmentation-fault-cuowu-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yum-anzhuang-chuxian-segmentation-fault-cuowu-2/</guid><description>2017年11月21日 11:09 网上绝大部分解决方法是什么libz库的版本问题，都是错的。</description><pubDate>Tue, 21 Nov 2017 00:00:00 GMT</pubDate><category>linux</category><category>ssl-tls</category></item><item><title>yum安装出现Segmentation fault错误解决方法</title><link>https://arthaszyb.github.io/posts/yum-anzhuang-chuxian-segmentation-fault-cuowu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yum-anzhuang-chuxian-segmentation-fault-cuowu/</guid><description>2017年11月21日 11:09 网上绝大部分解决方法是什么libz库的版本问题，都是错的。</description><pubDate>Tue, 21 Nov 2017 00:00:00 GMT</pubDate><category>linux</category><category>ssl-tls</category></item><item><title>php扩展的问题</title><link>https://arthaszyb.github.io/posts/php-kuozhan-dewen-ti/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/php-kuozhan-dewen-ti/</guid><description>2017年11月20日 14:50 一般添加扩展步骤： 进入php源码目录（非程序目录哈，与程序版本一致）下的ext目录下的对应的扩展目录,如pgsql，执行phpize命令用于生成该目录下的configure文件，这个命令是要用程序目录的路径的，如/usr/local/app/php/bin/phpize</description><pubDate>Mon, 20 Nov 2017 00:00:00 GMT</pubDate><category>php</category><category>php</category></item><item><title>更换登录方式后无法登录的解决方法</title><link>https://arthaszyb.github.io/posts/genghuan-denglu-fangshi-houwu-fadeng-lude/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/genghuan-denglu-fangshi-houwu-fadeng-lude/</guid><description>2017年11月16日 11:48 触发场景： 重装系统，登录方式或密钥密码均不变。 登录失败。 提示如下 更换登录方式，比如从密钥登录变为密码登录。 提示也一样。  IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!</description><pubDate>Thu, 16 Nov 2017 00:00:00 GMT</pubDate><category>linux</category><category>ssh</category></item><item><title>TC引起的问题排查</title><link>https://arthaszyb.github.io/posts/tc-yinqi-dewen-tipai-cha/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/tc-yinqi-dewen-tipai-cha/</guid><description>2017年10月19日 17:59 错误 tc的状态检查： tc -s -d qdisc show dev eth1 关闭tc限制 tc qdisc del dev eth1 root</description><pubDate>Thu, 19 Oct 2017 00:00:00 GMT</pubDate><category>linux</category></item><item><title>python多进程文件操作的一些理解</title><link>https://arthaszyb.github.io/posts/python-duojin-chengwen-jiancao-zuode-yixie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-duojin-chengwen-jiancao-zuode-yixie/</guid><description>2017 年 9 月 29 日 17:05 python多进程文件操作的一些理解 作者 有点d伤 关注 2017.01.13 15:35 字数 52 阅读 239评论 0喜欢 0 如果多进程都对同一个文件进行写入，那么就会出现多个进程争夺资源的问题。 会使写入的文件内容错乱。</description><pubDate>Fri, 29 Sep 2017 00:00:00 GMT</pubDate><category>python</category><category>python</category></item><item><title>Linux服务器如何查看自己的公网出口IP地址</title><link>https://arthaszyb.github.io/posts/linux-fuwu-qiru-hecha-kanzi-jide/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-fuwu-qiru-hecha-kanzi-jide/</guid><description>2017年9月28日 10:57 Linux服务器如何查看自己的公网出口IP地址 linux 21运维 9个月前 (12-23) 2159浏览 0评论 windows服务器我们都知道如何获取公网IP，直接ip.cn或者ip138.com即可查到。</description><pubDate>Thu, 28 Sep 2017 00:00:00 GMT</pubDate><category>linux</category><category>rsync</category><category>shell-scripting</category></item><item><title>Python 编码转换与中文处理</title><link>https://arthaszyb.github.io/posts/python-bianma-zhuanhuan-yuzhong-wenchu-li/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-bianma-zhuanhuan-yuzhong-wenchu-li/</guid><description>2017 年 9 月 28 日 17:56 Python 编码转换与中文处理 作者 hxzqlh 关注 2014.10.14 12:25 字数 2094 阅读 36683评论 4喜欢 38 python 中的 unicode 是让人很困惑、比较难以理解的问题.</description><pubDate>Thu, 28 Sep 2017 00:00:00 GMT</pubDate><category>python</category><category>ssh</category><category>python</category><category>php</category></item><item><title>朴素贝叶斯分类器的应用</title><link>https://arthaszyb.github.io/posts/pusu-beiye-sifen-leiqi-deying-yong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/pusu-beiye-sifen-leiqi-deying-yong/</guid><description>2017 年 9 月 25 日 18:52 朴素贝叶斯分类器的应用 作者： 阮一峰 日期： 2013 年 12 月 16 日 生活中很多场合需要用到分类，比如新闻分类、病人分类等等。  本文介绍 朴素贝叶斯分类器 （ Naive Bayes classifier ），它是一种简单有效的常用分类算法。</description><pubDate>Mon, 25 Sep 2017 00:00:00 GMT</pubDate><category>ai</category></item><item><title>设备VMnet0上的网络桥接当前未在运行</title><link>https://arthaszyb.github.io/posts/shebei-vmnet0-shangde-wangluo-qiaojie-dangqian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shebei-vmnet0-shangde-wangluo-qiaojie-dangqian/</guid><description>设备 VMnet0 上的网络桥接当前未在运行 2017 年 9 月 25 日 15:32 设备VMnet0上的网络桥接当前未在运行 该虚拟机可能无法与主机或你的网络上的其他机器进行通信。 虚拟设备Ethernet0将断开连接。 这个是什么问题啊？  2016-03-10 源自： Linux达人养成计划 I...</description><pubDate>Mon, 25 Sep 2017 00:00:00 GMT</pubDate><category>python</category><category>vmware</category></item><item><title>mysql如何使用load data infile导入中文数据</title><link>https://arthaszyb.github.io/posts/mysql-ruhe-shiyong-load-data-infile/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-ruhe-shiyong-load-data-infile/</guid><description>2017 年 9 月 15 日 17:30 mysql如何使用load data infile导入中文数据 (2015-08-05 17:21:40) 转载 ▼ 标签： 佛学 分类： MySQL mysql 导入数据时，可以使用 load data infile ，导入数据很快，当需要导入大量数据的时候及其有效。</description><pubDate>Fri, 15 Sep 2017 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>php</category></item><item><title>基于 Spark 的文本情感分析</title><link>https://arthaszyb.github.io/posts/jiyu-spark-dewen-benqing-ganfen-xi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiyu-spark-dewen-benqing-ganfen-xi/</guid><description>2017 年 9 月 12 日 14:36 基于 Spark 的文本情感分析 xiaoli.he 发布于 2016-05-31 分类： 编程技术 阅读(147) 评论(0) IBM 公司在 2015 年对外宣告了一个新的 科技 和商务时代的来临—认知时代。</description><pubDate>Tue, 12 Sep 2017 00:00:00 GMT</pubDate><category>bigdata</category><category>python</category><category>ssl-tls</category><category>hadoop</category><category>存储</category><category>java</category></item><item><title>MongoDB + Spark: 完整的大数据解决方案</title><link>https://arthaszyb.github.io/posts/mongodb-spark-wanzheng-deda-shuju-jiejue/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mongodb-spark-wanzheng-deda-shuju-jiejue/</guid><description>2017 年 9 月 12 日 11:54 MongoDB + Spark: 完整的大数据解决方案 九月 2, 2016 TJ的博客 、 博客 yingmin MongoDB上海的活动已经结束快1个月了，我们再来回顾一下TJ在大会上进行的精彩分享吧~ MongoDB + Spark： 完整的大数据计算解决方案。</description><pubDate>Tue, 12 Sep 2017 00:00:00 GMT</pubDate><category>bigdata</category><category>apache</category><category>python</category><category>mongodb</category><category>hadoop</category><category>存储</category></item><item><title>朴素贝叶斯</title><link>https://arthaszyb.github.io/posts/pusu-beiye-si/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/pusu-beiye-si/</guid><description>2017 年 8 月 10 日 19:17 朴素贝叶斯属于贝叶斯算法中的一个分支。 sklearn.naivebayes.GaussianNB 用于分类场景。 属于监督学习。</description><pubDate>Thu, 10 Aug 2017 00:00:00 GMT</pubDate><category>ai</category></item><item><title>利用Python进行数据分析(7) pandas基础: Series和DataFrame的简单介绍</title><link>https://arthaszyb.github.io/posts/liyong-python-jinxing-shuju-fenxi-7/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/liyong-python-jinxing-shuju-fenxi-7/</guid><description>2017 年 8 月 9 日 17:02 利用 Python 进行数据分析 (7) pandas 基础 : Series 和 DataFrame 的简单介绍 一、 pandas 是什么 pandas 是基于 NumPy 的一个 Python 数据分析包，主要目的是为了 数据分析 。</description><pubDate>Wed, 09 Aug 2017 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>ssl-tls</category></item><item><title>cs抓包探测</title><link>https://arthaszyb.github.io/posts/cs-zhuabao-tance/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/cs-zhuabao-tance/</guid><description>cs 抓包探测 2017 年 8 月 1 日 11:44 规则，注意不要只抓回包或去包： ip.dst == 111.30.135.186 or ip.dst == 123.151.176.26 or ip.dst == 123.151.71.34 or ip.dst == 219.133.60.246 or</description><pubDate>Tue, 01 Aug 2017 00:00:00 GMT</pubDate><category>network</category><category>网络排查</category></item><item><title>计算机网络协议第十章，TCP协议之滑动窗口</title><link>https://arthaszyb.github.io/posts/jisuan-jiwang-luoxie-yidi-shizhang-tcp/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jisuan-jiwang-luoxie-yidi-shizhang-tcp/</guid><description>计算机网络协议第十章， TCP 协议之滑动窗口 2017 年 8 月 1 日 10:52 标签： window 滑动窗口 tcp windowscale 2015-03-28 10:29 447 人阅读 评论 (0) 收藏 举报 分类： 计算机网络协议（ 8 ） 版权声明：本文为博主原创文章，未经博主允许不得转载。</description><pubDate>Tue, 01 Aug 2017 00:00:00 GMT</pubDate><category>network</category></item><item><title>浅谈TCP的窗口字段</title><link>https://arthaszyb.github.io/posts/qiantan-tcp-dechuang-kouzi-duan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/qiantan-tcp-dechuang-kouzi-duan/</guid><description>浅谈 TCP 的窗口字段 2017 年 8 月 1 日 10:51 浅谈TCP的窗口字段 2015-02-08 23:38:37 标签： 网络 TCP 窗口 初学者 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Tue, 01 Aug 2017 00:00:00 GMT</pubDate><category>network</category><category>ftp</category><category>网络排查</category></item><item><title>TCP的几个状态 (SYN, FIN, ACK, PSH, RST, URG)</title><link>https://arthaszyb.github.io/posts/tcp-deji-gezhuang-tai-syn-fin/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/tcp-deji-gezhuang-tai-syn-fin/</guid><description>TCP 的几个状态 (SYN, FIN, ACK, PSH, RST, URG) 2017 年 8 月 1 日 11:20 TCP 的几个状态 (SYN, FIN, ACK, PSH, RST, URG) 发布时间 : 2012-03-17 00:20 文章来源 : 网络 文章作者 : 佚名 点击次数 : 次</description><pubDate>Tue, 01 Aug 2017 00:00:00 GMT</pubDate><category>network</category></item><item><title>Wireshark基本介绍和学习TCP三次握手</title><link>https://arthaszyb.github.io/posts/wireshark-jiben-jieshao-hexue-xi-tcp/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wireshark-jiben-jieshao-hexue-xi-tcp/</guid><description>Wireshark 基本介绍和学习 TCP 三次握手 2017 年 8 月 1 日 10:10 Wireshark基本介绍和学习TCP三次握手 之前写过一篇博客： 用 Fiddler 来调试HTTP，HTTPS 。</description><pubDate>Tue, 01 Aug 2017 00:00:00 GMT</pubDate><category>network</category><category>ssl-tls</category><category>网络排查</category></item><item><title>Wireshark 数据分析（三）</title><link>https://arthaszyb.github.io/posts/wireshark-shuju-fenxi-san/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wireshark-shuju-fenxi-san/</guid><description>Wireshark 数据分析（三） 2017 年 8 月 1 日 10:51 TCP层分析 传输控制协议，为数据提供可靠的端到端传输，处理数据的顺序和错误恢复，保证数据能够到达其应到达的地方 Transmission Control Protocol, Src Port: 52745 (52745), Dst</description><pubDate>Tue, 01 Aug 2017 00:00:00 GMT</pubDate><category>network</category><category>网络排查</category></item><item><title>机器学习常见算法分类汇总</title><link>https://arthaszyb.github.io/posts/jiqi-xuexi-changjian-suanfa-fenlei-huizong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiqi-xuexi-changjian-suanfa-fenlei-huizong/</guid><description>2017 年 7 月 25 日 17:52 阅读目录 1.  学习方式 1.1 监督式学习 1.2 非监督式学习 1.3 半监督式学习 1.4 强化学习 2.</description><pubDate>Tue, 25 Jul 2017 00:00:00 GMT</pubDate><category>ai</category><category>hadoop</category></item><item><title>多态和封装</title><link>https://arthaszyb.github.io/posts/duotai-hefeng-zhuang/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/duotai-hefeng-zhuang/</guid><description>2017 年 7 月 21 日 16:23 多态和封装 前面讲过的“继承”，是类的一个重要特征，在编程中用途很多。 这里要说两个在理解和实践上有争议的话题：多态和封装。 所谓争议，多来自于对同一个现象不同角度的理解，特别是有不少经验丰富的程序员，还从其它语言的角度来诠释 Python 的多态等。</description><pubDate>Fri, 21 Jul 2017 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>java</category></item><item><title>numpy学习</title><link>https://arthaszyb.github.io/posts/numpy-xuexi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/numpy-xuexi/</guid><description>numpy 学习 2017 年 7 月 21 日 15:36 定义数组 .  可将 list 或者 tuple 等转化为 numpy 数组。  a=np.array([1,2,3,4]) ； 行和列 给一个数组增加一列 c[lista,arryb]</description><pubDate>Fri, 21 Jul 2017 00:00:00 GMT</pubDate><category>python</category></item><item><title>原sql语句中join on和where用法的区别和联系</title><link>https://arthaszyb.github.io/posts/yuan-sql-yuju-zhong-join-on/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yuan-sql-yuju-zhong-join-on/</guid><description>2017 年 7 月 18 日 10:01 原 sql语句中join on和where用法的区别和联系 收藏 一个破名想半年 发表于 8个月前 阅读 375 收藏 0 点赞 0 评论 0 摘要: join称为显性连接，where称为隐性连接 对于要达到同一查询结果而言，join和where的用法是语句格式不一样</description><pubDate>Tue, 18 Jul 2017 00:00:00 GMT</pubDate><category>bigdata</category><category>ssl-tls</category></item><item><title>理解linux网络的tcp超时和重传</title><link>https://arthaszyb.github.io/posts/lijie-linux-wangluo-de-tcp-chaoshi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/lijie-linux-wangluo-de-tcp-chaoshi/</guid><description>2017 年 7 月 14 日 14:40 理解linux网络的tcp超时和重传 2016-6-05 内核 , 运维 rfyiamcool 3,680 views 怎么突然会说起这么底层的话题， 这两天跟小白同学聊了GO服务端开发的事情，重点在于tcp重传个超时的事情。</description><pubDate>Fri, 14 Jul 2017 00:00:00 GMT</pubDate><category>network</category><category>python</category></item><item><title>一站式学习Wireshark（四）：网络性能排查之TCP重传与重复ACK</title><link>https://arthaszyb.github.io/posts/yizhan-shixue-xi-wireshark-si-wangluo/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yizhan-shixue-xi-wireshark-si-wangluo/</guid><description>2017 年 7 月 13 日 11:52 一站式学习Wireshark（四）：网络性能排查之TCP重传与重复ACK 2014/06/17 · IT 技术 · WireShark 分享到：77 原文出处： EMC中文支持论坛 作为网络管理员，很多时间必然会耗费在修复慢速服务器和其他终端。</description><pubDate>Thu, 13 Jul 2017 00:00:00 GMT</pubDate><category>network</category></item><item><title>Wireshark的简单使用小结</title><link>https://arthaszyb.github.io/posts/wireshark-dejian-danshi-yongxiao-jie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wireshark-dejian-danshi-yongxiao-jie/</guid><description>2017 年 7 月 13 日 11:51 Wireshark 的简单使用小结 Wireshark （前称 Ethereal ）是一个网络封包分析软件。 网络封包分析软件的功能是截取网络封包，并尽可能显示出最为详细的网络封包资料。</description><pubDate>Thu, 13 Jul 2017 00:00:00 GMT</pubDate><category>network</category><category>网络排查</category></item><item><title>几种TCP连接中出现RST的情况</title><link>https://arthaszyb.github.io/posts/jizhong-tcp-lianjie-zhongchu-xian-rst/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jizhong-tcp-lianjie-zhongchu-xian-rst/</guid><description>2017 年 7 月 12 日 16:13 几种TCP连接中出现RST的情况 应该没有人会质疑，现在是一个网络时代了。 应该不少程序员在编程中需要考虑多机、局域网、广域网的各种问题。 所以网络知识也是避免不了学习的。 而且笔者一直觉得TCP/IP网络知识在一个程序员知识体系中必需占有一席之地的。</description><pubDate>Wed, 12 Jul 2017 00:00:00 GMT</pubDate><category>network</category><category>dns</category><category>ssl-tls</category><category>网络排查</category></item><item><title>一些较难的sql</title><link>https://arthaszyb.github.io/posts/yixie-jiaonan-de-sql/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yixie-jiaonan-de-sql/</guid><description>一些较难的 sql 2017 年 7 月 5 日 22:32 按天统计累积值 select realdonedate,(select count(1) from t2017first395sersnew t where t.realdonedate &lt;</description><pubDate>Wed, 05 Jul 2017 00:00:00 GMT</pubDate><category>database</category></item><item><title>show中创建一个动态sql</title><link>https://arthaszyb.github.io/posts/show-zhongchuang-jianyi-gedong-tai-sql/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/show-zhongchuang-jianyi-gedong-tai-sql/</guid><description>show 中创建一个动态 sql 2017 年 6 月 28 日 10:13 其实总结一句：就是 sql 语句中哪里需要动态替换的，就隔开做条件匹配，字符串替换，本质上还是 html 的字符串替换而已。</description><pubDate>Wed, 28 Jun 2017 00:00:00 GMT</pubDate><category>bigdata</category></item><item><title>left jion on(多个条件)-CSDN论坛-CSDN.NET-中国最大的IT技术社区</title><link>https://arthaszyb.github.io/posts/left-jion-on-duoge-tiaojian-csdn/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/left-jion-on-duoge-tiaojian-csdn/</guid><description>星期二, 六月 27, 2017 12:42 上午 已剪辑自 : http://bbs.csdn.net/topics/391073783</description><pubDate>Tue, 27 Jun 2017 00:00:00 GMT</pubDate><category>bigdata</category></item><item><title>SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别 - shadowyelling的专栏 - 博客频道 - CSDN.NET</title><link>https://arthaszyb.github.io/posts/sql-zhong-left-join-yu-right/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/sql-zhong-left-join-yu-right/</guid><description>星期二, 六月 27, 2017 12:41 上午 已剪辑自 : http://blog.csdn.net/shadowyelling/article/details/7684714 版权声明：本文为博主原创文章，未经博主允许不得转载。</description><pubDate>Tue, 27 Jun 2017 00:00:00 GMT</pubDate><category>bigdata</category></item><item><title>工厂任务错误的处理方法记录</title><link>https://arthaszyb.github.io/posts/gongchang-renwu-cuowu-dechu-lifang-faji/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/gongchang-renwu-cuowu-dechu-lifang-faji/</guid><description>2017 年 6 月 23 日 20:21 非语法错误， 错误如下： 解决（该解决方法是错误的，因为原因不是资源不足）： 这个怀疑是资源不足或 mapreduce 资源分配不均引起，加上以下解决 set mapred.reduce.tasks=200; select 语句最后可附上 distribute by</description><pubDate>Fri, 23 Jun 2017 00:00:00 GMT</pubDate><category>bigdata</category></item><item><title>hive中与sql不一致的函数</title><link>https://arthaszyb.github.io/posts/hive-zhongyu-sql-buyi-zhide-hanshu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/hive-zhongyu-sql-buyi-zhide-hanshu/</guid><description>hive 中与 sql 不一致的函数 2017 年 6 月 16 日 10:43 字符串截取 sql 中用substringinde x ， hive 中默认不认，可用substring函数代替</description><pubDate>Fri, 16 Jun 2017 00:00:00 GMT</pubDate><category>bigdata</category><category>hadoop</category></item><item><title>MySQL字符串函数：字符串截取</title><link>https://arthaszyb.github.io/posts/mysql-zifu-chuanhan-shu-zifu-chuanjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-zifu-chuanhan-shu-zifu-chuanjie/</guid><description>2017 年 6 月 14 日 11:43 MySQL 字符串函数：字符串截取 博客分类： MySQL MySQL 字符串函数 字符串截取 substring 截取字符串 MySQL 字符串截取函数： left(), right(), substring(), substringindex() 。</description><pubDate>Wed, 14 Jun 2017 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>java</category></item><item><title>Nginx 反向代理、负载均衡、页面缓存、URL重写及读写分离详解</title><link>https://arthaszyb.github.io/posts/nginx-fanxiang-daili-fuzai-junheng-yemian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-fanxiang-daili-fuzai-junheng-yemian/</guid><description>2017 年 6 月 14 日 17:00 Nginx 反向代理、负载均衡、页面缓存、URL重写及读写分离详解 2013-09-04 14:45:43 标签： 读写分离 页面缓存 URL重写 Nginx 反向代理 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Wed, 14 Jun 2017 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>apache</category><category>iptables</category><category>selinux</category><category>lvs</category></item><item><title>wireshark过滤语法总结</title><link>https://arthaszyb.github.io/posts/wireshark-guol-yufa-zongjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wireshark-guol-yufa-zongjie/</guid><description>2017 年 6 月 13 日 14:40 wireshark过滤语法总结 标签： tcp dst string stream filter session 2011-12-09 22:38 101219 人阅读 评论 (3) 收藏 举报 版权声明：本文为博主原创文章，未经博主允许不得转载。</description><pubDate>Tue, 13 Jun 2017 00:00:00 GMT</pubDate><category>network</category><category>dns</category><category>网络排查</category></item><item><title>用Wireshark简单分析HTTPS传输过程-抓包过程</title><link>https://arthaszyb.github.io/posts/yong-wireshark-jiandan-fenxi-https-chuanshu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yong-wireshark-jiandan-fenxi-https-chuanshu/</guid><description>2017 年 6 月 13 日 14:40 用Wireshark简单分析HTTPS传输过程-抓包过程 常运 2014-07-09 +6 共 1727558 人围观 ，发现 18 个不明物体 系统安全 上次写的文章 理解SSL（https）中的对称加密与非对称加密 ，一些小伙伴们说要如果有抓包过程</description><pubDate>Tue, 13 Jun 2017 00:00:00 GMT</pubDate><category>network</category><category>ssl-tls</category><category>网络排查</category></item><item><title>python中文转换url编码</title><link>https://arthaszyb.github.io/posts/python-zhongwen-zhuanhuan-url-bianma/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-zhongwen-zhuanhuan-url-bianma/</guid><description>2017 年 6 月 7 日 14:37 python中文转换url编码 2009-09-05 21:45:43 标签： 休闲 中文转换url编码 职场 今天要处理百度贴吧的东西。 想要做一个关键词的list，每次需要时，直接添加 到list里面就可以了。</description><pubDate>Wed, 07 Jun 2017 00:00:00 GMT</pubDate><category>python</category><category>python</category></item><item><title>Nginx 四层负载均衡</title><link>https://arthaszyb.github.io/posts/nginx-siceng-fuzai-junheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-siceng-fuzai-junheng/</guid><description>Nginx 四层负载均衡 2017 年 6 月 2 日 15:44 03-31 10:22 本篇摘自《亿级流量网站架构核心技术》第二章 Nginx负载均衡与反向代理 部分内容。</description><pubDate>Fri, 02 Jun 2017 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>mysql</category><category>haproxy</category><category>备份恢复</category><category>负载均衡</category></item><item><title>hive查询任务出现no reduce operator错误解决办法</title><link>https://arthaszyb.github.io/posts/hive-chaxun-renwu-chuxian-no-reduce/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/hive-chaxun-renwu-chuxian-no-reduce/</guid><description>hive 查询任务出现no reduce operator错误解决办法 2017 年 5 月 25 日 9:45 执行简单的 fetch 任务： hive (default) select regexpextract(srcip,&apos;(\\d+\\.\\d+)\\.(\\d+\\.\\d+)&apos;,1) from</description><pubDate>Thu, 25 May 2017 00:00:00 GMT</pubDate><category>bigdata</category><category>hadoop</category></item><item><title>Mysql字符串截取函数SUBSTRING的用法说明</title><link>https://arthaszyb.github.io/posts/mysql-zifu-chuanjie-quhan-shu-substring/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-zifu-chuanjie-quhan-shu-substring/</guid><description>Mysql 字符串截取函数 SUBSTRING 的用法说明 Mysql字符串截取函数SUBSTRING的用法说明 作者： 字体： [ 增加 减小 ] 类型：转载 时间： 2011-06-24 我要评论 今天建视图时，用到了 MySQL 中的字符串截取，很是方便。</description><pubDate>Wed, 24 May 2017 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>php</category><category>存储</category><category>java</category></item><item><title>为PHP增加OpenSSL扩展</title><link>https://arthaszyb.github.io/posts/wei-php-zengjia-openssl-kuozhan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wei-php-zengjia-openssl-kuozhan/</guid><description>2017年5月9日 11:42 为PHP增加OpenSSL扩展 2014-05-26 23:32:26 以前的php不带openssl模块，而这次的程序要使用苹果apple的apns推送服务，需要openssl的支持。  所以就给原来的php增加了openssl模块。</description><pubDate>Tue, 09 May 2017 00:00:00 GMT</pubDate><category>php</category><category>apache</category><category>mysql</category><category>php</category><category>ssl-tls</category></item><item><title>ORALC的STDDEV、STDDEV_POP、STDDEV_SAMP等函数 - 潇湘隐者 - 博客园</title><link>https://arthaszyb.github.io/posts/oralc-de-stddev-stddev-pop-stddev/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/oralc-de-stddev-stddev-pop-stddev/</guid><description>星期五, 四月 21, 2017 5:25 下午 已剪辑自 : http://www.cnblogs.com/kerrycode/archive/2011/06/03/2063860.html 今天一个同事碰到一个问题：用SQL求一个指标的计算公式： 其中 Xi 即指标， X — 指标均值， N 是指标个数</description><pubDate>Fri, 21 Apr 2017 00:00:00 GMT</pubDate><category>network</category></item><item><title>收集整理的中国四大骨干网及ChinaNet详细介绍 - Bisheng.Hu - 51CTO技术博客</title><link>https://arthaszyb.github.io/posts/shouji-zhengli-dezhong-guosi-dagu-ganwang/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shouji-zhengli-dezhong-guosi-dagu-ganwang/</guid><description>星期四, 三月 9, 2017 9:16 上午 已剪辑自 : http://bisheng.blog.51cto.com/409831/383711 CHINANET外，CERNET，CSTNET，CHINAGBN，合起来称为中国四大骨干网。</description><pubDate>Thu, 09 Mar 2017 00:00:00 GMT</pubDate><category>network</category><category>监控告警</category><category>高可用</category></item><item><title>TCP 的那些事儿（上） | | 酷 壳 - CoolShell</title><link>https://arthaszyb.github.io/posts/tcp-dena-xieshi-er-shang-ku/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/tcp-dena-xieshi-er-shang-ku/</guid><description>星期一, 三月 6, 2017 11:33 上午 已剪辑自: http://coolshell.cn/articles/11564.html TCP是一个巨复杂的协议，因为他要解决很多问题，而这些问题又带出了很多子问题和阴暗面。 所以学习TCP本身是个比较痛苦的过程，但对于学习的过程却能让人有很多收获。</description><pubDate>Mon, 06 Mar 2017 00:00:00 GMT</pubDate><category>linux</category><category>ssl-tls</category><category>网络排查</category></item><item><title>TCP 的那些事儿（下） | | 酷 壳 - CoolShell</title><link>https://arthaszyb.github.io/posts/tcp-dena-xieshi-er-xia-ku/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/tcp-dena-xieshi-er-xia-ku/</guid><description>星期一, 三月 6, 2017 11:33 上午 已剪辑自: http://coolshell.cn/articles/11609.html 这篇文章是下篇，所以如果你对TCP不熟悉的话，还请你先看看上篇《TCP的那些事儿（上）》 上篇中，我们介绍了TCP的协议头、状态机、数据重传中的东西。</description><pubDate>Mon, 06 Mar 2017 00:00:00 GMT</pubDate><category>linux</category><category>ssh</category><category>ssl-tls</category><category>监控告警</category></item><item><title>本博客 Nginx 配置之性能篇 | JerryQu 的小站</title><link>https://arthaszyb.github.io/posts/benbo-ke-nginx-peizhi-zhixing-nengpian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/benbo-ke-nginx-peizhi-zhixing-nengpian/</guid><description>星期二, 二月 28, 2017 9:20 上午 Nginx 配置之性能篇 文章目录 TCP 优化 开启 Gzip 开启缓存 服务端 客户端 使用 SPDY （ HTTP/2 ） HTTPS 优化 在介绍完我博客（ imququ.com ）的 Nginx 配置中 与安全有关的一些配置 后</description><pubDate>Tue, 28 Feb 2017 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>dns</category><category>ssl-tls</category><category>负载均衡</category></item><item><title>Docker的Windows容器初体验</title><link>https://arthaszyb.github.io/posts/docker-de-windows-rongqi-chuti-yan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/docker-de-windows-rongqi-chuti-yan/</guid><description>来源: 360圈 发布时间：2016-10-27 10:23:18 | 浏览次数：2317 | 关键词：容器,Windows,Docker,我们 热门标签： 情感社区 角色扮演 策略战棋 360浏览器 交友网站 同城交友 最近微软发布了 Windows Server</description><pubDate>Fri, 10 Feb 2017 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category><category>dns</category><category>ssl-tls</category><category>git</category></item><item><title>为什么有人说 Python 的多线程是鸡肋呢？ - Python - 知乎</title><link>https://arthaszyb.github.io/posts/weishen-meyou-renshuo-python-deduo-xiancheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/weishen-meyou-renshuo-python-deduo-xiancheng/</guid><description>星期五, 二月 10, 2017 11:03 上午 Clipped from: https://www.zhihu.com/question/23474039</description><pubDate>Fri, 10 Feb 2017 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>ssl-tls</category></item><item><title>为什么在Python里推荐使用多进程而不是多线程？</title><link>https://arthaszyb.github.io/posts/weishen-mezai-python-litui-jianshi-yongduo/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/weishen-mezai-python-litui-jianshi-yongduo/</guid><description>2017 年 2 月 10 日 11:10 为什么在 Python 里推荐使用多进程而不是多线程？  发表于 2016/4/25 16:19:09 1289 人阅读 分类： Python 转载地址 最近在看 Python 的多线程，经常我们会听到老手说：“ Python 下多线程是鸡肋，推荐使用多进程！</description><pubDate>Fri, 10 Feb 2017 00:00:00 GMT</pubDate><category>python</category><category>python</category></item><item><title>多进程查询大量IP信息并入库</title><link>https://arthaszyb.github.io/posts/duojin-chengcha-xunda-liang-ip-xinxi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/duojin-chengcha-xunda-liang-ip-xinxi/</guid><description>多进程查询大量 IP 信息并入库 2017 年 2 月 9 日 17:22 import os import struct import socket import urllib2 import json import sys import time import multiprocessing from</description><pubDate>Thu, 09 Feb 2017 00:00:00 GMT</pubDate><category>python</category><category>mysql</category><category>python</category></item><item><title>IP地址倒置</title><link>https://arthaszyb.github.io/posts/ip-dizhi-daozhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ip-dizhi-daozhi/</guid><description>IP 地址倒置 2017 年 2 月 9 日 11:55 def ipreverse(srcip): &apos;&apos;&apos;ip 地址倒置，如 203.205.142.202 转换为 202.142.205.203&apos;&apos;&apos; iplist=srcip.split(&apos;.&apos;) iplist.reverse()</description><pubDate>Thu, 09 Feb 2017 00:00:00 GMT</pubDate><category>python</category></item><item><title>IP与字符串转换</title><link>https://arthaszyb.github.io/posts/ip-yuzi-fuchuan-zhuanhuan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ip-yuzi-fuchuan-zhuanhuan/</guid><description>IP 与字符串转换 2017 年 2 月 9 日 11:48 IP 转换为字符串： import struct,socket; struct.unpack(&quot;=I&quot;, socket.inetaton(&quot;203.205.179.171&quot;))[0] 字符串转换为 ip ： import struct,socket;</description><pubDate>Thu, 09 Feb 2017 00:00:00 GMT</pubDate><category>python</category></item><item><title>脚本并发的记录</title><link>https://arthaszyb.github.io/posts/jiaoben-bingfa-deji-lu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiaoben-bingfa-deji-lu/</guid><description>2017 年 2 月 9 日 17:47 目标：对几十万条客户端 IP 数据进行一次性读取并对其中约一半的数据通过查询 IP 库获取位置和运营商信息并 update 到原库。  问题：发现基本每秒才完成 1 条数据的更新，太慢太慢了。 要加速！  方法： 第一步： 脚本并发。  多进程 or 多线程？</description><pubDate>Thu, 09 Feb 2017 00:00:00 GMT</pubDate><category>python</category></item><item><title>sql语句含特殊符号的处理</title><link>https://arthaszyb.github.io/posts/sql-yuju-hante-shufu-haode-chuli/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/sql-yuju-hante-shufu-haode-chuli/</guid><description>sql 语句含特殊符号的处理 2017 年 2 月 5 日 11:44 sql 语句中含有逗号时只需写成两个 , 即可 ， ’ 同理 。</description><pubDate>Sun, 05 Feb 2017 00:00:00 GMT</pubDate><category>database</category></item><item><title>python通过get,post方式发送http请求和接收http响应的方法</title><link>https://arthaszyb.github.io/posts/python-tongguo-get-post-fangshi-fasong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-tongguo-get-post-fangshi-fasong/</guid><description>2016 年 9 月 1 日 10:25 python通过get,post方式发送http请求和接收http响应的方法 作者：无影 这篇文章主要介绍了python通过get,post方式发送http请求和接收http响应的方法,涉及Python使用urllib模块与urllib2模块实现get与post发送数据的相关技</description><pubDate>Thu, 01 Sep 2016 00:00:00 GMT</pubDate><category>python</category><category>apache</category><category>python</category><category>ssl-tls</category></item><item><title>Python主机监控数据收集</title><link>https://arthaszyb.github.io/posts/python-zhuji-jiankong-shuju-shouji/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-zhuji-jiankong-shuju-shouji/</guid><description>原创 2016-08-23 智文 OpenSkill 收集服务器主机信息目的，方便一目了然的去查看，执行dmidecode 感觉比较乱。 下面程序可以通过split函数等切片方式进行编写。</description><pubDate>Tue, 23 Aug 2016 00:00:00 GMT</pubDate><category>python</category><category>vmware</category><category>python</category><category>监控告警</category></item><item><title>MySQLdb中sql执行_sql和_args的注意点</title><link>https://arthaszyb.github.io/posts/mysqldb-zhong-sql-zhixing-sql-he/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysqldb-zhong-sql-zhixing-sql-he/</guid><description>args只能占位条件变量，如where中的值，而表名这种不能占位。 可使用普通format变量替换法。</description><pubDate>Sun, 07 Aug 2016 00:00:00 GMT</pubDate><category>python</category><category>mysql</category></item><item><title>使用zsh替换bash</title><link>https://arthaszyb.github.io/posts/shiyong-zsh-tihuan-bash/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shiyong-zsh-tihuan-bash/</guid><description>yum install zsh Changing your default shell After installing one the above shells, you can execute that shell inside of your current shell, by just running its</description><pubDate>Fri, 22 Jul 2016 00:00:00 GMT</pubDate><category>linux</category></item><item><title>Amazon AWS —— 免费的午餐不好吃</title><link>https://arthaszyb.github.io/posts/amazon-aws-mianfei-dewu-canbu-haochi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/amazon-aws-mianfei-dewu-canbu-haochi/</guid><description>免费资源那么多，为何只用 EC2？  EBS 好东西，天价 I/O 是问题 S3真高端，静态资源往里搬 RDS也帮忙，I/O 不再飞快涨 免费服务很多，其他不再多说 众技术宅所周知，Amazon AWS 之前提供了“新用户凭有效信用卡免费试用一年”的活动，至今没有给出截止日期。</description><pubDate>Thu, 14 Jul 2016 00:00:00 GMT</pubDate><category>linux</category><category>mysql</category><category>redis</category><category>memcached</category><category>dns</category><category>php</category></item><item><title>#!/usr/bin/python</title><link>https://arthaszyb.github.io/posts/usr-bin-python/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/usr-bin-python/</guid><description>import io import json import os import urllib2 import sys import tarfile from optparse import OptionParser import StringIO import re import mimetypes import</description><pubDate>Thu, 14 Jul 2016 00:00:00 GMT</pubDate><category>python</category><category>crontab</category><category>python</category><category>监控告警</category></item><item><title>一键建站</title><link>https://arthaszyb.github.io/posts/yijian-jianzhan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yijian-jianzhan/</guid><description>http://www.wdlinux.cn/lanmp/install.html</description><pubDate>Thu, 14 Jul 2016 00:00:00 GMT</pubDate><category>php</category></item><item><title>aws</title><link>https://arthaszyb.github.io/posts/aws/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/aws/</guid><description>1.注意DB申请好之后如果无法连接,请修改安全组策略.  这里即是安全策略组.  这里具体配置</description><pubDate>Wed, 13 Jul 2016 00:00:00 GMT</pubDate><category>linux</category></item><item><title>py中字符串可以和数字比较，且永远大于数字</title><link>https://arthaszyb.github.io/posts/py-zhongzi-fuchuan-keyi-heshu-zibi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/py-zhongzi-fuchuan-keyi-heshu-zibi/</guid><description>莫問劍 2016/7/8 21:59:36 21:59:49 莫問劍 2016/7/8 21:59:49 这是什么意思 我要疯了 22:02:03 kk 2016/7/8 22:02:03 类型 莫問劍 2016/7/8 22:03:41 噢 是的 我太差劲了 22:04:23 kk 2016/7/8</description><pubDate>Fri, 08 Jul 2016 00:00:00 GMT</pubDate><category>python</category></item><item><title>Python 程序员的常见错误</title><link>https://arthaszyb.github.io/posts/python-chengxu-yuande-changjian-cuowu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-chengxu-yuande-changjian-cuowu/</guid><description>原创 2016-06-14 伯乐专栏/陈果 Python开发者 （点击 上方公众号 ，可快速关注） 英文：Mark Lutz 译文： 伯乐在线 - 果果夫斯基 链接：http://python.jobbole.com/69834/ 点击 → 了解如何加入专栏作者 译注：Mark Lutz 是《Learning</description><pubDate>Wed, 15 Jun 2016 00:00:00 GMT</pubDate><category>python</category><category>python</category></item><item><title>查看每个网卡的流量情况</title><link>https://arthaszyb.github.io/posts/chakan-meige-wangka-deliu-liangqing-kuang/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/chakan-meige-wangka-deliu-liangqing-kuang/</guid><description>sar -n DEV 2 10</description><pubDate>Tue, 07 Jun 2016 00:00:00 GMT</pubDate><category>linux</category><category>网络排查</category></item><item><title>Linux内核Socket参数调优</title><link>https://arthaszyb.github.io/posts/linux-neihe-socket-canshu-tiaoyou/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-neihe-socket-canshu-tiaoyou/</guid><description>Linux内核Socket参数调优 可调优的内核变量存在两种主要接口：sysctl命令和/proc文件系统，proc中与进程无关的所有信息都被移植到sysfs中。</description><pubDate>Wed, 18 May 2016 00:00:00 GMT</pubDate><category>linux</category></item><item><title>Nginx环境下http和https(ssl)共存的方法 - nginx - 网络时代资讯</title><link>https://arthaszyb.github.io/posts/nginx-huanjing-xia-http-he-https/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-huanjing-xia-http-he-https/</guid><description>给nginx配置SSL证书之后，https可以正常访问，http访问显示400错误，nginx的配置如下： server { listen 80 default backlog= 2048 ; listen 443 ; servername linuxyan.com; root /var/www/html; ssl</description><pubDate>Thu, 12 May 2016 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>ssl-tls</category></item><item><title>SPDY 是什么？如何部署 SPDY？-月光博客</title><link>https://arthaszyb.github.io/posts/spdy-shishen-me-ruhe-bushu-spdy/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/spdy-shishen-me-ruhe-bushu-spdy/</guid><description>« 暴雪成功的秘密 互联网社会化之平台垄断破局 » .  2012-6-10 23:18:59 SPDY 是什么？ 如何部署 SPDY？  SPDY 是 Google 开发的基于传输控制协议 (TCP) 的应用层协议 ，开发组正在推动 SPDY 成为正式标准（现为互联网草案）。</description><pubDate>Thu, 12 May 2016 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>apache</category><category>ssl-tls</category><category>ai-agent</category></item><item><title>线程监控</title><link>https://arthaszyb.github.io/posts/xiancheng-jiankong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/xiancheng-jiankong/</guid><description>显示进程的线程信息 ps -efL 显示每个线程和其所绑定的cpu ps -eo ruser,pid,ppid,lwp,psr,args -L | grep Conn|awk &apos;{if($5==0)print $0}&apos; top进去后按H可看线程信息.</description><pubDate>Thu, 12 May 2016 00:00:00 GMT</pubDate><category>linux</category><category>shell-scripting</category><category>监控告警</category></item><item><title>淘宝全站HTTPS 百万页面改造技术细节大起底-云栖社区</title><link>https://arthaszyb.github.io/posts/taobao-quanzhan-https-baiwan-yemian-gaizao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/taobao-quanzhan-https-baiwan-yemian-gaizao/</guid><description>淘宝全站HTTPS 百万页面改造技术细节大起底 华蒙 浏览 11311 2016-01-18 14:39:52 发表于： 阿里技术保障 HTTPS 阿里巴巴 电商 技术保障 SSL 摘要 电商启用全站HTTPS是一件门槛极高的事情，它需要投入巨大的资源，不仅是人力、财力等方面，而且对技术能力也提出了极为苛刻的要求。</description><pubDate>Thu, 12 May 2016 00:00:00 GMT</pubDate><category>web-infra</category><category>cdn</category><category>ssl-tls</category><category>存储</category></item><item><title>wsd初始化iptables</title><link>https://arthaszyb.github.io/posts/wsd-chushi-hua-iptables/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wsd-chushi-hua-iptables/</guid><description>在/usr/local/ieod-public/iptables下init.sh脚本</description><pubDate>Fri, 06 May 2016 00:00:00 GMT</pubDate><category>linux</category><category>iptables</category></item><item><title>浅析HTTP中POST和GET区别并用Python模拟其响应和请求</title><link>https://arthaszyb.github.io/posts/qianxi-http-zhong-post-he-get/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/qianxi-http-zhong-post-he-get/</guid><description>标签： python http 协议 http 服务器 post get 2014-09-25 20:05 2607 人阅读 评论 (0) 收藏 举报 分类： Python 版权声明：本文为博主原创文章，未经博主允许不得转载。</description><pubDate>Tue, 01 Mar 2016 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>ssl-tls</category></item><item><title>（总结）Linux的chattr与lsattr命令详解</title><link>https://arthaszyb.github.io/posts/zongjie-linux-de-chattr-yu-lsattr/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zongjie-linux-de-chattr-yu-lsattr/</guid><description>发表于: Linux, Security, UNIX, 个人日记, 原创总结 | 作者: 谋万世全局者 标签: chattr,Linux,lsattr,命令详解,总结 PS：有时候你发现用root权限都不能修改某个文件，大部分原因是曾经用chattr命令锁定该文件了。</description><pubDate>Wed, 27 Jan 2016 00:00:00 GMT</pubDate><category>linux</category><category>vim</category><category>存储</category><category>备份恢复</category></item><item><title>Linux cpuinfo 详解2012-01-04 10:38:11</title><link>https://arthaszyb.github.io/posts/linux-cpuinfo-xiangjie-2012-01-04-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-cpuinfo-xiangjie-2012-01-04-2/</guid><description>Linux cpuinfo 详解 2012-01-04 10:38:11 标签：linux命令 linux 休闲 cpuinfo 职场 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Fri, 11 Dec 2015 00:00:00 GMT</pubDate><category>linux</category><category>shell-scripting</category></item><item><title>Linux cpuinfo 详解2012-01-04 10:38:11</title><link>https://arthaszyb.github.io/posts/linux-cpuinfo-xiangjie-2012-01-04/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-cpuinfo-xiangjie-2012-01-04/</guid><description>Linux cpuinfo 详解 2012-01-04 10:38:11 标签：linux命令 linux 休闲 cpuinfo 职场 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Fri, 11 Dec 2015 00:00:00 GMT</pubDate><category>linux</category><category>shell-scripting</category></item><item><title>Linux 如何将命令top所得的结果导入到文件</title><link>https://arthaszyb.github.io/posts/linux-ruhe-jiangming-ling-top-suode/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-ruhe-jiangming-ling-top-suode/</guid><description>分享| 2013-04-17 19:02匿名 | 浏览 1017 次 top a我试了，没问题你可以试试top |col -b a top是输出并实时刷新系统CPU和内存等负载的ps只是一锤子买卖，胡说八道的你如果真想看系统负载情况别用top，用vmstatvmstat</description><pubDate>Fri, 11 Dec 2015 00:00:00 GMT</pubDate><category>linux</category></item><item><title>shell中的浮点数比较</title><link>https://arthaszyb.github.io/posts/shell-zhongde-fudian-shubi-jiao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shell-zhongde-fudian-shubi-jiao/</guid><description>博客分类： Bash Shell shell 比较浮点数 由于程序需要，我要判断一个浮点数是否大于另一个浮点数。</description><pubDate>Thu, 10 Dec 2015 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category></item><item><title>ps 和 top cpu 占用区别</title><link>https://arthaszyb.github.io/posts/ps-he-top-cpu-zhanyong-qubie-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ps-he-top-cpu-zhanyong-qubie-2/</guid><description>标签： standardssolarisflash工作up 2012-10-10 17:52 1682人阅读 评论(0) 收藏 举报 分类： linux\常用命令（11） ps和topcpu 占用区别： 但试了一会发现个不小的问题，把包含flash的网页关掉后，ps显示它的cpu占用率还是居高不下。</description><pubDate>Wed, 09 Dec 2015 00:00:00 GMT</pubDate><category>linux</category></item><item><title>ps 和 top cpu 占用区别</title><link>https://arthaszyb.github.io/posts/ps-he-top-cpu-zhanyong-qubie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ps-he-top-cpu-zhanyong-qubie/</guid><description>标签： standardssolarisflash工作up 2012-10-10 17:52 1682人阅读 评论(0) 收藏 举报 分类： linux\常用命令（11） ps和topcpu 占用区别： 但试了一会发现个不小的问题，把包含flash的网页关掉后，ps显示它的cpu占用率还是居高不下。</description><pubDate>Wed, 09 Dec 2015 00:00:00 GMT</pubDate><category>linux</category></item><item><title>Pycharm 5</title><link>https://arthaszyb.github.io/posts/pycharm-5/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/pycharm-5/</guid><description>11-04更新：这两天无意间发现了一个好东西，可以快速激活Jetbrains公司最新系列产品。 亲测可用，大家在注册时把LicenseServer改成：http://2.idea.lanyus.com/，然后点OK即可。 如果服务器不可用，还可以把2更换成0或1。 具体操作步骤大家看网页的说明吧。</description><pubDate>Thu, 03 Dec 2015 00:00:00 GMT</pubDate><category>python</category></item><item><title>window+nginx+php-cgi的php-cgi线程/子进程问题</title><link>https://arthaszyb.github.io/posts/window-nginx-php-cgi-de-php/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/window-nginx-php-cgi-de-php/</guid><description>发布者：明媚， 时间：2014-06-17 03:22:36 见bbs http://bbs.csdn.net/topics/390803643/close 正常的配置情况下,window的php-cgi是不会出现多线程/子进程的,如下配置 fastcgi\pass 127.0.0.1:9000;</description><pubDate>Fri, 30 Oct 2015 00:00:00 GMT</pubDate><category>php</category><category>nginx</category><category>php</category><category>ssl-tls</category></item><item><title>nginx php-fpm响应长排查</title><link>https://arthaszyb.github.io/posts/nginx-php-fpm-xiangying-changpai-cha/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-php-fpm-xiangying-changpai-cha/</guid><description>application shang 2年前 (2014-04-24) 4254浏览 0评论 说明： web页面响应时间长，要怎么排查？</description><pubDate>Wed, 28 Oct 2015 00:00:00 GMT</pubDate><category>php</category><category>nginx</category><category>php</category><category>vim</category></item><item><title>VIM粘贴#开头内容会乱</title><link>https://arthaszyb.github.io/posts/vim-niantie-kaitou-neirong-huiluan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/vim-niantie-kaitou-neirong-huiluan/</guid><description>vim下输入set paste即可解决.  参考:http://www.cnblogs.com/jianyungsun/archive/2011/03/19/1988855.html</description><pubDate>Tue, 27 Oct 2015 00:00:00 GMT</pubDate><category>linux</category><category>vim</category></item><item><title>php安装扩展so</title><link>https://arthaszyb.github.io/posts/php-anzhuang-kuozhan-so/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/php-anzhuang-kuozhan-so/</guid><description>不需要重新编译的方法 1.查询php模块路径 grep &apos;extension\dir&apos; /usr/local/php/etc/php.ini 将需要的so文件放到这个目录下,注意需要+x权限.</description><pubDate>Wed, 14 Oct 2015 00:00:00 GMT</pubDate><category>php</category><category>php</category></item><item><title>通过/proc/net/dev分析网络包量，流量，错包，丢包</title><link>https://arthaszyb.github.io/posts/tongguo-proc-net-dev-fenxi-wangluo/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/tongguo-proc-net-dev-fenxi-wangluo/</guid><description>分类： linux研究2012-04-19 18:29 12080人阅读 评论(0) 收藏 举报 网络tcp 一，/proc/net/dev user\00@xxxx64:~ cat /proc/net/dev Inter- | Receive | Transmit face | bytes packets errs</description><pubDate>Mon, 28 Sep 2015 00:00:00 GMT</pubDate><category>linux</category><category>监控告警</category></item><item><title>nginx+php-fpm出现502 bad gateway错误解决方法</title><link>https://arthaszyb.github.io/posts/nginx-php-fpm-chuxian-502-bad/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-php-fpm-chuxian-502-bad/</guid><description>2012年8月22日mood发表评论阅读评论 &lt;table&lt;tbody&lt;tr&lt;td&lt;div&lt;span&lt;span&lt;a&lt;span本站主机运行在？</description><pubDate>Fri, 25 Sep 2015 00:00:00 GMT</pubDate><category>php</category><category>nginx</category><category>php</category></item><item><title>使用telnet探测php端口</title><link>https://arthaszyb.github.io/posts/shiyong-telnet-tance-php-duankou/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shiyong-telnet-tance-php-duankou/</guid><description>#!/bin/bash #telnet应用在sh脚本中 #check php-fpm server up/down TelLog=/tmp/telphp.log while : do sleep 15; /usr/bin/telnet 127.0.0.1 9000 &lt;&lt; EOF $TelLog quit EOF</description><pubDate>Fri, 25 Sep 2015 00:00:00 GMT</pubDate><category>php</category><category>php</category></item><item><title>获取url访问状态</title><link>https://arthaszyb.github.io/posts/huoqu-url-fangwen-zhuangtai/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/huoqu-url-fangwen-zhuangtai/</guid><description>检查url访问状态,如下命令可直接跳过302跳转获取到最终访问状态 curl -I -s --retry 1 -m 3 -L $url -o /dev/null -w &apos;%{http\code}&apos;</description><pubDate>Thu, 24 Sep 2015 00:00:00 GMT</pubDate><category>linux</category></item><item><title>php作为apache的模块加载</title><link>https://arthaszyb.github.io/posts/php-zuowei-apache-demo-kuaijia-zai/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/php-zuowei-apache-demo-kuaijia-zai/</guid><description>需求:为检查所有apache+php的服务器是否安装phpips,需要找到php的主目录.  1\.  检查apache是否调用php 2\.  查找php的主路径 作为apache的模块加载后，php就成为了apache的一部分。</description><pubDate>Wed, 16 Sep 2015 00:00:00 GMT</pubDate><category>php</category><category>apache</category><category>php</category></item><item><title>Web服务器和动态语言如何交互--CGI&amp;FastCGI&amp;FPM浅谈</title><link>https://arthaszyb.github.io/posts/web-fuwu-qihe-dongtai-yuyan-ruhe-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/web-fuwu-qihe-dongtai-yuyan-ruhe-2/</guid><description>Web服务器和动态语言如何交互--CGI &amp; FastCGI &amp; FPM浅谈 一个用户的Request是如何经过Web服务器（Apache，Nginx，IIS，Light）与后端的动态语言（如PHP等）进行交互并将结果返回给用户的呢？  本文浅谈个人观点，可能有误，欢迎拍砖，共同学习。  一.</description><pubDate>Wed, 16 Sep 2015 00:00:00 GMT</pubDate><category>php</category><category>nginx</category><category>apache</category><category>mysql</category><category>dns</category><category>php</category></item><item><title>Web服务器和动态语言如何交互--CGI&amp;amp;FastCGI&amp;amp;FPM浅谈</title><link>https://arthaszyb.github.io/posts/web-fuwu-qihe-dongtai-yuyan-ruhe/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/web-fuwu-qihe-dongtai-yuyan-ruhe/</guid><description>Web服务器和动态语言如何交互--CGI&amp;FastCGI&amp;FPM浅谈 Wednesday, September 16, 2015 3:56 PM Web服务器和动态语言如何交互\--CGI&amp;FastCGI&amp;FPM浅谈 一个用户的Request是如何经过Web服务器（Apache，Nginx，IIS</description><pubDate>Wed, 16 Sep 2015 00:00:00 GMT</pubDate><category>php</category><category>nginx</category><category>apache</category><category>mysql</category><category>dns</category><category>php</category></item><item><title>Linux top命令简介</title><link>https://arthaszyb.github.io/posts/linux-top-mingling-jianjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-top-mingling-jianjie/</guid><description>top 命令是最流行的性能监视工具之一，我们必需了解。 它是一个优秀的交互式工具，用于监视性能。 它提供系统整体性能，但报告进程信息才是 top 命令的长处。 top 命令交互界面如下图所视： top 界面分为两个部份，光标上面部份显示关于系统整体性能，光标下面部份显示各进程信息。 光标所在处是用来输入操作命令的。</description><pubDate>Fri, 11 Sep 2015 00:00:00 GMT</pubDate><category>linux</category></item><item><title>shell脚本分析 nginx日志访问次数最多及最耗时的页面(慢查询）</title><link>https://arthaszyb.github.io/posts/shell-jiaoben-fenxi-nginx-rizhi-fangwen/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shell-jiaoben-fenxi-nginx-rizhi-fangwen/</guid><description>shell 脚本分析 nginx 日志访问次数最多及最耗时的页面 ( 慢查询） 当服务器压力比较大，跑起来很费力时候。 我们经常做站点页面优化，会去查找那些页面访问次数比较多，而且比较费时。  找到那些访问次数高，并且比较耗时的地址，就行相关优化，会取得立竿见影的效果的。</description><pubDate>Wed, 09 Sep 2015 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>mysql</category><category>shell-scripting</category><category>php</category></item><item><title>Nginx虚拟主机根据不同的域名使用不同的root路径</title><link>https://arthaszyb.github.io/posts/nginx-xuni-zhuji-genju-butong-deyu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-xuni-zhuji-genju-butong-deyu/</guid><description>[日期：2015-03-14] 来源：Linux社区 作者：john88wang [字体：大 中 小] 一 应用场景描述 应开发同事需求，需要在开发环境的Nginx能够根据不同的域名使用不同的root路径。</description><pubDate>Mon, 24 Aug 2015 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>php</category></item><item><title>ssh批量登录并执行命令（python实现）</title><link>https://arthaszyb.github.io/posts/ssh-piliang-denglu-bingzhi-xingming-ling/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ssh-piliang-denglu-bingzhi-xingming-ling/</guid><description>ssh 批量登录并执行命令（ python 实现） 人生苦短，我用python！  局域网内有一百多台电脑，全部都是linux操作系统，所有电脑配置相同，系统完全相同（包括用户名和密码），ip地址是自动分配的。 现在有个任务是在这些电脑上执行某些命令，者说进行某些操作，比如安装某些软件，拷贝某些文件，批量关机等。</description><pubDate>Fri, 31 Jul 2015 00:00:00 GMT</pubDate><category>python</category><category>ssh</category><category>ftp</category><category>python</category></item><item><title>map实现python多线程</title><link>https://arthaszyb.github.io/posts/map-shixian-python-duoxian-cheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/map-shixian-python-duoxian-cheng/</guid><description>春节坐在回家的火车上百无聊赖，偶然看到 Parallelism in one line 这篇在 Hacker News 和 reddit 上都评论过百的文章，顺手译出，enjoy:-) http://www.zhangzhibo.net/2014/02/01/parallelism-in-one-line/</description><pubDate>Wed, 29 Jul 2015 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>ssl-tls</category><category>java</category></item><item><title>Python中执行系统命令常见的几种方法</title><link>https://arthaszyb.github.io/posts/python-zhongzhi-xingxi-tongming-lingchang-jiande/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-zhongzhi-xingxi-tongming-lingchang-jiande/</guid><description>2013-01-03 13:46:14 标签： Python 系统命令 popen system subprocess commands 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Mon, 27 Jul 2015 00:00:00 GMT</pubDate><category>python</category><category>mysql</category><category>zabbix</category><category>python</category><category>监控告警</category></item><item><title>Linux网络状态工具ss命令使用详解</title><link>https://arthaszyb.github.io/posts/linux-wangluo-zhuangtai-gongju-ss-mingling/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-wangluo-zhuangtai-gongju-ss-mingling/</guid><description>ss命令用于显示socket状态.  他可以显示PACKET sockets, TCP sockets, UDP sockets, DCCP sockets, RAW sockets, Unix domain sockets等等统计.  它比其他工具展示等多tcp和state信息.</description><pubDate>Wed, 15 Jul 2015 00:00:00 GMT</pubDate><category>linux</category><category>ssh</category><category>ftp</category><category>rsync</category><category>ssl-tls</category><category>监控告警</category></item><item><title>Python 代码调试技巧</title><link>https://arthaszyb.github.io/posts/python-daima-tiaoshi-jiqiao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-daima-tiaoshi-jiqiao/</guid><description>Debug 对于任何开发人员都是一项非常重要的技能，它能够帮助我们准确的定位错误，发现程序中的 bug。 python 提供了一系列 debug 的工具和包，可供我们选择。 本文将主要阐述如何利用 python debug 相关工具进行 debug。</description><pubDate>Tue, 14 Jul 2015 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>java</category></item><item><title>从制品库上下载安装包不完整，每次的大小不一</title><link>https://arthaszyb.github.io/posts/congzhi-pinku-shangxia-zaian-zhuangbao-buwan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/congzhi-pinku-shangxia-zaian-zhuangbao-buwan/</guid><description>问题 :从制品库上下载安装包不完整，每次的大小不一 解决 : 测试不经过反向代理是否存在问题.  结论:不会.</description><pubDate>Mon, 13 Jul 2015 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category></item><item><title>单台服务器上的并发TCP连接数可以有多少</title><link>https://arthaszyb.github.io/posts/dantai-fuwu-qishang-debing-fa-tcp/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/dantai-fuwu-qishang-debing-fa-tcp/</guid><description>网络编程释疑之：单台服务器上的并发TCP连接数可以有多少 2013-10-21 19:42:33 标签：高并发 服务器 网络编程 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Thu, 09 Jul 2015 00:00:00 GMT</pubDate><category>linux</category><category>iptables</category><category>dns</category><category>集群</category></item><item><title>变量替换的两种方式</title><link>https://arthaszyb.github.io/posts/bianliang-tihuan-deliang-zhongfang-shi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/bianliang-tihuan-deliang-zhongfang-shi/</guid><description>this is yaung print &apos;this is %s&apos; % (hi) this is yaung print &apos;this is {1} {0}&apos;.format(hi,ih) this is zhou yaung print &apos;this is %s %s&apos; % (ih,hi) this is zhou</description><pubDate>Wed, 01 Jul 2015 00:00:00 GMT</pubDate><category>python</category></item><item><title>shell判断当前执行脚本的进程数的坑</title><link>https://arthaszyb.github.io/posts/shell-panduan-dangqian-zhixing-jiaoben-dejin/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shell-panduan-dangqian-zhixing-jiaoben-dejin/</guid><description>#!/bin/bash p=$(/bin/ps -ef | grep -w &quot;$0&quot;|grep -v &apos;grep&apos;|wc -l) echo &quot;$p&quot; 得到的结果居然是2 通过whille true循环抓进程才发现,这个脚本执行过程中产生了子进程!  因此得到结果是大于1的.</description><pubDate>Wed, 01 Jul 2015 00:00:00 GMT</pubDate><category>shell</category></item><item><title>mysql日期查询sql语句总结(查询一天，查询一周，查询一个月的数据)</title><link>https://arthaszyb.github.io/posts/mysql-riqi-chaxun-sql-yuju-zongjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-riqi-chaxun-sql-yuju-zongjie/</guid><description>www.111cn.net 编辑:tiger 来源:转载 今天我要做一个程序可以实现查询一天，查询一周，查询一个月的数据功能，下面我把这些实现的sql日期查询语句给大家总结分享一下。</description><pubDate>Fri, 26 Jun 2015 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>私有仓库</title><link>https://arthaszyb.github.io/posts/siyou-cangku/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/siyou-cangku/</guid><description>源文章url: http://dockerpool.com/static/books/dockerpractice/ 有时候使用 Docker Hub 这样的公共仓库可能不方便，用户可以创建一个本地仓库供私人使用。  本节介绍如何使用本地仓库。</description><pubDate>Tue, 23 Jun 2015 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category><category>python</category><category>ssl-tls</category><category>git</category><category>存储</category></item><item><title>迈出使用Docker的第一步，学习第一个Docker容器</title><link>https://arthaszyb.github.io/posts/maichu-shiyong-docker-dedi-yibu-xuexi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/maichu-shiyong-docker-dedi-yibu-xuexi/</guid><description>您的评价 : 收藏该经验 阅读目录 本文摘自《第一本 Docker 书》 在本文中，我们将迈出使用Docker的第一步，学习第一个Docker容器。 本章还会介绍如何与Docker进行交互的基本知识。</description><pubDate>Mon, 22 Jun 2015 00:00:00 GMT</pubDate><category>container-virt</category><category>docker</category><category>ssl-tls</category><category>vim</category><category>存储</category><category>监控告警</category></item><item><title>自学笔记</title><link>https://arthaszyb.github.io/posts/zixue-biji/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zixue-biji/</guid><description>环境：centos7 安装docker：yum install docker-io docker目录：/var/lib/docker containers目录下是创建的所有容器 graph目录貌似是镜像目录 查看docker容器 docker ps -a 创建一个容器 docker run --name</description><pubDate>Mon, 22 Jun 2015 00:00:00 GMT</pubDate><category>container-virt</category><category>nginx</category><category>docker</category><category>ssl-tls</category></item><item><title>confulence 的安装与迁移</title><link>https://arthaszyb.github.io/posts/confulence-dean-zhuangyu-qianyi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/confulence-dean-zhuangyu-qianyi/</guid><description>2014年10月27日 by jeffrey | 0 comments 一、全新安装confluence 1、将 atlassian-confluence-4.1.5.zip copy 到 目录/usr/local/project/confluence/下 2、解压</description><pubDate>Wed, 03 Jun 2015 00:00:00 GMT</pubDate><category>misc</category><category>存储</category></item><item><title>字符串截取</title><link>https://arthaszyb.github.io/posts/zifu-chuanjie-qu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zifu-chuanjie-qu/</guid><description>http://hi.chinaunix.net/?20535598/viewspace-42324 字符串截取 rthought.jpg $ echo ${MYVAR#fo} odforthought.jpg 记忆方法：当搜索最长匹配时，使用 ##（因为 ## 比 # 长）。 当搜索最短匹配时，使用 #。</description><pubDate>Thu, 30 Apr 2015 00:00:00 GMT</pubDate><category>shell</category></item><item><title>查看进程启动时间</title><link>https://arthaszyb.github.io/posts/chakan-jincheng-qidong-shijian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/chakan-jincheng-qidong-shijian/</guid><description>2010年5月29日wangyuanzheng Linux系统中通过ps命令查看进程状态，可以看到系统启动时间。 但如果启动超过一天，它会变成问号。 那如何获取这些进程的启动时间呢？  在Linux系统中，时间管理有两个基本概念：xtime和jiffies。</description><pubDate>Fri, 17 Apr 2015 00:00:00 GMT</pubDate><category>linux</category></item><item><title>查看机器CPU核数</title><link>https://arthaszyb.github.io/posts/chakan-jiqi-cpu-heshu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/chakan-jiqi-cpu-heshu/</guid><description>1 查看物理cpu个数 grep &apos;physical id&apos; /proc/cpuinfo | sort -u 2 查看核心数量 grep &apos;core id&apos; /proc/cpuinfo | sort -u | wc -l 3 查看线程数 grep &apos;processor&apos; /proc/cpuinfo | sort -u</description><pubDate>Fri, 17 Apr 2015 00:00:00 GMT</pubDate><category>linux</category></item><item><title>mysql数据类型</title><link>https://arthaszyb.github.io/posts/mysql-shuju-leixing/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-shuju-leixing/</guid><description>mysql 数据类型 1、整型 MySQL数据类型 含义（有符号） tinyint(m) 1个字节 范围(-128~127) smallint(m) 2个字节 范围(-32768~32767) mediumint(m) 3个字节 范围(-8388608~8388607) int(m) 4个字节</description><pubDate>Wed, 08 Apr 2015 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>存储</category></item><item><title>Bash Shell 字符串切割</title><link>https://arthaszyb.github.io/posts/bash-shell-zifu-chuanqie-ge/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/bash-shell-zifu-chuanqie-ge/</guid><description>分类： Shell编程 2011-07-06 14:09 801人阅读 评论 (0) 收藏 举报 bash shell Bash Shell 字符串切割 chj@linux-xzlr:Desktop\ AAA=&quot;hello First-of All&quot; chj@linux-xzlr:Desktop\ echo</description><pubDate>Fri, 03 Apr 2015 00:00:00 GMT</pubDate><category>shell</category></item><item><title>如何判断用户访问的是CDN节点还是回源的</title><link>https://arthaszyb.github.io/posts/ruhe-panduan-yonghu-fangwen-deshi-cdn/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ruhe-panduan-yonghu-fangwen-deshi-cdn/</guid><description>使用 chrome 开发者工具，刷新之后查看，如果 X-cache 显示 hit ,则表示 CDN 节点，miss 表示回源。</description><pubDate>Fri, 13 Mar 2015 00:00:00 GMT</pubDate><category>network</category><category>cdn</category></item><item><title>DB主从复制部分语句未被binlog记录问题解决</title><link>https://arthaszyb.github.io/posts/db-zhucong-fuzhi-bufen-yuju-weibei/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/db-zhucong-fuzhi-bufen-yuju-weibei/</guid><description>原语句，结果不会记录在binlog 改为非echo的语句，结果不会记录binlog 改为指定库进入方式，结果会记录binlog 会记录 总结： 原因：mysql不指定库直接登录，默认的登录库是null， 此时如果主库的配置文件中指定忽略某库不记录binlog，则mysql会对登录库进行筛选</description><pubDate>Wed, 04 Feb 2015 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>php</category><category>mysql-replication</category></item><item><title>[转]为什么 MySQL的 binlog-do-db 选项是危险的</title><link>https://arthaszyb.github.io/posts/zhuan-weishen-me-mysql-de-binlog/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zhuan-weishen-me-mysql-de-binlog/</guid><description>大 | 中 | 小 [ 2009/10/19 10:09 | by ipaddr ] 原文 : http://www.mysqlperformanceblog.com/2009/05/14/why-mysqls-binlog-do-db-option-is-dangerous/ 作者: Baron Schwartz</description><pubDate>Wed, 04 Feb 2015 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>mysql-replication</category><category>备份恢复</category></item><item><title>五个100m的文件rsync</title><link>https://arthaszyb.github.io/posts/wuge-100m-dewen-jian-rsync/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wuge-100m-dewen-jian-rsync/</guid><description>五个100m文件6个进程同时rsync</description><pubDate>Mon, 02 Feb 2015 00:00:00 GMT</pubDate><category>database</category><category>rsync</category></item><item><title>修改PHP上传文件大小限制</title><link>https://arthaszyb.github.io/posts/xiugai-php-shangchuan-wenjian-daxiao-xianzhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/xiugai-php-shangchuan-wenjian-daxiao-xianzhi/</guid><description>HTML Content 修改PHP上传文件大小限制 Sunday, February 1, 2015 10:33 PM 分类： PHP常用类2013-02-18 13:43 234人阅读 评论(0) 收藏 举报 &lt;table&lt;tbody&lt;tr&lt;td&lt;div&lt;table&lt;tbody&lt;tr&lt;td&lt;p</description><pubDate>Sun, 01 Feb 2015 00:00:00 GMT</pubDate><category>php</category><category>php</category></item><item><title>修改Apache最大连接数/apache并发数</title><link>https://arthaszyb.github.io/posts/xiugai-apache-zuida-lianjie-shu-apache/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/xiugai-apache-zuida-lianjie-shu-apache/</guid><description>Apache优化步骤： 1 先查看apache的运行模式，查看命令：httpd -l Compiled in modules: core.c prefork.c httpcore.c modso.c 这里可以看到运行模式是prefork模式。</description><pubDate>Thu, 29 Jan 2015 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>mysql</category><category>shell-scripting</category></item><item><title>set names utf8的内部执行原理</title><link>https://arthaszyb.github.io/posts/set-names-utf8-denei-buzhi-xingyuan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/set-names-utf8-denei-buzhi-xingyuan/</guid><description>解决乱码的方法，我们经常使用“ set names utf8 ”,那么为什么加上这句代码就可以解决了呢？ 下面跟着我一起来深入set names utf8的内部执行原理 先说MySQL的字符集问题。</description><pubDate>Wed, 21 Jan 2015 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>php</category></item><item><title>mysql主从同步（对现有db增加新的slave）</title><link>https://arthaszyb.github.io/posts/mysql-zhucong-tongbu-duixian-you-db/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-zhucong-tongbu-duixian-you-db/</guid><description>手动模式 flush tables with read lock 主 2.修改主和从配置文件 3.主给从赋权.</description><pubDate>Tue, 20 Jan 2015 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>rsync</category></item><item><title>Linux 内存 buffer 和 cache 的区别</title><link>https://arthaszyb.github.io/posts/linux-neicun-buffer-he-cache-dequ/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-neicun-buffer-he-cache-dequ/</guid><description>分类： Linux2011-06-01 13:08 15478人阅读 评论(0) 收藏 举报 cachebufferlinux存储聊天disk 一.</description><pubDate>Thu, 15 Jan 2015 00:00:00 GMT</pubDate><category>linux</category><category>存储</category></item><item><title>字符集介绍及mysql数据库编码转换</title><link>https://arthaszyb.github.io/posts/zifu-jijie-shaoji-mysql-shuju-kubian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zifu-jijie-shaoji-mysql-shuju-kubian/</guid><description>2013-12-17 16:18:37 标签： utf-8 latin1 mysql 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Fri, 09 Jan 2015 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>php</category><category>存储</category></item><item><title>Subversion和apache,apr,apr-util的关系</title><link>https://arthaszyb.github.io/posts/subversion-he-apache-apr-apr-util/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/subversion-he-apache-apr-apr-util/</guid><description>很多朋友初次接触Subversion时不是很理解subversion和apache的关系。  我在这里简单说明一下svn服务器和客户端的安装说明。  1.1服务器 subversion服务器是不需要apache的，但是可以使用apache，视具体情况来选择。</description><pubDate>Tue, 06 Jan 2015 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>ssh</category><category>ssl-tls</category></item><item><title>NGINX+apache+svn迁移部署</title><link>https://arthaszyb.github.io/posts/nginx-apache-svn-qianyi-bushu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-apache-svn-qianyi-bushu/</guid><description>过程 1.cp svn的目录，apache配置文件 1.5.</description><pubDate>Mon, 05 Jan 2015 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>apache</category></item><item><title>apache php的几种运行方式（cgi,fastcgi...）</title><link>https://arthaszyb.github.io/posts/apache-php-deji-zhongyun-xingfang-shi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/apache-php-deji-zhongyun-xingfang-shi/</guid><description>分类： 服务器 apache学习 2014-01-27 10:28 2358人阅读 评论 (0) 收藏 举报 apache php PHP的所有应用程序都是通过WEB服务器(如IIS或Apache)和PHP引擎程序解释执行完成的， 工作过程： (1)当用户在浏览器地址中输入要访问的PHP页面文件名</description><pubDate>Sun, 21 Dec 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>apache</category><category>php</category><category>ssl-tls</category><category>存储</category></item><item><title>Linux的 test 命令使用2010-03-18 17:10:06</title><link>https://arthaszyb.github.io/posts/linux-de-test-mingling-shiyong-2010/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-de-test-mingling-shiyong-2010/</guid><description>Linux的 test 命令使用 2010-03-18 17:10:06 标签：Linux test 命令 休闲 职场 关于文件的权限侦测，如 test -r filename -r 侦测该文件名是否具有『可读』的属性？  -w 侦测该文件名是否具有『可写』的属性？  -x 侦测该文件名是否具有『可执行』的属性？</description><pubDate>Mon, 24 Nov 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>2011-10</title><link>https://arthaszyb.github.io/posts/2011-10/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/2011-10/</guid><description>30 （总结）Nginx使用的php-fpm的两种进程管理方式及优化 发表于 : Linux , Nginx , UNIX , 个人日记 , 原创总结 | 作者 : 谋万世全局者 标签 : Linux , Nginx , php-fpm , 优化 , 总结 , 进程管理 PS ：前段时间配置 php-fpm 的时候</description><pubDate>Wed, 19 Nov 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>apache</category><category>php</category></item><item><title>mysql拷贝表的几种方式</title><link>https://arthaszyb.github.io/posts/mysql-kaobei-biaode-jizhong-fangshi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-kaobei-biaode-jizhong-fangshi/</guid><description>2010-11-24 09:56 佚名 互联网 字号： T | T 在使用mysql数据库的过程中，拷贝表使我们经常要用到的操作，下文就为您介绍几种mysql拷贝表的方式，供您参考学习。</description><pubDate>Wed, 19 Nov 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>Apache的prefork模式和worker模式</title><link>https://arthaszyb.github.io/posts/apache-de-prefork-moshi-he-worker/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/apache-de-prefork-moshi-he-worker/</guid><description>发布时间：August 21, 2008 分类： Apache 《 Apache Server Status解读之Logging 》 《 Liunx下查看服务器性能 》 prefork 模式 这个多路处理模块(MPM)实现了一个非线程型的、预派生的web服务器，它的工作方式类似于Apache 1.3。</description><pubDate>Fri, 14 Nov 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>php</category></item><item><title>查看Apache并发请求数及其TCP连接状态[原创]</title><link>https://arthaszyb.github.io/posts/chakan-apache-bingfa-qingqiu-shuji-qi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/chakan-apache-bingfa-qingqiu-shuji-qi/</guid><description>大 | 中 | 小 [ 2007-7-20 18:30 | by 张宴 ] [文章作者：张宴 本文版本：v1.1 最后修改：2007.07.27 转载请注明出处： http://blog.zyan.cc ] 这两天搭建了一组Apache服务器，每台服务器4G内存，采用的是prefork模式，一开始设置的连接数太少了</description><pubDate>Fri, 14 Nov 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>shell-scripting</category></item><item><title>请不要用SECONDS_BEHIND_MASTER来衡量MYSQL主备的延迟时间</title><link>https://arthaszyb.github.io/posts/qingbu-yaoyong-seconds-behind-master-laiheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/qingbu-yaoyong-seconds-behind-master-laiheng/</guid><description>2013 年 12 月 6 日, 下午 3:47 MySQL 本身通过 show slave status 提供了 SecondsBehindMaster ，用于衡量主备之间的复制延迟，但是今天碰到了一个场景，发现 SecondsBehindMaster 为 0 ， 备库的 show slave status 显示</description><pubDate>Fri, 14 Nov 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>mysql-replication</category><category>监控告警</category><category>高可用</category></item><item><title>Nginx 0.8.x + PHP 5.2.13（FastCGI）搭建胜过Apache十倍的Web服务器（第6版）[原创]</title><link>https://arthaszyb.github.io/posts/nginx-0-8-x-php-5/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-0-8-x-php-5/</guid><description>Nginx 0.8.x + PHP 5.2.13（FastCGI）搭建胜过Apache十倍的Web服务器（第6版）[原创] 大 | 中 | 小 [ 2010-3-4 20:10 | by 张宴 ] [文章作者：张宴 本文版本：v6.3 最后修改：2010.07.26</description><pubDate>Fri, 14 Nov 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>apache</category><category>php</category></item><item><title>windows+apache2.x+PHP5.3+fcgid fastcgi运行配置</title><link>https://arthaszyb.github.io/posts/windows-apache2-x-php5-3-fcgid/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/windows-apache2-x-php5-3-fcgid/</guid><description>博客分类： Apache 一、modfcgid概念说明以及modfastcgi和modfcgid的区别 modfcgid是一个跟modfastcgi二进制兼容的Apache module。  原来的modfastcgi因为实现方式的限制，所以可能会创建了很多不必要的进程，而实际上只需要更少的进程就能处理同样的请求。</description><pubDate>Fri, 14 Nov 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>php</category></item><item><title>windows下查看文件md5</title><link>https://arthaszyb.github.io/posts/windows-xiacha-kanwen-jian-md5/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/windows-xiacha-kanwen-jian-md5/</guid><description>certutil -hashfile yourfilename MD5</description><pubDate>Tue, 11 Nov 2014 00:00:00 GMT</pubDate><category>misc</category></item><item><title>学习随笔</title><link>https://arthaszyb.github.io/posts/xuexi-suibi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/xuexi-suibi/</guid><description>1.def中变量为单独，则返回单值，如为变量，则返回元组，如为变量，则变量需为a=XXx之类，返回字典 def add1(x): return x add1(1,23,232321) Traceback (most recent call last): File &quot; &lt; pyshell#73&quot;, line 1, in</description><pubDate>Thu, 06 Nov 2014 00:00:00 GMT</pubDate><category>python</category></item><item><title>nmap端口扫描技术</title><link>https://arthaszyb.github.io/posts/nmap-duankou-saomiao-jishu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nmap-duankou-saomiao-jishu/</guid><description>http://nmap.org/man/zh/man-port-scanning-techniques.html 作为一个修车新手，我可能折腾几个小时来摸索怎样把基本工具(锤子，胶带，扳子等) 用于手头的任务。</description><pubDate>Wed, 29 Oct 2014 00:00:00 GMT</pubDate><category>linux</category><category>dns</category><category>dhcp</category><category>ftp</category></item><item><title>mysql一个无法启动解决方法</title><link>https://arthaszyb.github.io/posts/mysql-yige-wufa-qidong-jiejue-fangfa/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-yige-wufa-qidong-jiejue-fangfa/</guid><description>yabinji(季亚斌) 10-27 16:04:58 vim /etc sswitch.conf yaungzhou(周洋) 10-27 16:05:05 改什么 yabinji(季亚斌) 10-27 16:05:09 进去先修改这个配置文件 yabinji(季亚斌) 10-27 16:05:19 50</description><pubDate>Mon, 27 Oct 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>ldap</category><category>vim</category></item><item><title>grep遇到 recursive directory loop的问题解决方法</title><link>https://arthaszyb.github.io/posts/grep-yudao-recursive-directory-loop-dewen/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/grep-yudao-recursive-directory-loop-dewen/</guid><description>遇到无限循环错误的原因是因为含有符号连接,所以grep中需要排除符号连接,即-il eg: grep -R --include=&apos;\.sh&apos; --include=&apos;\.conf&apos; --include=&apos;\.py&apos; --include=&apos;\.yaml&apos; --include=&apos;\.php&apos; -E</description><pubDate>Fri, 24 Oct 2014 00:00:00 GMT</pubDate><category>linux</category><category>php</category></item><item><title>批量修改配置文件中的参数项</title><link>https://arthaszyb.github.io/posts/piliang-xiugai-peizhi-wenjian-zhongde-canshu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/piliang-xiugai-peizhi-wenjian-zhongde-canshu/</guid><description>#!/bin/bash while read line;do done &lt; /tmp/conf.txt</description><pubDate>Thu, 23 Oct 2014 00:00:00 GMT</pubDate><category>shell</category><category>mysql</category><category>shell-scripting</category></item><item><title>Nginx开启目录浏览、下载、流控、访问限制功能2013-02-20 14:34:17</title><link>https://arthaszyb.github.io/posts/nginx-kaiqi-mulu-liulan-xiazai-liukong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-kaiqi-mulu-liulan-xiazai-liukong/</guid><description>Nginx开启目录浏览、下载、流控、访问限制功能 2013-02-20 14:34:17 标签： 下载 Nginx 流控 目录浏览 访问限制功能 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Mon, 20 Oct 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>samba</category></item><item><title>Redis安装部署，配置详解</title><link>https://arthaszyb.github.io/posts/redis-anzhuang-bushu-peizhi-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/redis-anzhuang-bushu-peizhi-xiangjie/</guid><description>分类： linux &amp; &amp; unix 2013-11-07 14:49 1700人阅读 评论 (0) 收藏 举报 memcached 内存分配 服务器 存储 面试 1.  概要 Redis 服务器环境的安装。 指导系统部署和维护使用， 以64 位Linux环境下安装使用 2.</description><pubDate>Wed, 15 Oct 2014 00:00:00 GMT</pubDate><category>database</category><category>redis</category><category>memcached</category><category>dns</category><category>python</category><category>ssl-tls</category></item><item><title>redis 持久化理解</title><link>https://arthaszyb.github.io/posts/redis-chijiu-huali-jie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/redis-chijiu-huali-jie/</guid><description>博客分类： redis redis persistence snapshotting aof 快照方式(Snapshotting) 作者将这种持久化方式称为point-in-time, 即它并不能保证每个时刻内存中的数据集与磁盘上的二进制文件是完全一样的</description><pubDate>Wed, 15 Oct 2014 00:00:00 GMT</pubDate><category>database</category><category>redis</category><category>mysql-replication</category><category>存储</category><category>备份恢复</category><category>集群</category></item><item><title>Redis持久化之大数据服务暂停问题2012-03-06 22:40 by 轩脉刃, 3911 阅读, 5 评论, 收藏, 编辑</title><link>https://arthaszyb.github.io/posts/redis-chijiu-huazhi-dashu-jufu-wuzan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/redis-chijiu-huazhi-dashu-jufu-wuzan/</guid><description>Redis持久化之大数据服务暂停问题 2012-03-06 22:40 by 轩脉刃, 3911 阅读, 5 评论, 收藏 , 编辑 Redis持久化是有两种方式：RDB和AOF 对这两种方式的官方文档的翻译请看： http://latteye.com/2011/11/redis-persistence.html</description><pubDate>Wed, 15 Oct 2014 00:00:00 GMT</pubDate><category>database</category><category>redis</category><category>php</category><category>hadoop</category><category>存储</category></item><item><title>Redis快速入门：安装、配置和操作</title><link>https://arthaszyb.github.io/posts/redis-kuaisu-rumen-anzhuang-peizhi-hecao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/redis-kuaisu-rumen-anzhuang-peizhi-hecao/</guid><description>2011年08月31日00:05 it168网站 原创 作者：红丸 编辑： 王玉圆 我要评论( 0 ) 标签： 开源 , 开源数据库 【IT168 专稿】本文是有关Redis的系列技术文章之一。 在之前的文章中介绍了《 Redis快速入门：初识Redis 》，对Redis有了一个初步的了解。</description><pubDate>Wed, 15 Oct 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>redis</category><category>memcached</category><category>vmware</category><category>dns</category></item><item><title>tcpdump参数及使用介绍2011-02-10 14:07:40</title><link>https://arthaszyb.github.io/posts/tcpdump-canshu-jishi-yongjie-shao-2011/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/tcpdump-canshu-jishi-yongjie-shao-2011/</guid><description>tcpdump参数及使用介绍 2011-02-10 14:07:40 标签：tcpdump 休闲 职场 tcpdump的参数介绍 -a 将网络地址和广播地址转变成名字； -d 将匹配信息包的代码以人们能够理解的汇编格式给出； -dd 将匹配信息包的代码以c语言程序段的格式给出； -ddd</description><pubDate>Wed, 15 Oct 2014 00:00:00 GMT</pubDate><category>linux</category><category>tcpdump</category><category>dhcp</category><category>ftp</category><category>shell-scripting</category></item><item><title>redis 主从配置实例、注意事项、及备份方式</title><link>https://arthaszyb.github.io/posts/redis-zhucong-peizhi-shili-zhuyi-shixiang/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/redis-zhucong-peizhi-shili-zhuyi-shixiang/</guid><description>linux , 技术 Add comments 一 28 2012 这两天在配置线上使用的redis服务。 总得看起来，redis服务的配置文件还是非常简洁、清楚，配置起来非常顺畅，赞一下作者。</description><pubDate>Wed, 15 Oct 2014 00:00:00 GMT</pubDate><category>database</category><category>redis</category><category>监控告警</category><category>备份恢复</category></item><item><title>Linux查看机器开放的端口2009-03-10 14:39:41</title><link>https://arthaszyb.github.io/posts/linux-chakan-jiqi-kaifang-deduan-kou/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-chakan-jiqi-kaifang-deduan-kou/</guid><description>Linux查看机器开放的端口 2009-03-10 14:39:41 标签：端口 RHEL5 linux nmap netstat 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Mon, 13 Oct 2014 00:00:00 GMT</pubDate><category>linux</category><category>mysql</category><category>vmware</category><category>dns</category></item><item><title>Nginx出现413 Request Entity Too Large错误解决方法来源： 时间：2013-09-05 20:19:14 阅读数：32892</title><link>https://arthaszyb.github.io/posts/nginx-chuxian-413-request-entity-too/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-chuxian-413-request-entity-too/</guid><description>Nginx出现413 Request Entity Too Large错误解决方法 来源： 时间：2013-09-05 20:19:14 阅读数：32892 分享到： 4 [导读] Nginx出现的413 Request Entity Too Large错误,这个错误一般在上传文件的时候出现</description><pubDate>Thu, 09 Oct 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>php</category></item><item><title>mysql-proxy的IP权限配置</title><link>https://arthaszyb.github.io/posts/mysql-proxy-de-ip-quanxian-peizhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-proxy-de-ip-quanxian-peizhi/</guid><description>使用mysql-proxy来代理后台db后,后台db只需要配proxy的权限即可.所有实际客户端的访问权限需要proxy本身来配置(即哪些客户端IP和用户可以访问db).  下图是登陆后台db中查看到的信息: 可以看出后台db的访问源ip都是proxy服务器的ip.</description><pubDate>Wed, 08 Oct 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>在vi中行首去掉#号</title><link>https://arthaszyb.github.io/posts/zai-vi-zhonghang-shouqu-diao-hao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zai-vi-zhonghang-shouqu-diao-hao/</guid><description>在vi中拷贝文字有时会默认在所有行首加上#号,这时只需要输入以下命令即可.  set paste 可参考http://www.cnblogs.com/jianyungsun/archive/2011/03/19/1988855.html</description><pubDate>Wed, 08 Oct 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>shell加载配置文件</title><link>https://arthaszyb.github.io/posts/shell-jiazai-peizhi-wenjian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shell-jiazai-peizhi-wenjian/</guid><description>hell可以加载配置文件吗？  比如有配置文件mail.ini mail.ini内容是 ftp=123.192.1.2 name=admin ps=123456 如何在shell里加载这些配置文件 source mail.ini or .</description><pubDate>Thu, 11 Sep 2014 00:00:00 GMT</pubDate><category>shell</category><category>ftp</category></item><item><title>iptraf使用心得——如何查看网络流量2011-12-08 12:05:37</title><link>https://arthaszyb.github.io/posts/iptraf-shiyong-xinde-ruhe-chakan-wangluo/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/iptraf-shiyong-xinde-ruhe-chakan-wangluo/</guid><description>iptraf使用心得——如何查看网络流量 2011-12-08 12:05:37 标签：iptraf 休闲 职场 前几天找到的iptraf真的让我爱不释手，今天抽空仔细把功能过了一遍，并且和三层交换机上统计的数据进行比较，基本弄清楚了数据含义和使用场景。 这里分享一下我跟人觉得比较有用的内容，希望对大家能有帮助。</description><pubDate>Wed, 10 Sep 2014 00:00:00 GMT</pubDate><category>linux</category><category>dns</category><category>监控告警</category><category>网络排查</category></item><item><title>获取mysql访问记录</title><link>https://arthaszyb.github.io/posts/huoqu-mysql-fangwen-jilu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/huoqu-mysql-fangwen-jilu/</guid><description>1.打开全日志 my.cnf的[mysqld]增加三行 log-output=FILE general-log general-logfile=/data1/mysqldata/general.log 1.5.</description><pubDate>Fri, 05 Sep 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>Linux的IO性能监控工具iostat详解</title><link>https://arthaszyb.github.io/posts/linux-de-io-xingneng-jiankong-gongju/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-de-io-xingneng-jiankong-gongju/</guid><description>发表于: Linux, Tools, UNIX, 运维经验 | 作者: 谋万世全局者 标签: IO,iostat,Linux,工具,性能监控,详解 Linux系统出现了性能问题，一般我们可以通过top、iostat、free、vmstat等命令来查看初步定位问题。 其中iostat可以提供更丰富的IO性能状态数据。</description><pubDate>Thu, 21 Aug 2014 00:00:00 GMT</pubDate><category>linux</category><category>监控告警</category></item><item><title>mysql使用binlog恢复数据</title><link>https://arthaszyb.github.io/posts/mysql-shiyong-binlog-huifu-shuju/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-shiyong-binlog-huifu-shuju/</guid><description>mpath=&quot;/data1/mysql50223306/binlog&quot; for ((a=989;a &lt; 1360;a++)) do if [[ $a -lt 1000 ]];then b=&quot;0$a&quot; else b=$a fi filename=&quot;${mpath}/mysql-log.00${b}&quot; if [[ -f</description><pubDate>Thu, 21 Aug 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>mysql-replication</category></item><item><title>mysqlbinlog 产生大量临时文件在/tmp</title><link>https://arthaszyb.github.io/posts/mysqlbinlog-chansheng-daliang-linshi-wenjian-zai/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysqlbinlog-chansheng-daliang-linshi-wenjian-zai/</guid><description>默认会在/tmp中生成临时文件，可在命令中加上--local-load=指定临时目录。</description><pubDate>Wed, 20 Aug 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>mysql-replication</category></item><item><title>grep -A -B详解</title><link>https://arthaszyb.github.io/posts/grep-a-b-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/grep-a-b-xiangjie/</guid><pubDate>Tue, 19 Aug 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title># iptables规则导出和导入</title><link>https://arthaszyb.github.io/posts/iptables-guize-daochu-hedao-ru/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/iptables-guize-daochu-hedao-ru/</guid><description>\# iptables规则导出和导入 Tuesday, August 12, 2014 2:57 PM \# iptables-save /root/iptables.save \# vi /etc/init.d/boot.local iptables-restore /root/iptables.save</description><pubDate>Tue, 12 Aug 2014 00:00:00 GMT</pubDate><category>linux</category><category>iptables</category></item><item><title>top的CPU</title><link>https://arthaszyb.github.io/posts/top-de-cpu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/top-de-cpu/</guid><description>1\.  %CPU是由每个核的CPU占用律之和算出来的。  2\.  load跟执行的任务数有关 明显total\pcpu就是累加了每个线程对每个核的使用率，所以%CPU的最大值就是核数\100%。  所以“Load值=CPU核数”，这是最理想的状态，没有任何竞争，一个任务分配一个核。</description><pubDate>Tue, 12 Aug 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>python的shell开启Tab自动补齐功能</title><link>https://arthaszyb.github.io/posts/python-de-shell-kaiqi-tab-zidong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-de-shell-kaiqi-tab-zidong/</guid><description>import rlcompleter,readline readline.parseandbind(&apos;tab:complete&apos;)</description><pubDate>Mon, 04 Aug 2014 00:00:00 GMT</pubDate><category>python</category><category>dns</category><category>python</category></item><item><title>Linux strace命令</title><link>https://arthaszyb.github.io/posts/linux-strace-mingling/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-strace-mingling/</guid><description>Linux strace命令 strace常用来跟踪进程执行时的系统调用和所接收的信号。  在Linux世界，进程不能直接访问硬件设备，当进程需要访问硬件设备(比如读取磁盘文件，接收网络数据等等)时，必须由用户态模式切换至内核态模式，通 过系统调用访问硬件设备。</description><pubDate>Thu, 31 Jul 2014 00:00:00 GMT</pubDate><category>linux</category><category>dns</category></item><item><title>rm删除带特殊字符文件</title><link>https://arthaszyb.github.io/posts/rm-shanchu-daite-shuzi-fuwen-jian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/rm-shanchu-daite-shuzi-fuwen-jian/</guid><description>如果文件名带 ‘-’ 或者‘--’这样的字符，删除办法为： rm -- 文件名 如文件名为：-h.tgz 如果用普通方法去删除：rm -h.tgz 结果错误：rm: invalid option -- h Try \rm --help&apos; for more information.</description><pubDate>Thu, 31 Jul 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>mysql临时目录</title><link>https://arthaszyb.github.io/posts/mysql-linshi-mulu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-linshi-mulu/</guid><description>某天突然报警/分区饱满，查到是/tmp下多了很多mysql数据文件： 这些文件过会就消失，然后又产生，通过lsof命令查询与之相关的进程： 是mysqld进程产生的，遂查询该进程相关活动： 到此就没有头绪了。</description><pubDate>Wed, 30 Jul 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>【MySQL实践经验】LOAD DATA INFILE 报错 ERROR 1148 (42000) 或 ERROR 1045 (28000)的解决办法</title><link>https://arthaszyb.github.io/posts/mysql-shijian-jingyan-load-data-infile/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-shijian-jingyan-load-data-infile/</guid><description>分类： Database 2013-04-07 19:16 1202 人阅读 评论 (0) 收藏 举报 mysql load data 在部署在不同机器上的mysql数据库之间导数据时，load data infile是一个很高效的命令，从host1的db1.table1通过select ...</description><pubDate>Wed, 30 Jul 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>输出程序后面不要带&gt;/dev/null</title><link>https://arthaszyb.github.io/posts/shuchu-chengxu-houmian-buyao-dai-dev/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shuchu-chengxu-houmian-buyao-dai-dev/</guid><description>Imported from Evernote local cache.  Original note body was empty in offline storage.</description><pubDate>Fri, 25 Jul 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>Centos环境下MySQL-python安装过程2012-06-05 11:43:43</title><link>https://arthaszyb.github.io/posts/centos-huanjing-xia-mysql-python-anzhuang/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/centos-huanjing-xia-mysql-python-anzhuang/</guid><description>Centos环境下MySQL-python安装过程 2012-06-05 11:43:43 标签： python mysql centos 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Tue, 22 Jul 2014 00:00:00 GMT</pubDate><category>python</category><category>mysql</category><category>shell-scripting</category><category>python</category><category>ssl-tls</category></item><item><title>修复表、优化时减少磁盘占用空间</title><link>https://arthaszyb.github.io/posts/xiufu-biao-youhua-shijian-shaoci-panzhan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/xiufu-biao-youhua-shijian-shaoci-panzhan/</guid><description>随着mysql的长期使用，肯定会出现一些问题，一般情况下mysql表无法访问，就可以修复表了，优化时减少磁盘占用空间。 方便备份。  复制代码 代码如下: REPAIR TABLE tablename 修复表 OPTIMIZE TABLE tablename 优化表 REPAIR TABLE 用于修复被破坏的表。</description><pubDate>Wed, 16 Jul 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>备份恢复</category></item><item><title>网络流量监控</title><link>https://arthaszyb.github.io/posts/wangluo-liuliang-jiankong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/wangluo-liuliang-jiankong/</guid><description>#!/bin/bash if [ -n &quot;$1&quot; ]; then ethname=$1 else ethname=&quot;eth0&quot; fi i=0 sendo=ifconfig $ethname | grep bytes | awk &apos;{print $6}&apos; | awk -F : &apos;{print $2}&apos;</description><pubDate>Tue, 15 Jul 2014 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category><category>监控告警</category></item><item><title>根据TTL判断对方是什么操作系统</title><link>https://arthaszyb.github.io/posts/genju-ttl-panduan-duifang-shishen-mecao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/genju-ttl-panduan-duifang-shishen-mecao/</guid><description>TTL（Time To Live，生存时间），是IP协议包中的一个值，指定数据包被路由器丢弃之前允许通过的网段数量，数据包每经过路由器转发一次都至少要把TTL减一，TTL通常表示包在被丢弃前最多能经过的路由器个数。 当记数到0时，路由器决定丢弃该包，并发送一个ICMP报文给最初的发送者。</description><pubDate>Wed, 09 Jul 2014 00:00:00 GMT</pubDate><category>linux</category><category>网络排查</category></item><item><title>监控远程端口</title><link>https://arthaszyb.github.io/posts/jiankong-yuancheng-duankou/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiankong-yuancheng-duankou/</guid><description>用 nc 命令检测远程主机 TCP/UDP 端口是否可达的速查片段，例如 nc -w 1 127.0.0.1 53 &amp;&amp; echo true || echo false。</description><pubDate>Wed, 09 Jul 2014 00:00:00 GMT</pubDate><category>linux</category><category>监控告警</category></item><item><title>Linux iptables NAT 透明代理教程</title><link>https://arthaszyb.github.io/posts/linux-iptables-nat-touming-daili-jiaocheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-iptables-nat-touming-daili-jiaocheng/</guid><description>时间: 2011-10-15 / 分类: 经验分享 / 浏览次数: 1,288人 / 0个评论 发表评论 http://www.yimiju.com/articles/tag/NAT Linux的iptables功能太强大，也相当有深度。  不过我只需要用iptables实现“透明代理”功能。</description><pubDate>Wed, 09 Jul 2014 00:00:00 GMT</pubDate><category>linux</category><category>iptables</category></item><item><title>打开nginx调试</title><link>https://arthaszyb.github.io/posts/dakai-nginx-tiaoshi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/dakai-nginx-tiaoshi/</guid><description>2011年9月10日 admin 发表评论 阅读评论 3715 次浏览 请关注最新修正合订： http://lenky.info/ebook/ 这一系列的文章还是在09年写的，存在电脑里很久了，现在贴出来。 顺序也不记得了，看到那个就发那个吧，最近都会发上来。</description><pubDate>Tue, 08 Jul 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>mysql</category></item><item><title>nginx代理，后端web获取用户真实ip</title><link>https://arthaszyb.github.io/posts/nginx-daili-houduan-web-huoqu-yonghu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-daili-houduan-web-huoqu-yonghu/</guid><description>后台nginx服务器 logformat main &apos;$httpxforwardedfor - $remoteuser [$timelocal] &quot;$request&quot; &apos; &apos;$status $bodybytessent &quot;$httpreferer&quot; &apos; &apos;&quot;$httpuseragent&quot;&apos;;</description><pubDate>Tue, 08 Jul 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category></item><item><title>$request_time &amp; $upstream_response_time</title><link>https://arthaszyb.github.io/posts/request-time-upstream-response-time/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/request-time-upstream-response-time/</guid><description>$requesttime &amp; $upstreamresponsetime Tuesday, July 8, 2014 6:39 PM ||| $requesttime| request processing time in seconds with a milliseconds resolution; time</description><pubDate>Tue, 08 Jul 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category></item><item><title>linux中ctime,mtime,atime的区别2008-10-03 14:05:39</title><link>https://arthaszyb.github.io/posts/linux-zhong-ctime-mtime-atime-dequ-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-zhong-ctime-mtime-atime-dequ-2/</guid><description>linux中ctime,mtime,atime的区别 2008-10-03 14:05:39 标签：ctime mtime atime linux 休闲 当你同熟练的UNIX用户进行交谈时，你经常会听到他们傲慢地讲出术语“改变时间(change time)”和“修改时间(modification time)”。</description><pubDate>Mon, 07 Jul 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>linux中ctime,mtime,atime的区别2008-10-03 14:05:39</title><link>https://arthaszyb.github.io/posts/linux-zhong-ctime-mtime-atime-dequ/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-zhong-ctime-mtime-atime-dequ/</guid><description>linux中ctime,mtime,atime的区别 2008-10-03 14:05:39 标签：ctime mtime atime linux 休闲 当你同熟练的UNIX用户进行交谈时，你经常会听到他们傲慢地讲出术语“改变时间(change time)”和“修改时间(modification time)”。</description><pubDate>Mon, 07 Jul 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>Bash中关于日期时间操作的常用自定义函数</title><link>https://arthaszyb.github.io/posts/bash-zhongguan-yuri-qishi-jiancao-zuode/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/bash-zhongguan-yuri-qishi-jiancao-zuode/</guid><description>在编写Linux Bash脚本时，经常会用到一些日期时间有关的命令，下面是我多年Shell编程中常用的函数，现在整理出来，希望起到抛砖引玉的作用。</description><pubDate>Thu, 03 Jul 2014 00:00:00 GMT</pubDate><category>linux</category><category>shell-scripting</category></item><item><title>SSH卡登陆，验证慢的解决方法</title><link>https://arthaszyb.github.io/posts/ssh-kadeng-lu-yanzheng-mande-jiejue/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ssh-kadeng-lu-yanzheng-mande-jiejue/</guid><description>作者： 魏延是反贼.  分类： Linux, 生活·随笔 最近开发那边发现有一个SSH连接的问题，每次他从他的虚拟机连接我们这边服务器的时候，都会出现验证速度慢，输入完ssh xxx.xxx.xxx.xxx之后，要经过很长时间的没响应过程。</description><pubDate>Thu, 03 Jul 2014 00:00:00 GMT</pubDate><category>linux</category><category>ssh</category></item><item><title>查看僵尸进程</title><link>https://arthaszyb.github.io/posts/chakan-jiangshi-jincheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/chakan-jiangshi-jincheng/</guid><description>ps -A -o stat,user,pid,ppid,%mem,%cpu,cmd|grep -e &quot;^\[Zz\]&quot; 需要kill -9 他们的父进程.</description><pubDate>Wed, 02 Jul 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>教您如何查看MySQL用户权限</title><link>https://arthaszyb.github.io/posts/jiaonin-ruhe-chakan-mysql-yonghu-quanxian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiaonin-ruhe-chakan-mysql-yonghu-quanxian/</guid><description>2010-10-12 16:35 佚名 互联网 字号： T | T MySQL用户权限是每一个DBA都应该熟练掌握的知识，下面为您介绍如何查看MySQL的用户权限，希望对您能够有所启迪。  AD： WOT2014：用户标签系统与用户数据化运营培训专场 如果需要查看 MySQL 用户权限，应该如何实现呢？</description><pubDate>Mon, 30 Jun 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>linux中系统性能分析命令top用法详解,总结</title><link>https://arthaszyb.github.io/posts/linux-zhongxi-tongxing-nengfen-ximing-ling/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-zhongxi-tongxing-nengfen-ximing-ling/</guid><description>top命令是Linux系统下常用的性能分析工具，它能够实时的显示系统中各个进程的资源占用状况，知道哪些进程占用多少系统资源,类似于Windows下的任务管理器。  下面详细介绍它的使用方法。</description><pubDate>Fri, 27 Jun 2014 00:00:00 GMT</pubDate><category>linux</category><category>监控告警</category></item><item><title>对其他用户设定文件/目录的特殊权限(setfacl)</title><link>https://arthaszyb.github.io/posts/duiqi-tayong-hushe-dingwen-jian-mulu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/duiqi-tayong-hushe-dingwen-jian-mulu/</guid><description>本篇所使用的setfacl版本： \[root@rhel6-server acltest\]# setfacl --version setfacl 2.2.49 查看文件系统是否支持acl权限控制： \[root@rhel6-server acltest\]# tune2fs -l /dev/sda3 | grep</description><pubDate>Thu, 26 Jun 2014 00:00:00 GMT</pubDate><category>linux</category><category>vim</category></item><item><title>linux下 write/wall 给其它用户/终端 发送即时文本消息</title><link>https://arthaszyb.github.io/posts/linux-xia-write-wall-geiqi-tayong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-xia-write-wall-geiqi-tayong/</guid><description>from：http://verycto.blog.51cto.com/904981/394337 from：http://blog.donews.com/vanfan/archive/2011/12/20/1579866.aspx 一直以来，都是在我的debian机子上架一个自己写的ajax聊天工具，</description><pubDate>Wed, 25 Jun 2014 00:00:00 GMT</pubDate><category>linux</category><category>samba</category><category>hadoop</category></item><item><title>通过进程号查找进程的路径.</title><link>https://arthaszyb.github.io/posts/tongguo-jincheng-haocha-zhaojin-chengde-lujing/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/tongguo-jincheng-haocha-zhaojin-chengde-lujing/</guid><description>很多进程只能看到相对路径,想知道绝对路径可以通过查看/proc/Pid中exe所链接的地址即是 ll /proc/24331/</description><pubDate>Tue, 24 Jun 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>rsync详解之exclude排除文件</title><link>https://arthaszyb.github.io/posts/rsync-xiangjie-zhi-exclude-paichu-wenjian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/rsync-xiangjie-zhi-exclude-paichu-wenjian/</guid><description>问题：如何避开同步指定的文件夹？</description><pubDate>Fri, 13 Jun 2014 00:00:00 GMT</pubDate><category>linux</category><category>nginx</category><category>mysql</category><category>ssh</category><category>rsync</category></item><item><title>PS1的设置</title><link>https://arthaszyb.github.io/posts/ps1-deshe-zhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ps1-deshe-zhi/</guid><description>export PS1=&quot;\\\[\\e\[31;1m\\\]\hostname\\\\\[\\e\[31;1m\\\]\\u\\\[\\e\[0m\\\]@\\\[\\e\[32;1m\\\]\/sbin/ifconfig em1|grep &quot;inet addr:&quot;|cut -d: -f 2|cut -d&quot; &quot;</description><pubDate>Wed, 04 Jun 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>共享内存</title><link>https://arthaszyb.github.io/posts/gongxiang-neicun-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/gongxiang-neicun-2/</guid><description>清除共享内存 ipcrm -M key 通过共享内存查询进程信息 ipcs -m -i shmid</description><pubDate>Thu, 29 May 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>共享内存</title><link>https://arthaszyb.github.io/posts/gongxiang-neicun/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/gongxiang-neicun/</guid><description>清除共享内存 ipcrm -M key 通过共享内存查询进程信息 ipcs -m -i shmid</description><pubDate>Thu, 29 May 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>Linux查看进程运行的完整路径方法</title><link>https://arthaszyb.github.io/posts/linux-chakan-jincheng-yunxing-dewan-zhenglu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-chakan-jincheng-yunxing-dewan-zhenglu/</guid><description>2013年12月16日 ⁄ CentOS, Linux ⁄ 共 278字 ⁄ 字号 小 中 大 ⁄ 暂无评论 ⁄ 阅读 899 次 通过ps及top命令查看进程信息时，只能查到相对路径，查不到的进程的详细信息，如绝对路径等。</description><pubDate>Tue, 27 May 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>#后面跟字符串可以算出该字符串的长度.</title><link>https://arthaszyb.github.io/posts/houmian-genzi-fuchuan-keyi-suanchu-gaizi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/houmian-genzi-fuchuan-keyi-suanchu-gaizi/</guid><description>eg: #iloveu 输出6 而echo iloveu|wc -c则输出7 不对.</description><pubDate>Tue, 27 May 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>mysql双实例标准conf(tx)</title><link>https://arthaszyb.github.io/posts/mysql-shuangshi-libiao-zhun-conf-tx/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-shuangshi-libiao-zhun-conf-tx/</guid><description>[client] port = 3306 socket = /tmp/mysql.sock [mysqld1] user=mysql bind-address = 10.166.6.170 port = 3306 socket = /tmp/mysql3306.sock datadir =</description><pubDate>Tue, 27 May 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>dns</category><category>mysql-replication</category></item><item><title>Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义</title><link>https://arthaszyb.github.io/posts/bash-shell-zhongde-weizhi-canshu-0/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/bash-shell-zhongde-weizhi-canshu-0/</guid><description>在Bash shell中 经常会 见到一些比较特殊的符号，本人现收集与此，以供查阅： 位置参数： 详见ABS(Advanced Bash Shell)中文翻译版103页第9章第一节内部变量，当然英文版ABS都一样啦 $0, $1, $2,等等...  位置参数,从命令行传递给脚本,或者是传递给函数.或者赋职给一个变量.</description><pubDate>Mon, 26 May 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>linux 修改用户密码+非交互设置密码</title><link>https://arthaszyb.github.io/posts/linux-xiugai-yonghu-mima-feijiao-hushe/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-xiugai-yonghu-mima-feijiao-hushe/</guid><description>Linux 本地/远程用户密码修改方法汇总：交互式 passwd、非交互 passwd --stdin / chpasswd，以及配合 expect 脚本的自动化修改。</description><pubDate>Fri, 23 May 2014 00:00:00 GMT</pubDate><category>linux</category><category>ssh</category></item><item><title>今天总结一下linux shell中逻辑关系表达方式。</title><link>https://arthaszyb.github.io/posts/jintian-zongjie-yixia-linux-shell-zhongluo/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jintian-zongjie-yixia-linux-shell-zhongluo/</guid><description>今天总结一下 linux shell中逻辑关系表达方式。  逻辑与的表达： 1）、if [ $xxx=a -a $xx=b ] 2）、 if [ $xxx=a ] &amp; &amp; [ $xx=b ] 逻辑或的表达： 1）、if [ $xxx=a -o $xx=b ] 2）、 if [ $xxx=a ] || [ $xx=b ]</description><pubDate>Thu, 22 May 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>kill -0 PID</title><link>https://arthaszyb.github.io/posts/kill-0-pid/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kill-0-pid/</guid><description>向某一进程发送一个无效的信号，如果该进程存在（能够接收信号），echo $?为0，否则为1，已证明此进程是否存在</description><pubDate>Thu, 22 May 2014 00:00:00 GMT</pubDate><category>linux</category></item><item><title>my.cnf的一个典型配置</title><link>https://arthaszyb.github.io/posts/my-cnf-deyi-gedian-xingpei-zhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/my-cnf-deyi-gedian-xingpei-zhi/</guid><description>[mysql] default-character-set=latin1 no-auto-rehash port=3307 socket=/data2/mysqldata/mysql.sock [mysqld] #绑定ip(默认为0.0.0.0) bind-address=10.166.6.171</description><pubDate>Thu, 22 May 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>dns</category><category>mysql-replication</category></item><item><title>rsync</title><link>https://arthaszyb.github.io/posts/rsync/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/rsync/</guid><description>利用服务端配置的同步池cfs\backup进行同步,无需系统帐号密码 rsync --port=8873 -oa bugtrace.tgz 10.128.34.67::cfs\backup/pcmgr\svr/bugtrace/bak 已知系统帐号密码,可直接同步任意目录 rsync --port=8873 -avz</description><pubDate>Mon, 19 May 2014 00:00:00 GMT</pubDate><category>linux</category><category>rsync</category><category>crontab</category></item><item><title>php无法显示错误日志的问题</title><link>https://arthaszyb.github.io/posts/php-wufa-xianshi-cuowu-rizhi-dewen/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/php-wufa-xianshi-cuowu-rizhi-dewen/</guid><description>修改: /usr/local/php/etc/php.ini 打开error log: logerrors = On errorreportting打开编译错误日志: errorreporting = EERROR | EPARSE</description><pubDate>Fri, 16 May 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>php</category></item><item><title>linux下普通用户如何使用80端口启动程序</title><link>https://arthaszyb.github.io/posts/linux-xiapu-tongyong-huru-heshi-yong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-xiapu-tongyong-huru-heshi-yong/</guid><description>大家都知道默认情况下linux的1024以下端口是只有root用户才有权限占用，于是我们的tomcat，apache，nginx等等程序如果想要用普通用户来占用80端口的话就会抛出permission denied的异常。  解决办法有两种： 1.使用非80端口启动程序，然后再用iptables做一个端口转发。</description><pubDate>Wed, 14 May 2014 00:00:00 GMT</pubDate><category>linux</category><category>nginx</category><category>apache</category><category>iptables</category><category>tomcat</category></item><item><title>windows下nginx+php</title><link>https://arthaszyb.github.io/posts/windows-xia-nginx-php/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/windows-xia-nginx-php/</guid><description>取消注释 extension\dir= ext php\mysql php\mysqli</description><pubDate>Fri, 09 May 2014 00:00:00 GMT</pubDate><category>misc</category><category>nginx</category><category>mysql</category><category>php</category></item><item><title>内置命令查看CPU的核数</title><link>https://arthaszyb.github.io/posts/neizhi-mingling-chakan-cpu-dehe-shu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/neizhi-mingling-chakan-cpu-dehe-shu/</guid><description>一般的奸商会误导消费者说单核双线程的CPU说成双核，或者双核双线程说成四核。  总得来说单核分为单核单线程和单核超线程，双核分为双核单线程和双核超线程。</description><pubDate>Thu, 08 May 2014 00:00:00 GMT</pubDate><category>misc</category></item><item><title>shell 特殊变量2012-11-08 09:47:57</title><link>https://arthaszyb.github.io/posts/shell-teshu-bianliang-2012-11-08/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/shell-teshu-bianliang-2012-11-08/</guid><description>shell 特殊变量 2012-11-08 09:47:57 标签： linux shell 特殊变量 表格 B-1.</description><pubDate>Tue, 06 May 2014 00:00:00 GMT</pubDate><category>shell</category><category>python</category></item><item><title>一些不为人知的Linux命令</title><link>https://arthaszyb.github.io/posts/yixie-buwei-renzhi-de-linux-mingling/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yixie-buwei-renzhi-de-linux-mingling/</guid><description>浮现在脑海的很多 Linux命令，其中一些不为人知，另一些则很常见，如下： xargs or parallel: 并行运行一些程序，命令有很多的选项 sed and awk: 广为人知并且非常有用的处理文本文件的命令，比Python和Ruby还快 m4: 简单的宏处理命令 screen:</description><pubDate>Tue, 06 May 2014 00:00:00 GMT</pubDate><category>shell</category><category>dns</category><category>shell-scripting</category><category>python</category></item><item><title>nux curl是一个利用URL规则在命令行下工作的文件传输工具。它支持文件的上传和下载，所以是综合传输工具，但按传统，习惯称url为下载工具。</title><link>https://arthaszyb.github.io/posts/nux-curl-shiyi-geli-yong-url/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nux-curl-shiyi-geli-yong-url/</guid><description>一，curl命令参数 curl是 一个利用URL规则在命令行下工作的文件传输工具。 它支持文件的上传和下载，所以是综合传输工具，但按传统，习惯称url为下载工具 ，有好多我没有用过，也不知道翻译的对不对，如果有误的地方，还请指正。  查看 复制 打印 ?</description><pubDate>Wed, 30 Apr 2014 00:00:00 GMT</pubDate><category>shell</category><category>ftp</category><category>php</category><category>ssl-tls</category><category>ai-agent</category></item><item><title>vim字符串替换</title><link>https://arthaszyb.github.io/posts/vim-zifu-chuanti-huan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/vim-zifu-chuanti-huan/</guid><description>vi/vim 中可以使用 :s 命令来替换字符串。 以前只会使用一种格式来全文替换，今天发现该命令有很多种写法(vi 真是强大啊，还有很多需要学习)，记录几种在此，方便以后查询。</description><pubDate>Wed, 30 Apr 2014 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category><category>vim</category></item><item><title>linux基本命令grep egrep fgrep用法以及正则表达式 2013-03-07 13:03:02</title><link>https://arthaszyb.github.io/posts/linux-jiben-mingling-grep-egrep-fgrep/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-jiben-mingling-grep-egrep-fgrep/</guid><description>linux基本命令grep egrep fgrep用法以及正则表达式 2013-03-07 13:03:02 分类： 系统运维 一、grep、egrep、fgrep命令 本文中主要介绍了linux系统下grep egrep fgrep命令和正则表达式的基本参数和使用格式、方法。</description><pubDate>Fri, 25 Apr 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>vim中大小写转化</title><link>https://arthaszyb.github.io/posts/vim-zhongda-xiaoxie-zhuanhua/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/vim-zhongda-xiaoxie-zhuanhua/</guid><description>vim中大小写转化的命令是 gu或者gU 形象一点的解释就是小u意味着转为小写；大U意味着转为大写.  剩下的就是对这两个命令的限定（限定操作的行，字母，单词）等等 1、整篇文章大写转化为小写 打开文件后，无须进入命令行模式。</description><pubDate>Thu, 24 Apr 2014 00:00:00 GMT</pubDate><category>shell</category><category>vim</category></item><item><title>linux shell 时间运算以及时间差计算方法</title><link>https://arthaszyb.github.io/posts/linux-shell-shijian-yunsuan-yiji-shijian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-shell-shijian-yunsuan-yiji-shijian/</guid><description>最近一段时间，在处理Shell 脚本时候，遇到时间的处理问题。  时间的加减，以及时间差的计算。  1。  时间加减 这里处理方法，是将基础的时间转变为时间戳，然后，需要增加或者改变时间，变成 秒。</description><pubDate>Thu, 17 Apr 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>Linux vmstat命令实战详解</title><link>https://arthaszyb.github.io/posts/linux-vmstat-mingling-shizhan-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-vmstat-mingling-shizhan-xiangjie/</guid><description>Linux vmstat命令实战详解 vmstat命令是最常见的Linux/Unix监控工具，可以展现给定时间间隔的服务器的状态值,包括服务器的CPU使用率，内存使用，虚拟内存交换情况,IO读写情况。</description><pubDate>Thu, 17 Apr 2014 00:00:00 GMT</pubDate><category>linux</category><category>nginx</category><category>apache</category><category>存储</category><category>监控告警</category></item><item><title>Unix shell-比较操作符</title><link>https://arthaszyb.github.io/posts/unix-shell-bijiao-caozuo-fu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/unix-shell-bijiao-caozuo-fu/</guid><description>热度 3 已有 1930 次阅读 2011-1-12 21:40 | 个人分类: Solaris | 操作符 , shell , Unix Unix shell-比较操作符 整数比较 -eq 等于 if [ &quot;$a&quot; -eq &quot;$b&quot; ] -ne 不等于 if [ &quot;$a&quot; -ne &quot;$b&quot; ] -gt 大于 if</description><pubDate>Wed, 16 Apr 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>linux shell if 参数</title><link>https://arthaszyb.github.io/posts/linux-shell-if-canshu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-shell-if-canshu/</guid><description>shell 编程中使用到得if语句内判断参数 –b 当file存在并且是块文件时返回真 -c 当file存在并且是字符文件时返回真 -d 当pathname存在并且是一个目录时返回真 -e 当pathname指定的文件或目录存在时返回真 -f 当file存在并且是正规文件时返回真 -g</description><pubDate>Fri, 11 Apr 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>lsof -i:137 与netstat差不多</title><link>https://arthaszyb.github.io/posts/lsof-i-137-yu-netstat-chabu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/lsof-i-137-yu-netstat-chabu/</guid><description>若root@10.137.133.107:~# netstat -nap|grep 8080 tcp 0 0 0.0.0.0:8080 0.0.0.0: LISTEN - 查不出来8080被谁占用了,可用下面 lsof -i:8080 找到对应进程号,即可找到进程.</description><pubDate>Fri, 11 Apr 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>Linux下如何用mdadm实现软件RAID</title><link>https://arthaszyb.github.io/posts/linux-xiaru-heyong-mdadm-shixian-ruanjian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-xiaru-heyong-mdadm-shixian-ruanjian/</guid><description>Linux下如何用mdadm实现软件RAID 2007年10月17日 - 03:28 评论关闭 数据在现今企业中占有重要的地位,数据存储的安全性有而是人们使用计算机要注意的重要问题之一.通常情况下人们在服务器端采用各种冗余磁盘阵列RAID技术</description><pubDate>Fri, 28 Mar 2014 00:00:00 GMT</pubDate><category>linux</category><category>crontab</category><category>php</category><category>raid</category><category>cdn</category><category>存储</category></item><item><title>linux系统优化</title><link>https://arthaszyb.github.io/posts/linux-xitong-youhua/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-xitong-youhua/</guid><description>PS：在服务器硬件资源额定有限的情况下，最大的压榨服务器的性能，提高服务器的并发处理能力，是很多运维技术人员思考的问题。 要提高Linux系统下的负载能力，可以使用nginx等原生并发处理能力就很强的web服务器，如果使用Apache的可以启用其Worker模式，来提高其并发处理能力。</description><pubDate>Fri, 14 Mar 2014 00:00:00 GMT</pubDate><category>linux</category><category>nginx</category><category>apache</category><category>shell-scripting</category><category>vim</category></item><item><title>LNMP优化</title><link>https://arthaszyb.github.io/posts/lnmp-youhua/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/lnmp-youhua/</guid><description>本文不涉及大型web架构，旨在单台服务器上通过各种手段最大化的优化和加速lnmp，适合单台服务器或者vps站长们使用。 笔者水平有限，要是有更好的优化手段请留言，我会不断完善此架构。</description><pubDate>Fri, 14 Mar 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>mysql</category><category>memcached</category><category>php</category><category>监控告警</category></item><item><title>Nginx优化教程 实现突破十万并发</title><link>https://arthaszyb.github.io/posts/nginx-youhua-jiaocheng-shixian-tupo-shiwan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-youhua-jiaocheng-shixian-tupo-shiwan/</guid><description>nginx指令中的优化（配置文件） workerprocesses 8; nginx进程数，建议按照cpu数目来指定，一般为它的倍数。</description><pubDate>Fri, 14 Mar 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>php</category><category>存储</category><category>网络排查</category></item><item><title>MySQL 性能提示</title><link>https://arthaszyb.github.io/posts/mysql-xingneng-tishi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-xingneng-tishi/</guid><description>这里罗列了一些基本的 MySQL 性能提示，但不是放之四海而皆准，需要根据实际的应用情况而决定。</description><pubDate>Thu, 06 Mar 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>存储</category></item><item><title>－Nagios基本配置的详细攻略</title><link>https://arthaszyb.github.io/posts/nagios-jiben-peizhi-dexiang-xigong-l-e/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nagios-jiben-peizhi-dexiang-xigong-l-e/</guid><description>10月6日 伪技术人员的成长历程之38－Nagios基本配置的详细攻略 这篇整个都是用来讲Nagios的localhost.cfg完整的基本功能定义配置，更重要的是要通过配置来理解Nagios的工作方式和原理。</description><pubDate>Thu, 27 Feb 2014 00:00:00 GMT</pubDate><category>monitoring</category><category>nagios</category><category>ssl-tls</category><category>监控告警</category></item><item><title>2.3 TCP/IP协议</title><link>https://arthaszyb.github.io/posts/2-3-tcp-ip-xieyi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/2-3-tcp-ip-xieyi/</guid><description>TCP/IP协议是目前最成熟并广为接受的通信协议之一，它不仅广泛应用于各种类型的局域网络，而且也是Internet的协议标准，用于实现不同类型的网络以及不同类型操作系统的主机之间的通信。</description><pubDate>Mon, 17 Feb 2014 00:00:00 GMT</pubDate><category>network</category><category>ftp</category><category>存储</category><category>网络排查</category></item><item><title>合法IP地址分类</title><link>https://arthaszyb.github.io/posts/hefa-ip-dizhi-fenlei/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/hefa-ip-dizhi-fenlei/</guid><description>所谓合法IP地址，是指由IP地址管理部门分配的、能够被路由至Internet、并且在Internet中是唯一的，可以被Internet中的其他主机访问到的IP地址。 企业网络若欲实现Internet服务，就必须至少拥一个合法的IP地址。</description><pubDate>Mon, 17 Feb 2014 00:00:00 GMT</pubDate><category>network</category><category>网络排查</category></item><item><title>lVS DR的体系结构与原理：</title><link>https://arthaszyb.github.io/posts/lvs-dr-deti-xijie-gouyu-yuanli/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/lvs-dr-deti-xijie-gouyu-yuanli/</guid><description>为了阐述方便，我根据官方原理图另外制作了一幅图，如下图所示：VS/DR的体系结构： 我将结合这幅原理图及具体的实例来讲解一下LVS-DR的原理，包括数据包、数据帧的走向和转换过程。</description><pubDate>Thu, 13 Feb 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>lvs</category><category>keepalived</category><category>负载均衡</category><category>网络排查</category></item><item><title>mysql主-主架构 一主多从架构测试（周洋</title><link>https://arthaszyb.github.io/posts/mysql-zhu-zhujia-gou-yizhu-duocong/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-zhu-zhujia-gou-yizhu-duocong/</guid><description>mysql主-主架构 一主多从架构测试（周洋 Thursday, February 13, 2014 5:30 PM 主---主 1.两机器都打开log-bin，定义server-id。</description><pubDate>Thu, 13 Feb 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>2/14工作 amoeba学习。 amoeba 已经下载到9.82：/root下。82为12，16的mysql主机，rhcs已stop，12，16是17和18管</title><link>https://arthaszyb.github.io/posts/2-14-gongzuo-amoeba-xuexi-amoeba/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/2-14-gongzuo-amoeba-xuexi-amoeba/</guid><description>2/14工作 amoeba学习。  amoeba 已经下载到9.82：/root下。 82为12，16的mysql主机，rhcs已stop，12，16是17和18管理的lvs的realserver。</description><pubDate>Thu, 13 Feb 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>mysql</category><category>lvs</category></item><item><title>ip的划分,超详细</title><link>https://arthaszyb.github.io/posts/ip-dehua-fen-chaoxiang-xi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ip-dehua-fen-chaoxiang-xi/</guid><description>我们都知道，ＩＰ是由四段数字组成，在此，我们先来了解一下3类常用的ＩＰ A类IP段 0.0.0.0 到127.255.255.255 B类IP段 128.0.0.0 到191.255.255.255 C类IP段 192.0.0.0 到223.255.255.255 ＸＰ默认分配的子网掩码每段只有255或0</description><pubDate>Wed, 12 Feb 2014 00:00:00 GMT</pubDate><category>network</category></item><item><title>利用Piranha实现Web负载均衡</title><link>https://arthaszyb.github.io/posts/liyong-piranha-shixian-web-fuzai-junheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/liyong-piranha-shixian-web-fuzai-junheng/</guid><description>分类： LVS 集群 HA 2013-01-17 09:59 141人阅读 评论 (0) 收藏 举报 一、背景知识 1、LVS架构的基本分类 （1）Virtual Server via Network Address Translation（VS/NAT） 通过网络地址转换，调度器重写请求报文的目标地址</description><pubDate>Wed, 12 Feb 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>lvs</category><category>dns</category><category>ftp</category><category>shell-scripting</category></item><item><title>piranha+lvs构建负载均衡（zy笔记）</title><link>https://arthaszyb.github.io/posts/piranha-lvs-goujian-fuzai-junheng-zy/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/piranha-lvs-goujian-fuzai-junheng-zy/</guid><description>1.在两台dr服务器上yum install piranha,会依赖安装httpd,php和ipvsadm.  2.dr服务器上开启ip转发。</description><pubDate>Wed, 12 Feb 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>lvs</category><category>php</category><category>负载均衡</category></item><item><title>检查网段内的ip占用情况</title><link>https://arthaszyb.github.io/posts/jiancha-wangduan-neide-ip-zhanyong-qingkuang/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiancha-wangduan-neide-ip-zhanyong-qingkuang/</guid><description>#！ /bin/bash for i in $(seq 1 255); do ping 192.168.9.$i -c 1 -w 2 /dev ull 2 &amp; 1; if [ $?  != 0 ];then echo &quot;$i is not online&quot;; fi; done;</description><pubDate>Mon, 10 Feb 2014 00:00:00 GMT</pubDate><category>shell</category></item><item><title>解决CentOS6下安装ipvsadm-1.26报错</title><link>https://arthaszyb.github.io/posts/jiejue-centos6-xiaan-zhuang-ipvsadm-1/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiejue-centos6-xiaan-zhuang-ipvsadm-1/</guid><description>这次在CentOS6.2中测试安装缺发现一点小问题，特意记录一下： ipvsadm-1.26.tar.gz (for kernel 2.6.28-rc3 or later) - February 8, 2011 [root@host2 ~]# uname -r 2.6.32-220.el6.x8664</description><pubDate>Mon, 10 Feb 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>shell-scripting</category></item><item><title>克隆一个新的机器后，需要修改ip地址，但是发现网卡起不来，报“device eth0 does not seem to be present..”</title><link>https://arthaszyb.github.io/posts/kelong-yige-xinde-jiqi-hou-xuyao-2/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kelong-yige-xinde-jiqi-hou-xuyao-2/</guid><pubDate>Mon, 10 Feb 2014 00:00:00 GMT</pubDate><category>linux</category><category>网络排查</category></item><item><title>克隆一个新的机器后，需要修改ip地址，但是发现网卡起不来，报“device eth0 does not seem to be present..”</title><link>https://arthaszyb.github.io/posts/kelong-yige-xinde-jiqi-hou-xuyao/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/kelong-yige-xinde-jiqi-hou-xuyao/</guid><pubDate>Mon, 10 Feb 2014 00:00:00 GMT</pubDate><category>linux</category><category>网络排查</category></item><item><title>1.1. RHCS群集状态查看(clustat)</title><link>https://arthaszyb.github.io/posts/1-1-rhcs-qunji-zhuangtai-chakan/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/1-1-rhcs-qunji-zhuangtai-chakan/</guid><description>1.1.  群集状态查看(clustat) The clustat command displays the status of the cluster.</description><pubDate>Sat, 08 Feb 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>ai-agent</category><category>监控告警</category><category>高可用</category><category>集群</category></item><item><title>RHEL6_GFS_Web_HA实现</title><link>https://arthaszyb.github.io/posts/rhel6-gfs-web-ha-shixian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/rhel6-gfs-web-ha-shixian/</guid><description>1.</description><pubDate>Sat, 08 Feb 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>iptables</category><category>dns</category><category>lvm</category><category>vim</category></item><item><title>Heartbeat3.x</title><link>https://arthaszyb.github.io/posts/heartbeat3-x/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/heartbeat3-x/</guid><description>I 概念及工作原理 一、Heartbeat的概念组成以及工作原理 1、 heartbeat的概念 Heartbeat是Linux-HA项目中的一个组件，也是目前开源HA项目中最成功的一个例子, Linux-HA的全称是High-Availability Linux,这个开源项目的目标是：通过社区开发者的共同努力</description><pubDate>Thu, 23 Jan 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>mysql</category><category>nfs</category><category>python</category><category>drbd</category></item><item><title>检查垃圾邮件</title><link>https://arthaszyb.github.io/posts/jiancha-laji-youjian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiancha-laji-youjian/</guid><description>进入anspam的log目录 awk -F&quot;,&quot; &apos;{print $67,$70,$75}&apos; .log |grep Pass|grep chinaboqi</description><pubDate>Thu, 23 Jan 2014 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category></item><item><title>heartbeat监控mysql的脚本</title><link>https://arthaszyb.github.io/posts/heartbeat-jiankong-mysql-dejiao-ben/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/heartbeat-jiankong-mysql-dejiao-ben/</guid><description>#!/bin/bash pid=/var/mysql/data/host002.pid time=date &apos;+%H:%M:%S&apos; Date=date &apos;+%Y.%m.%d&apos; if [ -f $pid ];then echo &quot;$time:mysql is running&quot;</description><pubDate>Fri, 17 Jan 2014 00:00:00 GMT</pubDate><category>shell</category><category>mysql</category><category>监控告警</category></item><item><title>每10秒执行一次脚本的crontab</title><link>https://arthaszyb.github.io/posts/mei-10-miaozhi-xingyi-cijiao-bende/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mei-10-miaozhi-xingyi-cijiao-bende/</guid><description>crontab -e \ \ \ \ \ /bin/date /tmp/date.txt \ \ \ \ \ sleep 10; /bin/date /tmp/date.txt \ \ \ \ \ sleep 20; /bin/date /tmp/date.txt \ \ \ \ \ sleep 30;</description><pubDate>Fri, 17 Jan 2014 00:00:00 GMT</pubDate><category>linux</category><category>crontab</category></item><item><title>mysql使用heartbeat+NFS高可用部署</title><link>https://arthaszyb.github.io/posts/mysql-shiyong-heartbeat-nfs-gaoke-yongbu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-shiyong-heartbeat-nfs-gaoke-yongbu/</guid><description>0.配置各机器的hostname，uname -n检查。  1.配置NFS共享存储。 注意所有机器的mysql用户uid一致。 挂载共享存储。</description><pubDate>Fri, 17 Jan 2014 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>nfs</category><category>存储</category><category>高可用</category><category>集群</category></item><item><title>（总结）Nginx配置文件nginx.conf中文详解</title><link>https://arthaszyb.github.io/posts/zongjie-nginx-peizhi-wenjian-nginx-conf/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zongjie-nginx-peizhi-wenjian-nginx-conf/</guid><description>2012-12 14 （总结）Nginx配置文件nginx.conf中文详解 PS： Nginx 使用有两三年了，现在经常碰到有新用户问一些很基本的问题，我也没时间一一回答，今天下午花了点时间，结合自己的使用经验，把Nginx的主要配置参数说明分享一下，也参考了一些网络的内容</description><pubDate>Thu, 16 Jan 2014 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>apache</category><category>php</category><category>tomcat</category><category>负载均衡</category></item><item><title>python基础教程笔记</title><link>https://arthaszyb.github.io/posts/python-jichu-jiaocheng-biji/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/python-jichu-jiaocheng-biji/</guid><description>函数： 1.len（），max（），min（）。  list(&apos;sdwd&apos;) [&apos;s&apos;, &apos;d&apos;, &apos;w&apos;, &apos;d&apos;] 方法： 格式： 对象.方法（参数） 1.append（） 末尾追加值 2.count 统计某个元素出现的次数 3.extent 在一个表的后面追加另一个表进来用于扩展第一个表。</description><pubDate>Mon, 13 Jan 2014 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>存储</category></item><item><title>更友好的显示当前的系统挂载</title><link>https://arthaszyb.github.io/posts/gengyou-haode-xianshi-dangqian-dexi-tonggua/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/gengyou-haode-xianshi-dangqian-dexi-tonggua/</guid><description>mount |column -t 显示目录下一级子目录的大小信息，改为2则进一步显示下一级子目录的信息。  du -h --max-depth=1</description><pubDate>Tue, 31 Dec 2013 00:00:00 GMT</pubDate><category>shell</category></item><item><title>sshfs挂载远程目录</title><link>https://arthaszyb.github.io/posts/sshfs-guazai-yuancheng-mulu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/sshfs-guazai-yuancheng-mulu/</guid><description>在Linux下，有很多挂载远程（别的机器）目录的方法，例如NFS。  之前一直在用NFS，但是配置起来比较麻烦（需要N个C一个S），而且不太稳定（断网后无法卸载！ ），现在换sshfs，它基于Linux内置的ssh协议，只要又FUSE就能正常工作。</description><pubDate>Tue, 31 Dec 2013 00:00:00 GMT</pubDate><category>linux</category><category>ssh</category><category>nfs</category></item><item><title>MYSQL 多表查询学习</title><link>https://arthaszyb.github.io/posts/mysql-duobiao-chaxun-xuexi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-duobiao-chaxun-xuexi/</guid><description>2013-03-09 22:44:00| 分类： 数据库 mysql | 标签： mysql sql 多表联合查询 | 字号 订阅 1.简单查询 内连接查询 1】简单的连接查询 给两个表找中间桥梁: select 字段列表 from 表1,表2 where 表1.sid=表2.sid; eg: select</description><pubDate>Thu, 26 Dec 2013 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>php</category><category>存储</category></item><item><title>Linux tcpdump命令详解</title><link>https://arthaszyb.github.io/posts/linux-tcpdump-mingling-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-tcpdump-mingling-xiangjie/</guid><description>用这个命令，可以配合tcpdump抓包后打印出IP，对机器的性能影响比较小，不会写磁盘，纯内存操作，简单高效。</description><pubDate>Tue, 24 Dec 2013 00:00:00 GMT</pubDate><category>shell</category><category>tcpdump</category><category>dns</category><category>ftp</category><category>samba</category><category>nfs</category></item><item><title>测试网卡负载</title><link>https://arthaszyb.github.io/posts/ceshi-wangka-fuzai/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/ceshi-wangka-fuzai/</guid><description>修改eth2为要测试的网卡即可 typeset in inold difin difin1 difout1 packetold packet difpack typeset out outold difout inold=$(cat /proc et/dev | grep eth2 | sed &apos;s=^.:==&apos; |</description><pubDate>Sat, 21 Dec 2013 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category><category>网络排查</category></item><item><title>Linux NFS配置小结</title><link>https://arthaszyb.github.io/posts/linux-nfs-peizhi-xiaojie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-nfs-peizhi-xiaojie/</guid><description>点击量：次 发布时间：2012-04-16 17:17 Redhat Linux NFS配置 NFS简介： NFS是网络文件系统的简写（network file system），主要用在linux或unix环境中，是有sun公司开发，并于1984年推出的一个RPC服务系统。</description><pubDate>Tue, 17 Dec 2013 00:00:00 GMT</pubDate><category>linux</category><category>iptables</category><category>selinux</category><category>nfs</category><category>vim</category></item><item><title>通过cp整个mysql程序目录快速安装mysql</title><link>https://arthaszyb.github.io/posts/tongguo-cp-zhengge-mysql-chengxu-mulu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/tongguo-cp-zhengge-mysql-chengxu-mulu/</guid><description>1.原mysqldata目录和my.cnf最好放在程序目录中，如mysql/data/，这样源程序tar打包比较方便； 2.目标机器上useradd mysql，yum remove mysql,删除/etc/my.cnf，因为默认会读取这里的cnf文件； 3.直接拷贝源程序的压缩包过来，解压到mysql目录中</description><pubDate>Tue, 10 Dec 2013 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>mysqldump导出－－数据+结构+（函数+存储过程） 2011-12-01 09:43:40</title><link>https://arthaszyb.github.io/posts/mysqldump-daochu-shuju-jiegou-hanshu-cunchu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysqldump-daochu-shuju-jiegou-hanshu-cunchu/</guid><description>mysqldump导出－－数据+结构+（函数+存储过程） 2011-12-01 09:43:40 分类： Mysql/postgreSQL mysql锁表、锁库操作 今天在解决数据库同步异常的时候用到了flush tables with read lock 这个命令，于是顺便就学习了下锁表的相关知识。</description><pubDate>Wed, 04 Dec 2013 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>存储</category><category>备份恢复</category></item><item><title>多实例mysql的安装和管理</title><link>https://arthaszyb.github.io/posts/duoshi-li-mysql-dean-zhuanghe-guanli/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/duoshi-li-mysql-dean-zhuanghe-guanli/</guid><description>mysql的多实例有两种方式可以实现，两种方式各有利弊。  第一种是使用多个配置文件启动不同的进程来实现多实例，这种方式的优势逻辑简单，配置简单，缺点是管理起来不太方便。  第二种是通过官方自带的mysqldmulti使用单独的配置文件来实现多实例，这种方式定制每个实例的配置不太方面，优点是管理起来很方便，集中管理。</description><pubDate>Fri, 22 Nov 2013 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>shell-scripting</category><category>mysql-replication</category><category>ssl-tls</category><category>vim</category></item><item><title>MySQL 主从服务器的配置步骤</title><link>https://arthaszyb.github.io/posts/mysql-zhucong-fuwu-qide-peizhi-buzhou/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/mysql-zhucong-fuwu-qide-peizhi-buzhou/</guid><description>环境： [plain] view plain copy print ?</description><pubDate>Fri, 22 Nov 2013 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>mysql-replication</category></item><item><title>[解决方法]MySql提示:The server quit without updating PID file(…)失败</title><link>https://arthaszyb.github.io/posts/jiejue-fangfa-mysql-tishi-the-server/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiejue-fangfa-mysql-tishi-the-server/</guid><description>Linux专题 REKFAN.COM 2012-08-13 14109浏览 2评论 服务器症状： 今天网站web页面提交内容到数据库，发现出错了，一直提交不了，数找了下原因，发现数据写不进去！ 第一反应，重启mysql数据库，一直执行中，停止不了也启动不了，直觉告诉我磁盘满了 ！</description><pubDate>Wed, 20 Nov 2013 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>selinux</category></item><item><title>sed一些用法</title><link>https://arthaszyb.github.io/posts/sed-yixie-yongfa/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/sed-yixie-yongfa/</guid><description>在文本的最后一行后插入内容： sed -i &apos;$ a\greenlizard-end&apos; content #greenlizard-end为插入的内容。  在第一行前插入： sed -i &apos;1 i\greenlizard-begin&apos; content #greenlizard-begin为插入的内容。</description><pubDate>Wed, 20 Nov 2013 00:00:00 GMT</pubDate><category>shell</category><category>mysql</category><category>shell-scripting</category></item><item><title>提取ip地址：</title><link>https://arthaszyb.github.io/posts/tiqu-ip-dizhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/tiqu-ip-dizhi/</guid><description>[root@web41 ~]# ifconfig|grep &quot;inet addr&quot;|grep -o &quot;[0-9.]\{1,\}&quot;|head -n 1 192.168.70.41 [root@web41 ~]# ifconfig|grep &quot;inet addr&quot;|grep -o &quot;[0-9.]\{1,\}&quot;|sed</description><pubDate>Tue, 19 Nov 2013 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category></item><item><title>corosync+pacemaker+mysql+drbd 实现mysql的高可用2013-09-29 10:46:34</title><link>https://arthaszyb.github.io/posts/corosync-pacemaker-mysql-drbd-shixian-mysql/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/corosync-pacemaker-mysql-drbd-shixian-mysql/</guid><description>corosync+pacemaker+mysql+drbd 实现mysql的高可用 2013-09-29 10:46:34 标签：corosync pacemaker mysql drbd 原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。 否则将追究法律责任。</description><pubDate>Tue, 12 Nov 2013 00:00:00 GMT</pubDate><category>linux</category><category>mysql</category><category>dns</category><category>ssh</category><category>shell-scripting</category><category>lvm</category></item><item><title>yum下载远程源上的rpm包</title><link>https://arthaszyb.github.io/posts/yum-xiazai-yuancheng-yuanshang-de-rpm/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yum-xiazai-yuancheng-yuanshang-de-rpm/</guid><description>对没有安装过的rpm包可以直接 yumdownloader +包名 下载到当前目录 如果已经安装了，则加上resolve参数 yumdownloader --resolve +包名</description><pubDate>Thu, 07 Nov 2013 00:00:00 GMT</pubDate><category>linux</category></item><item><title>DRBD – How to configure DRBD on CentOS 6</title><link>https://arthaszyb.github.io/posts/drbd-how-to-configure-drbd-on/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/drbd-how-to-configure-drbd-on/</guid><description>DRBD® refers to block devices designed as a building block to form high availability(HA) clusters - Distributed Replicated Block Device This is done by</description><pubDate>Wed, 06 Nov 2013 00:00:00 GMT</pubDate><category>linux</category><category>dns</category><category>crontab</category><category>php</category><category>raid</category><category>drbd</category></item><item><title>How to Install DRBD on CentOs 6.2</title><link>https://arthaszyb.github.io/posts/how-to-install-drbd-on-centos/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/how-to-install-drbd-on-centos/</guid><description>Published June 17, 2012 | By H.Ali RHEL 6 and has CentOs 6.2no more yum repository for DRBD.</description><pubDate>Wed, 06 Nov 2013 00:00:00 GMT</pubDate><category>linux</category><category>drbd</category></item><item><title>分享日志</title><link>https://arthaszyb.github.io/posts/fenxiang-rizhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/fenxiang-rizhi/</guid><description>热门日志 将win7电脑变身WiFi热点 分享 将win7电脑变身WiFi热点 来源： 苏靖翔的日志 开启 windows 7 的隐藏功能：虚拟 WiFi 和 SoftAP （即虚拟无线 AP ），就可以让电脑变成无线路由器，实现共享上网，节省网费和路由器购买费。</description><pubDate>Thu, 31 Oct 2013 00:00:00 GMT</pubDate><category>misc</category><category>网络排查</category></item><item><title>解析RHCS高可用集群HA及负载均衡集群LB的实现方法 - 站长网 admin5.com</title><link>https://arthaszyb.github.io/posts/jiexi-rhcs-gaoke-yongji-qun-ha/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/jiexi-rhcs-gaoke-yongji-qun-ha/</guid><description>RedHat 集群套件( RHCS ，RedHat Cluster Suit)简介 本章将会以 RHCS 3.0为基础向读者介绍基于Linux的高可用及 负载均衡 集群的配置方法。  RHCS 是由RedHat发布的用于RHEL(RedHat Enterprise Linux)的集群产品。</description><pubDate>Mon, 21 Oct 2013 00:00:00 GMT</pubDate><category>web-infra</category><category>lvs</category><category>dns</category><category>samba</category><category>nfs</category><category>存储</category></item><item><title>RedHat 集群套件(高可用，负载均衡)简介</title><link>https://arthaszyb.github.io/posts/redhat-jiqun-taojian-gaoke-yong-fuzai/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/redhat-jiqun-taojian-gaoke-yong-fuzai/</guid><description>RedHat 集群套件( RHCS ，RedHat Cluster Suit)简介 本章将会以 RHCS 3.0为基础向读者介绍基于Linux的高可用及 负载均衡 集群的配置方法。  RHCS 是由RedHat发布的用于RHEL(RedHat Enterprise Linux)的集群产品。</description><pubDate>Mon, 21 Oct 2013 00:00:00 GMT</pubDate><category>web-infra</category><category>lvs</category><category>dns</category><category>samba</category><category>nfs</category><category>存储</category></item><item><title>RHCS5部署</title><link>https://arthaszyb.github.io/posts/rhcs5-bushu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/rhcs5-bushu/</guid><description>一、 安装环境介绍 这个实例要介绍的是web+mysql集群的构建，整个RHCS集群共有四台服务器组成，分别由两台主机搭建web集群，两台主机搭建mysql集群，在这种集群构架下，任何一台web服务器故障，都有另一台web服务器进行服务接管，同时，任何一台mysql服务器故障，也有另一台mysql服务器去接管服务</description><pubDate>Thu, 17 Oct 2013 00:00:00 GMT</pubDate><category>web-infra</category><category>mysql</category><category>ssl-tls</category><category>iscsi</category><category>存储</category><category>高可用</category></item><item><title>在redhat6.2as下安装centoscluster集群</title><link>https://arthaszyb.github.io/posts/zai-redhat6-2as-xiaan-zhuang-centoscluster/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/zai-redhat6-2as-xiaan-zhuang-centoscluster/</guid><description>一.  配置yum源 二、安装cluster套件 RHCS（Red Hat Cluster Suite）是一个能够提供高可用性、高可靠性、负载均衡、存储共享且经济廉价的集群工具集合.  LUCI：是一个基于web的集群配置方式，通过luci可以轻松的搭建一个功能强大的集群系统。</description><pubDate>Thu, 17 Oct 2013 00:00:00 GMT</pubDate><category>linux</category><category>apache</category><category>iptables</category><category>selinux</category><category>shell-scripting</category><category>lvm</category></item><item><title>linux下IPTABLES配置详解</title><link>https://arthaszyb.github.io/posts/linux-xia-iptables-peizhi-xiangjie/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/linux-xia-iptables-peizhi-xiangjie/</guid><description>如果你的IPTABLES基础知识还不了解,建议先去看看.  开始配置 我们来配置一个filter表的防火墙.</description><pubDate>Wed, 16 Oct 2013 00:00:00 GMT</pubDate><category>linux</category><category>iptables</category><category>dns</category><category>ssh</category><category>ftp</category><category>nfs</category></item><item><title>RHCS(概念篇)</title><link>https://arthaszyb.github.io/posts/rhcs-gainian-pian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/rhcs-gainian-pian/</guid><description>一、 什么是RHCS RHCS是Red Hat Cluster Suite的缩写，也就是红帽子集群套件，RHCS是一个能够提供高可用性、高可靠性、负载均衡、存储共享且经济廉价的集群工具集合，它将集群系统中三大集群架构融合一体，可以给web应用、数据库应用等提供安全、稳定的运行环境。</description><pubDate>Tue, 15 Oct 2013 00:00:00 GMT</pubDate><category>web-infra</category><category>apache</category><category>mysql</category><category>lvs</category><category>lvm</category><category>iscsi</category></item><item><title>RHCS5维护</title><link>https://arthaszyb.github.io/posts/rhcs5-weihu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/rhcs5-weihu/</guid><description>一、启动RHCS集群 RHCS集群的核心进程有cman和rgmanager，要启动集群，依次在集群的每个节点执行如下命令即可： 需要注意的是，执行这两个命令是有先后顺序的，需要首先启动cman，然后在启动rgmanager。 在集群所有节点成功启动cman服务后，然后继续依次在每个节点启动rgmanager服务。</description><pubDate>Mon, 14 Oct 2013 00:00:00 GMT</pubDate><category>web-infra</category><category>mysql</category><category>存储</category><category>监控告警</category><category>集群</category></item><item><title>iscsi 配置</title><link>https://arthaszyb.github.io/posts/iscsi-peizhi/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/iscsi-peizhi/</guid><description>一。 配置服务端 1.yum install scsi-target-utils 2.启动tgtd服务并设置自启动 service tgtd start checkconfig tgtd on 3\.</description><pubDate>Thu, 10 Oct 2013 00:00:00 GMT</pubDate><category>linux</category><category>vim</category><category>iscsi</category></item><item><title>RHCS部署</title><link>https://arthaszyb.github.io/posts/rhcs-bushu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/rhcs-bushu/</guid><description>一。 配置共享存储 1.配置iscsi服务器,共享磁盘。  2.客户端都连接上共享盘，连接上后可用fdisk -l查看。  二。</description><pubDate>Thu, 10 Oct 2013 00:00:00 GMT</pubDate><category>web-infra</category><category>iscsi</category><category>存储</category><category>集群</category></item><item><title>vnc安装过程</title><link>https://arthaszyb.github.io/posts/vnc-anzhuang-guocheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/vnc-anzhuang-guocheng/</guid><description>1.yum安装vnc-server 2.执行vncserver，设置密码 3.修改/etc/sysconfig/vncservers,增加下两行 VNCSERVERS=&quot;2:root&quot; VNCSERVERARGS[2]=&quot;-geometry 800x600 tcp&quot; 4.修改/root/.vnc/xstartup</description><pubDate>Wed, 09 Oct 2013 00:00:00 GMT</pubDate><category>misc</category></item><item><title>Nginx打开目录浏览功能(autoindex)</title><link>https://arthaszyb.github.io/posts/nginx-dakai-mulu-liulan-gongneng-autoindex/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-dakai-mulu-liulan-gongneng-autoindex/</guid><description>Nginx默认是不允许列出整个目录的。 如需此功能， 打开nginx.conf文件，在location server 或 http段中加入 autoindex on; 另外两个参数最好也加上去: autoindexexactsize off; 默认为on，显示出文件的确切大小，单位是bytes。</description><pubDate>Tue, 08 Oct 2013 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category></item><item><title>yum服务器搭建</title><link>https://arthaszyb.github.io/posts/yum-fuwu-qida-jian/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/yum-fuwu-qida-jian/</guid><description>安装ftp服务器（http服务器也可以，目的就是共享rpm目录，可将源目录软链接到共享目录下），将原文件存储在ftp上，然后安装网络yum，实现客户机可以从yum服务器上下载软件包 客户机请求过程: 切换到服务器端 1：[root@lyt ~]# mkdir /mnt/cdrom/ #建立挂载点</description><pubDate>Tue, 08 Oct 2013 00:00:00 GMT</pubDate><category>linux</category><category>ftp</category><category>vim</category><category>存储</category><category>集群</category></item><item><title>LNMP中碰到的问题</title><link>https://arthaszyb.github.io/posts/lnmp-zhongpeng-daode-wenti/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/lnmp-zhongpeng-daode-wenti/</guid><description>1.装fontconfig ./configure --prefix=/usr/local/fontconfig --with-freetype-config=/usr/local/freetype/bin/freetype-config 时报错 解决:其实是由于我用的是64位机器的原因，解决办法也比较好办了。</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate><category>shell</category><category>php</category></item><item><title>反垃圾统计脚本</title><link>https://arthaszyb.github.io/posts/fanla-jitong-jijiao-ben/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/fanla-jitong-jijiao-ben/</guid><description>for i in ls; do t1=grep -c -P &quot;,cmd:DATA,.Outside:1,&quot; $i; t2=grep -c -P &quot;,cmd:DATA,.Outside:1,.retcode:[45]&quot; $i; t3=$[$t1-$t2]; echo &quot;$i total:$t1, reject:$t2,</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate><category>shell</category></item><item><title>nagios难忘的错误</title><link>https://arthaszyb.github.io/posts/nagios-nanwang-decuo-wu/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nagios-nanwang-decuo-wu/</guid><description>配置好各个objects文件和nagios.conf后检查语法，一直报错，提示每个配置文件都有问题，最后终于发现问题所在：time设置中有个7x24,我在其他配置文件中调用该参数时都写成了724，故无法调用该参数。</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate><category>monitoring</category><category>nagios</category></item><item><title>nginx安装笔记</title><link>https://arthaszyb.github.io/posts/nginx-anzhuang-biji/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-anzhuang-biji/</guid><description>Nginx安装加载ssl错误 2010-04-01 18:48:34| 分类： linux |字号 订阅 Nginx安装加载ssl错误问题解决 [root@jowei nginx-0.8.9]# make make -f objs/Makefile make[1]: Entering directory /jowei</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>ssl-tls</category></item><item><title>sed的笔记</title><link>https://arthaszyb.github.io/posts/sed-debi-ji/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/sed-debi-ji/</guid><description>目标如题，文本如下 34:40031:12635:suc:1:40093:4:40086 34:40031:15658:suc 29:40031:17066:suc:3:40086 如何将偶数的冒号改为逗号呢？</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category></item><item><title>awk的笔记</title><link>https://arthaszyb.github.io/posts/awk-debi-ji/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/awk-debi-ji/</guid><description>关于RS/ORS,FS/OFS的解释和区别 [root@r25 zy]# cat 7.txt 1234 323123 4321 321321 66661234 124213 [root@r25 zy]# awk &apos;BEGIN{RS=2}{print $0}&apos; 7.txt #记录分隔符,默认为</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate><category>shell</category><category>shell-scripting</category></item><item><title>错误解决笔记</title><link>https://arthaszyb.github.io/posts/cuowu-jiejue-biji/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/cuowu-jiejue-biji/</guid><description>安装mysql，在./configure时出现错误：error: No curses/termcap library found的解决办法 作者：zccst mysql版本：5.1.30 已经不记得这次是第几次安装mysql了，遇到这个问题倒是第一次。</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate><category>database</category><category>mysql</category></item><item><title>安装过程</title><link>https://arthaszyb.github.io/posts/anzhuang-guocheng/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/anzhuang-guocheng/</guid><description>mysql5.5.29源码包的安装 Mysql5.5.29源码包的安装(此版本用cmake编译的)： 1.安装cmake, cd cmake-2.8.5 ./bootstarp Make &amp; &amp; make install 2.安装mysql5.5.29 解压源码包，编译安装 cd mysql-5.5.28</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate><category>database</category><category>mysql</category><category>存储</category><category>备份恢复</category></item><item><title>nginx做反向代理</title><link>https://arthaszyb.github.io/posts/nginx-zuofan-xiangdai-li/</link><guid isPermaLink="true">https://arthaszyb.github.io/posts/nginx-zuofan-xiangdai-li/</guid><description>1、安装nginx ①、为了确保能在 nginx 中使用正则表达式进行更灵活的配置，安装之前需要确定系统是否安装有 PCRE（Perl Compatible Regular Expressions）包。</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate><category>web-infra</category><category>nginx</category><category>ftp</category><category>ssl-tls</category><category>监控告警</category><category>集群</category></item></channel></rss>