MySQL常用的存储引擎 By duncan21Posted on 2015 年 4 月 28 日2015 年 4 月 28 日Posted in MySqlTagged InnoDB, myisam, 存储引擎 MySQL插件式存储引擎的体系结构 1.MyISAM的介绍 1.1什么是MyISAM引擎? MyISAM是默认存储引擎。它基于更[……] 阅读全文 Read More
如何利用sed取ip地址 By duncan21Posted on 2015 年 4 月 24 日2022 年 10 月 24 日Posted in ShellTagged cut, sedNo Comments on 如何利用sed取ip地址 考题:取ifocnfig eth0 的ip地址 目标:192.168.1.200 [root@NFS ~]# ifconfig eth0 eth0 Link encap:Ethernet[......]阅读全文 Read More
[转]wordpress 打开卡在1.gravatar.com By duncan21Posted on 2015 年 4 月 24 日Posted in wordpressTagged gravatar grevatar.com打不开,涉及到加载头像的地方都会变慢。 可以使用https的头像链接代替http链接 官方Gravatar头[……] 阅读全文 Read More
[转]香港互联网创业者为什么这么少? By duncan21Posted on 2015 年 4 月 24 日2015 年 4 月 24 日Posted in repostTagged 香港互联网 摘要 : 即使如此,香港从未产生过真正有影响力的互联网创业者和公司,一向以开放、自由、先进等印象的香港怎么了?为什么互联网创业者这么少?我们从社会、政府、文化等多个元素深度剖析。 [……] 阅读全文 Read More
[转] Linux内存buffer和cache的区别 By duncan21Posted on 2015 年 4 月 18 日2015 年 4 月 18 日Posted in LinuxTagged Linux ram, 内存 一. 内存使用说明 Free 命令相对于top 提供了更简洁的查看系统内存使用情况: [……] 阅读全文 Read More
[转]linux mail发送邮件stat=sent却没有收到邮件解决 By duncan21Posted on 2015 年 4 月 4 日2015 年 4 月 5 日Posted in LinuxTagged sendmail linux mail发送邮件stat=sent却没有收到邮件解决 今天尝试着想要在linux终端上直接用mail命令(e.g: mail -s &qu[……] 阅读全文 Read More
centos6批量添加ip段 By duncan21Posted on 2015 年 4 月 3 日2015 年 4 月 22 日Posted in LinuxTagged centos6 [root@test network-scripts]# cat /etc/redhat-release CentOS release 6.6 (Final)[……] 阅读全文 Read More
ubuntu批量添加ip By duncan21Posted on 2015 年 4 月 3 日2015 年 4 月 4 日Posted in LinuxTagged ubuntu 如何给ubuntu系统批量添加ip 提示,只有root账号才有权限修改网卡的配置文件,所以要先取得root的密码 1)一般安装好的新的系统,是没有设定root密码的,执行下面的命令设置r[……] 阅读全文 Read More
Apache模块之mod_auth_basic By duncan21Posted on 2015 年 4 月 1 日2015 年 4 月 1 日Posted in LinuxTagged 基本认证 说明 使用基本认证 状态 [……] 阅读全文 Read More
屏蔽apache版本等敏感信息 By duncan21Posted on 2015 年 4 月 1 日Posted in LinuxTagged apaceh 修改前,apache的相关信息都被暴露了: [root@NFS test]# curl -I 555.com HTTP[……] 阅读全文 Read More
如何看待百度的https By duncan21Posted on 2015 年 3 月 26 日Posted in repostTagged https 最近如果大家足够仔细的话,一定会发现现在打开百度会发现它的URL已经从以前的http变成了https 网站使用证书的好处不言而喻的,网站的安全性得到了质的提高! [……] 阅读全文 Read More
实现wp后台登陆页面强制使用https By duncan21Posted on 2015 年 3 月 25 日2015 年 5 月 23 日Posted in wordpressTagged https 网站后台的重要性是不言而喻的,所以有必要做好后台的保护措施。今天我要使用https来给后台登陆界面加把锁。因为后台是给自个的用的,所以我用自签证书就可以满足需求了。 环境准备:[……] 阅读全文 Read More
apache下实现访问http强制跳转到https By duncan21Posted on 2015 年 3 月 25 日2016 年 5 月 21 日Posted in LinuxTagged https 在有些生产环境下,需要将所有访问http的请求都转到https上,可以通过伪静态来实现 [root@NFS test2]# cat /etc/redhat-release CentOS relea[……] 阅读全文 Read More
[转]Linux内核调优之处理大量TIME_WAIT By duncan21Posted on 2015 年 3 月 23 日2015 年 3 月 23 日Posted in LinuxTagged 内核优化 Linux下高并发的nginx,apache,lvs,haproxy,squid等服务器生产环境下,TCP的TIME_WAIT套接字数量经常达到2-3W,此时服务器很容易被拖死或者严重影响业务服[……] 阅读全文 Read More
php.ini配置文件的调整和优化 By duncan21Posted on 2015 年 3 月 21 日Posted in LinuxTagged php.ini 环境: php-5.3.29 安全配置 (1)打开php的安全模式 php的安全模式是一个非常重要的内嵌的安全机制,它能控制一些p[……] 阅读全文 Read More
安装zencart程序所必要的mcrypt模块 By duncan21Posted on 2015 年 3 月 20 日2016 年 5 月 21 日Posted in LinuxTagged mcrypt mcrypt简单介绍 PHP程序员们在编写代码程序时,除了要保证代码的高性能之外,还有一点是非常重要的,那就是程序的安全性保障。PHP除了自带的几种加密函数外,还有功能更全面的PHP加密扩展库Mcr[……] 阅读全文 Read More
巴西中卫双鬼开门,送切尔西欧冠出局 By duncan21Posted on 2015 年 3 月 19 日2015 年 3 月 20 日Posted in Soccer 北京时间3月12日凌晨3点45(当地时间11日晚间19点45),2014-15赛季欧冠1/8决赛次回 合一场焦点战,切尔西坐镇斯坦福桥球场迎战巴黎圣日耳曼。上半场伊布争议红牌被罚出场,两队0-0[……] 阅读全文 Read More
cacti如何监控多核CPU By duncan21Posted on 2015 年 3 月 18 日2021 年 4 月 11 日Posted in monitoringTagged 多核CPU 使用Cacti的默认的模板监控cpu使用率 步骤: 关联 Associated Data Queries 设置并启用 查看效果图(因为我的cp[……] 阅读全文 Read More
忘记了cacti的登陆密码 By duncan21Posted on 2015 年 3 月 18 日Posted in monitoringTagged cacti 如果是忘记了admin的密码,可以在linux的命令行下执行下面的命令: mysql -e "update cacti.user_auth set password=m[……] 阅读全文 Read More
[转]windows常用命令 By duncan21Posted on 2015 年 3 月 18 日2015 年 3 月 18 日Posted in computingTagged dos 1. gpedit.msc—–组策略 2. sndrec32——-录音机 3. Nslookup——-IP地址侦测器 [……] 阅读全文 Read More