mysqlbinlog的增量恢复实战 By duncan21Posted on 2016 年 4 月 1 日2016 年 4 月 1 日Posted in MySqlTagged mysql, mysqlbinlog, 恢复 企业生产环境下,突发事件,某个脑残的leader,执行了drop database blog,如何恢[……] 阅读全文 Read More
[转]谁将成为第五座直辖市? By duncan21Posted on 2016 年 2 月 20 日2016 年 2 月 20 日Posted in repostTagged 武汉, 直辖市 武汉、南京,还是…… 继重庆之后,谁将成为第五座直辖市,向来是网络争议的焦点。网民们并非逞[……] 阅读全文 Read More
安装VPN服务器pptpd By duncan21Posted on 2016 年 2 月 16 日2021 年 4 月 11 日Posted in LinuxTagged pptp 环境: [root@vpn_server network-scripts]# cat /e[……] 阅读全文 Read More
[转]CentOS7修改网卡名称为eth0 By duncan21Posted on 2016 年 1 月 27 日2018 年 7 月 7 日Posted in LinuxTagged centos7, 网卡 CentOS7修改网卡为eth0 1.编辑网卡信息 [root@linux-node2~]# c[……] 阅读全文 Read More
[转]在CentOS 7上给一个网卡分配多个IP地址 By duncan21Posted on 2016 年 1 月 27 日Posted in LinuxTagged centos7, ip, 网卡 首先,让我们找到网卡的IP地址。在我的CentOS 7服务器中,我只使用了一个网卡。 用root特[……] 阅读全文 Read More
[转]生产环境下4G内存的MySQL配置文件参数详解 By duncan21Posted on 2016 年 1 月 6 日2021 年 2 月 19 日Posted in MySqlTagged mysql [client]####客户端 port=3306####mysql客户端连接时的默认端口号 s[......] 阅读全文 Read More
[转]Haproxy与Nginx的优缺点总结 By duncan21Posted on 2015 年 12 月 23 日Posted in LinuxTagged haproxy, nginx Nginx的优点: 1、工作在OSI第7层,可以针对http应用做一些分流的策略。比如针对域名、目[……] 阅读全文 Read More
[转]《地铁惊魂》:中指为谁而竖 By duncan21Posted on 2015 年 12 月 20 日2021 年 3 月 14 日Posted in repostTagged 地铁惊魂No Comments on [转]《地铁惊魂》:中指为谁而竖 《地铁惊魂》原本计划是在6月20日在内地上映的,后来因为某公共交通事件档期被取消。4个月后,《地[……] 阅读全文 Read More
开发haproxy启动脚本 By duncan21Posted on 2015 年 12 月 20 日Posted in ShellTagged haproxy [codesyntax lang=”python”] #!/bin/bash[......]阅读全文 Read More
[转]修宪当总统,华裔女孩的美国梦 By duncan21Posted on 2015 年 12 月 11 日2015 年 12 月 20 日Posted in repostTagged 美国梦 日前,十岁华裔女孩Alena Mulhern带着她的总统梦,在马赛诸塞州州议会听[……] 阅读全文 Read More
分享一个简单的resin启动脚本 By duncan21Posted on 2015 年 12 月 1 日2021 年 4 月 15 日Posted in ShellTagged resin [root@client01 ~]# cat /etc/init.d/resind?[......]阅读全文 Read More
redis优化经验总结 By duncan21Posted on 2015 年 11 月 24 日Posted in NoSQLTagged redis 1.根据业务需要选择合适的数据类型,并为不同的应用场景设置相应的紧凑存储参数。 2.当业务场景[……] 阅读全文 Read More
[转]三件事看清一个人到底值不值得深交 By duncan21Posted on 2015 年 11 月 5 日Posted in repost 奥斯卡尔·王尔德说起过,有许多品德美好的人,如渔民、牧羊人、农夫[……] 阅读全文 Read More
[转]上市是企业的荣耀还是枷锁 再论华为为什么不上市 By duncan21Posted on 2015 年 10 月 26 日Posted in repostTagged 上市, 华为 上市是企业的荣耀还是枷锁 再论华为为什么不上市 上市是祝福也是诅咒 有的企业在上[……] 阅读全文 Read More
开发Tokyo Cabinet/Tyrant启动脚本 By duncan21Posted on 2015 年 10 月 20 日2015 年 10 月 20 日Posted in NoSQL, ShellTagged Tokyo Cabinet,TyrantNo Comments on 开发Tokyo Cabinet/Tyrant启动脚本 用过TT数据库的人都知道,启动tt服务的命令非常的复杂,一不小心可能出错,所以,自己编写了一个启动的[……] 阅读全文 Read More
开发squid启动脚本 By duncan21Posted on 2015 年 10 月 18 日2016 年 8 月 23 日Posted in ShellTagged squid 最近在弄squid,然后就用shell写了一个小小的squid的启动脚本 [codesyntax[……] 阅读全文 Read More
MySQL数据库多种优化生产方案总结 By duncan21Posted on 2015 年 10 月 9 日Posted in MySqlTagged mysql, 优化 MySQL数据库多种优化生产方案总结 1.硬件优化 a.CPU 64-bit cpu;一台机[……] 阅读全文 Read More
LVM逻辑卷基本概念及LVM的工作原理及实践 By duncan21Posted on 2015 年 10 月 7 日2016 年 8 月 23 日Posted in LinuxTagged lvm 一、传统的磁盘管理 其实在Linux操作系统中,我们的磁 盘管理机制和windows上的差不多[……] 阅读全文 Read More
[转]比股市崩盘更可怕的TPP! By duncan21Posted on 2015 年 10 月 6 日2016 年 6 月 25 日Posted in repostTagged tpp 从理论上和TPP的规则上说,任何国家都可以加入TPP,但惟独神州不行,用TPP一位官员的话说,“[……] 阅读全文 Read More
Python学习之利用python实现ssh功能 By duncan21Posted on 2015 年 9 月 29 日2021 年 4 月 14 日Posted in Python 目标:利用python实现ssh功能 环境:2台linux 服务器 实现过程 sever端: [……] 阅读全文 Read More