为wordpress升级php到最新的版本7 By duncan21Posted on 2016 年 8 月 3 日2016 年 8 月 25 日Posted in LinuxTagged php7 具体的步骤如下所示: 下载和解压略 ./configure \ --pref[......]阅读全文 Read More
使用php连接mysql By duncan21Posted on 2016 年 7 月 18 日2016 年 8 月 25 日Posted in MySqlTagged mysql, php <?php $mysql_server_name='127.0.0.1'[......]阅读全文 Read More
[转]石佛十九载,他只是个高冷的呆子 By duncan21Posted on 2016 年 7 月 12 日Posted in repostTagged duncan 今年4月25日,蒂姆-邓肯,四十岁了。孔夫子说过,“四十而不惑”。人们并不理解夫子的玉石金言,瞥[……] 阅读全文 Read More
为WordPress后台登录添加验证码 By duncan21Posted on 2016 年 7 月 5 日2016 年 7 月 7 日Posted in wordpress 为了防止,网站的后台登录界面被暴力破解,特意在后台登录的界面添加一个验证码的功能,以提高网站的安全性[……] 阅读全文 Read More
[转]程可以:名校、博士、YC、女性创业者,标签这么多,不变是攻克癌症这初心 By duncan21Posted on 2016 年 7 月 3 日2021 年 4 月 15 日Posted in repostTagged 癌症, 程可以 公司官网:https://histowiz.com/ 公司的创始人: 提到癌症,这是一个令人[……] 阅读全文 Read More
[转]两个纽约大学硕士的『凄惨』婚姻和家庭 By duncan21Posted on 2016 年 6 月 29 日Posted in repostTagged 马英九 这张照片是于1975年8月,在纽约市曼哈坦区华盛顿广场公园拍的,当时两人正在谈恋爱,两年后结[……] 阅读全文 Read More
Mycat实现MySQL读写分离 By duncan21Posted on 2016 年 6 月 27 日2017 年 1 月 26 日Posted in MySqlTagged mycat 环境 MySQL版本: mysql> select version(); +——[……] 阅读全文 Read More
为什么要上学 By duncan21Posted on 2016 年 6 月 17 日2021 年 4 月 14 日Posted in 感言Tagged Obama, 上学No Comments on 为什么要上学 为什么要上学 The reason why you need to go to shcool [……] 阅读全文 Read More
jailkit实战 By duncan21Posted on 2016 年 6 月 12 日2021 年 4 月 15 日Posted in LinuxTagged jailkit jailkit 是一款能够在一个chroot jail中快速创建受限用户帐户的工具集。它包含了一个安[……] 阅读全文 Read More
大数据异地迁移企业级实战案例 By duncan21Posted on 2016 年 6 月 12 日2021 年 4 月 11 日Posted in LinuxTagged drbd 目标:10T的碎文件(10k-500k)数据需要局域网从一台存储迁移到另一台存储 方案:采用基于d[……] 阅读全文 Read More
mysql分区 By duncan21Posted on 2016 年 6 月 7 日2016 年 6 月 12 日Posted in MySql //查看表结构 //选取表的aid字段,通过hash将表分为10个区,并指定特定的逻辑[……] 阅读全文 Read More
最近关于华为的种种言论 By duncan21Posted on 2016 年 5 月 26 日Posted in 感言Tagged 华为 华为应该离开深圳吗 最近,一篇《不要让华为跑了》的文章刷爆了朋友圈,引发了媒体的热议。文章说:2015[……] 阅读全文 Read More
网站正式升级到https和http/2 By duncan21Posted on 2016 年 5 月 24 日2016 年 6 月 25 日Posted in LinuxTagged https, 证书No Comments on 网站正式升级到https和http/2 我的网站正式添加了证书了额,不多说了,直接上图 https://www.ssllabs.com[……] 阅读全文 Read More
nginx 禁止特定目录下解析可执行文件,以防止木马入侵 By duncan21Posted on 2016 年 5 月 4 日Posted in Linux 背景: web2.0时代,绝大多数网站都是以用户为中心的,如bbs,blog,sns,微信,微博等[……] 阅读全文 Read More
[转]中国为什么要让美国航母停靠香港? By duncan21Posted on 2016 年 5 月 4 日Posted in game, repostTagged 航母 实际上,几乎每年包括航空母舰舰队和其他美军舰艇都会造访香港,那么他们来中国香港到底是来干什么的?中国[……] 阅读全文 Read More
如何升级网站为 HTTP/2 By duncan21Posted on 2016 年 4 月 17 日2016 年 4 月 22 日Posted in LinuxTagged http/2, https 什么是http/2? HTTP 2.0即超文本传输协议 2.0,是下一代HTTP协议。是由互联网工[……] 阅读全文 Read More
如何升级自签证书到sha-2,以便chrome支持? By duncan21Posted on 2016 年 4 月 15 日2016 年 8 月 23 日Posted in LinuxTagged https, sha-2, sha256, ssl 背景: Google官方博客宣布,将在Chrome浏览器中逐渐降低SHA-1证书的安全指示。但有意[……] 阅读全文 Read More
如何防止网站的ip被恶意解析? By duncan21Posted on 2016 年 4 月 10 日Posted in LinuxTagged ip, 恶意解析 背景:由于我们的网站引起同行的注意,想通过大量的域名解析到我们的IP下给我们这个IP或者网站造成大量[……] 阅读全文 Read More
[转]NBA指数:NCAA财富分配调查 大学生仅领奖学金 By duncan21Posted on 2016 年 4 月 5 日2016 年 5 月 21 日Posted in repostTagged ncaa NCAA有多疯狂?很难衡量,总之每到三月,上至美国总统,下至贩夫走卒,都会倾情投入,兴致勃勃地参与其[……] 阅读全文 Read More
如何查看mysql执行的所有以往 sql 语句历史命令 By duncan21Posted on 2016 年 4 月 1 日2021 年 7 月 16 日Posted in MySqlTagged mysql, 查看mysql命令 查看mysql执行的所有以往 sql 语句历史命令 环境: [root@bacula_ser[……] 阅读全文 Read More