正在加载...

关于博主

运行环境

本站运行的环境是LNMP,服务器是位于美国加州的Xen VPS,从2010年4月开博到2011年5月运行在美国宾州的Openvz VPS上。具体架构是:
CentOS+Nginx+MySQL+PHP(FastCGI)+WordPress

关于本人

在耶稣诞生1983年后,癸亥年出生于地球上的兲朝岭南海滨之地,谓之侨乡。虽家族中有华侨于米国,然年久生疏,攀亲出国之望已无。唯读书求学,以为名利。小时天文地理、历史哲学无所不读;因方圆之地学识无人能出其右,遂生大志,以求他日报国治邦,留芳万世……

高考之时,适逢时运不济,考得所谓四不像之学院,读四不像之专业,混沌数年,离之。

入世,大志尚存,不愿为一斗之米折高贵之腰,东漂西荡,至今还毫无所成,但依然坚信“天降大任于斯人也——”。

工作主要从事大中型服务器运维(包括网站与WebGame、MMORPG网游)、曾从事过大中型社区运营、网站策划与SEO等。现居深圳,任职一家游戏公司的运维主管。从事Linux Server和游戏运维管理工作。喜好阅读、游戏、旅游、创业、还好美女+才女,交天下道同之友。

本人非常热爱Google+Firefox+Wikipedia+Linux+Nginx+Douban,极度鄙视天朝的 G F W!Fuck the G F W!

常用网名:
博客教主(此网名是2003年时偶然起的,并不是写blog很牛X的意思。因为高中时代被所有同学称为“教主”,03年那会迷上了方兴东的“博客中国”,那时的博客中国是个精英荟萃之地。2003年的某天突然想了这个网名。一直沿用至今。)

爱好与兴趣:

1. 开源技术Linux、LFS、Nginx、Apache、MySQL、LVS、Hadoop等应用;
2. 大型网站与服务器架构;网络安全;服务器运维;高可用集群;虚拟化与云计算;
3. 网站运营、PHP应用、Python应用等;
4. 关注、学习最新的各种开源前沿技术;
5. 此外还爱好阅读、电影,喜读历史、经济学、哲学、易学风水、星相学、科技科幻;
6. 本人技术接触面很广,服务器运维相关的所有领域都接触过,从修电脑主板到架构设计,从网络到数据库到开发,从各种原理到部署实施都懂点,但是还不够精深,以后会在某几个方向专精发展,与君共勉!

联系方式:(欢迎投稿)
Gmail:root#ha97.com(请将#换成@)或者直接在此页面留言。

Twitterhttps://twitter.com/webnginx (偶尔上上)
腾讯微博http://t.qq.com/lsm03624(常上,欢迎关注交流。)
我的豆瓣http://www.douban.com/people/lsm03624(常上,不过看的多,说的少。)

本人建的Linux交流QQ群,有兴趣的童鞋可以加入。
LFS/Arch/Gentoo交流1群:3139610(Linux编译、开发、内核的交流。潜水的高手不少的。500人超级群,未满。)
LFS/Arch/Gentoo交流2群:145029952(Linux编译、开发、内核的交流。200人高级群,未满。)
Linux运维架构超级群:145028540(Linux运维、服务器架构的交流。潜水的高手不少的。500人超级群,未满。)

关于本站

本博主要记录本人的阅读记录、思想记录、技术总结、资源分享~~

1. 本站历程:
2010年4月,本站上线开张。
2010年7月,本站Alexa综合排名进入全球前20万名。
2010年8月初,本站Alexa综合排名进入全球前16万名。
2010年8月18日,本站Alexa综合排名进入全球前13万名。
2010年9月3日,本站Alexa综合排名进入全球前11万名。
2010年9月20日,本站Alexa综合排名进入全球前10万名。
2010年10月3日,本站Alexa综合排名进入全球前9万名。
2010年11月8日,本站Alexa综合排名进入全球前8万名。

2. 2003年9月就在当时最早推广博客概念的blogchina开了第一个blog(现在已不存在),之后转移了很多地方。本人算是国内比较早接触blog概念的一批人之一。

3. 2006年8月开始运营IT社区:www.168pc.cn(现已关闭),个人blog也在其中。

4. 2007年2月加盟一家香港公司(香港新闻组),负责服务器运维,后做运营,创建与运营的香港大型社区:go.newsgroup.la(如果打不开说明被墙了,请翻墙!),个人blog也在其中。不过早已不更新了。

5. 2010年4月,重新开了新的独立blog:www.ha97.com(使用另一域名www.webnginx.com也可以访问)。

6. 本blog主要关注开源与服务器运维技术:Linux、BSD、Nginx、Apache、MySQL、Hadoop、PHP、Python、VPS、网络安全、负载均衡、虚拟化与云计算、大型服务器架构等;关注全球互联网与信息产业的发展;关注全球高新科技领域及本人关注的其他领域。

其他

本站站点地图:www.ha97.com/google-sitemap.xml
本站注册地址:www.ha97.com/wp-login.php?action=register(电邮验证)

本站订阅地址1:www.ha97.com/feed(这是原始地址,推荐!)
本站订阅地址2:feed.ha97.com(Feedsky地址,不太稳定!)
更多订阅方式请看:

订阅本站

本文相关评论 - 才 91 条评论
特斯拉
2010-07-03 21:17:37
Firefox 3.6.6 Firefox 3.6.6 Windows Vista Windows Vista

呵,博客不错,偶会常来。

2010-07-04 12:31:03
Firefox 3.6.6 Firefox 3.6.6 Windows Vista Windows Vista

欢迎光临,本blog刚开两个多月~~

2011-03-25 16:14:57
Internet Explorer 8.0 Internet Explorer 8.0 Windows 7 x64 Edition Windows 7 x64 Edition

发展得很快,和你一样热爱Google+Firefox+Wikipedia……….

南柯一梦
2010-07-09 00:27:33
TheWorld Browser TheWorld Browser Windows Vista Windows Vista

关于Nginx的WordPress rewrite规则疑问
看到您的Nginx的WordPress rewrite规则
http://www.ha97.com/915.html
这里的规则对更目录下的WordPress有效。
但是,如果我的WordPress是放在子目录/blog/里的,规则应该是怎么写呢?

希望得到您的帮助。谢谢!

2010-07-09 00:32:37
Minefield 4.0b2pre Minefield 4.0b2pre Windows Vista Windows Vista

修改相应的路径就可以了。/改为/blog,试试。

南柯一梦
2010-07-09 00:39:23
TheWorld Browser TheWorld Browser Windows Vista Windows Vista

我根目录是个论坛,也是用了静态的,完整的是不是这样写?
location / {
rewrite ^(.*)/bbs(.*)-(.*)$ $1/thread.php?fid=$2&page=$3 last;
rewrite ^(.*)/bbs(.*)$ $1/thread.php?fid=$2 last;
rewrite ^(.*)/txt(.*)-(.*)-(.*).html$ $1/read.php?tid=$2&page=$3&fpage=$4 last;
rewrite ^(.*)/txt(.*)-(.*).html$ $1/read.php?tid=$2&page=$3 last;
rewrite ^(.*)/txt(.*).html$ $1/read.php?tid=$2 last;
rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
}

location /blog/ {
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}
}

2010-07-09 00:58:26
Minefield 4.0b2pre Minefield 4.0b2pre Windows Vista Windows Vista

你的论坛是Discuz程序吧?你这个是直接放在nginx.conf里面吗?我是使用.htaccess文件写规则,然后在nginx.conf配置文件include进去的。
你可以参考我这篇:
Linux下nginx支持.htaccess文件实现伪静态的方法!http://www.ha97.com/942.html

南柯一梦
2010-07-09 17:24:38
TheWorld Browser TheWorld Browser Windows Vista Windows Vista

我用的是phpwind论坛

2010-07-12 18:52:35
Firefox 3.6.6 Firefox 3.6.6 Windows Vista Windows Vista

那可能规则不太一样,我几年没用phpwind了,你去pw官方找到Apache的规则,然后参考这篇转换一下:http://www.ha97.com/942.html

2010-07-09 01:16:43
Firefox 3.6.6 Firefox 3.6.6 Windows Vista Windows Vista

兄弟,我睡觉啦。有问题明天再说。这些天真TMD热~~

2010-08-09 10:02:01
Firefox 3.6.8 Firefox 3.6.8 Windows XP Windows XP

博客很不错,以后会常来学习

2010-08-09 16:17:53
Firefox 3.6.7 Firefox 3.6.7 CentOS 5 CentOS 5

欢迎~~

kenny
2010-08-17 00:54:37
Google Chrome 5.0.375.125 Google Chrome 5.0.375.125 Windows 7 Windows 7

路过,blog不错。以后还会来~~

2010-08-19 09:53:02
Google Chrome 5.0.375.126 Google Chrome 5.0.375.126 GNU/Linux GNU/Linux

欢迎!谢谢支持!

fofa
2010-08-17 15:56:06
Firefox 3.0.10 Firefox 3.0.10 Linux Mint 7 Linux Mint 7

美国VPS哦,偶也想买个玩玩,不怎么会弄哦。博主可以提供点空间不?我的博客想转移出去。

2010-08-19 09:58:22
Google Chrome 5.0.375.126 Google Chrome 5.0.375.126 GNU/Linux GNU/Linux

可以啊,偶现在的VPS空间很大,可以根据具体情况提供空间给你。偶现在很少用IM了,你发电邮到 root#ha97.com(记得用@替换#)把具体情况说说~~

小马哥
2010-08-18 12:13:46
Firefox 3.6.3 Firefox 3.6.3 Linux Mint 9 Linux Mint 9

博主兴趣广泛啊,希望可以交个朋友。

2010-08-19 09:36:10
Google Chrome 5.0.375.126 Google Chrome 5.0.375.126 GNU/Linux GNU/Linux

呵,这位兄弟在偶博客留下好多评论啊,兄弟有开博不?偶回访一下!

2010-08-22 23:30:53
Firefox 3.6.3 Firefox 3.6.3 Windows XP Windows XP

博客很有内涵,学习到很多东西!

2010-08-23 11:38:28
Firefox 3.6.3 Firefox 3.6.3 Fedora 13 Fedora 13

多谢!欢迎光临~~

东邪西毒
2010-08-23 13:22:59
Maxthon 3.0 Maxthon 3.0 Windows 7 Windows 7

很喜欢博主的博客!以后常来的!

2010-08-24 13:06:32
Google Chrome 6.0.495.0 Google Chrome 6.0.495.0 GNU/Linux GNU/Linux

欢迎欢迎~~

Linuxer
2010-08-25 14:03:37
Firefox 3.6.3 Firefox 3.6.3 Fedora 13 Fedora 13

我喜欢这博客,订阅了!

2010-08-26 12:33:50
Google Chrome 5.0.375.127 Google Chrome 5.0.375.127 GNU/Linux GNU/Linux

谢谢关注!昨晚12点左右本博的VPS服务器被无聊人DoS(拒绝服务)攻击了,一分钟左右就有上万个数据库连接请求!VPS哪里扛得住啊!郁闷,弄得偶刚好在线发现了,整到1点多。想想,偶没得罪人啊~~

2010-08-27 11:12:30
Firefox 3.6.8 Firefox 3.6.8 Ubuntu 10.04 x64 Ubuntu 10.04 x64

写的都挺不错的,支持下

2010-08-29 14:51:39
Firefox 3.1b3 Firefox 3.1b3 Solaris Solaris

谢谢!欢迎常来~~

sl
2010-08-28 03:03:26
Firefox 3.0.19 Firefox 3.0.19 Red Hat Enterprise Linux 5.5 Red Hat Enterprise Linux 5.5

博主不错,常来关注。

2010-08-29 14:52:22
Firefox 3.1b3 Firefox 3.1b3 Solaris Solaris

大大的欢迎~~

dxp
2010-08-29 11:20:11
IceWeasel 3.0.6 IceWeasel 3.0.6 Debian GNU/Linux Debian GNU/Linux

我来访过,留个记号先,这个博客很合我意,以后有空再来。

2010-08-29 14:53:02
Firefox 3.1b3 Firefox 3.1b3 Solaris Solaris

呵,记得下次再来~~

james
2010-08-29 19:54:05
Firefox 3.6.6 Firefox 3.6.6 Windows XP Windows XP

博客很强大 要学习的东西太多了 我会经常来的

2010-08-30 12:27:40
Firefox 3.5.8 Firefox 3.5.8 Solaris Solaris

欢迎常来~~

totoro
2010-08-30 20:17:38
Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP

先留名….

2010-08-30 21:22:54
Firefox 3.5.8 Firefox 3.5.8 Solaris Solaris

欢迎再来~~

陈子
2010-08-30 23:08:33
GreenBrowser GreenBrowser Windows XP Windows XP

vps怎么买的呀?多少米?

2010-08-30 23:12:45
Google Chrome 7.0.503.0 Google Chrome 7.0.503.0 Windows 7 Windows 7

美国的vps有很多种的,根据配置、服务商不同,价格不一样。大部分是Linux的。你想买来做站还是?

期待戈多
2010-09-03 15:24:40
Maxthon 2.0 Maxthon 2.0 Windows 7 Windows 7

博客真的很棒!我也有跟博主一样的兴趣爱好。本人比较菜,学习中。

2010-09-05 21:37:26
GranParadiso 3.0.13 GranParadiso 3.0.13 NetBSD NetBSD

谢谢欣赏!欢迎常来~~

2010-09-03 18:21:37
ChromePlus ChromePlus GNU/Linux GNU/Linux

啊~
我也想来个VPS… 就放个很久没管的博客
然后玩玩VPS…
不知道哪个好

2010-09-05 21:40:27
GranParadiso 3.0.13 GranParadiso 3.0.13 NetBSD NetBSD

偶买的这个还不错吧,性价比很好,稳定性也不错~~

2010-09-03 18:23:58
ChromePlus ChromePlus GNU/Linux GNU/Linux

很喜欢这个博客~
貌似发文章的频率太高了把

咦~
我刚才的评论消失了???

2010-09-05 21:44:02
GranParadiso 3.0.13 GranParadiso 3.0.13 NetBSD NetBSD

偶平时的阅读面较广,看过觉得好的就会发上来分享,时间多再写写原创,以后可能比较忙了,业余~~

fofa
2010-09-14 21:06:43
Firefox 3.6.8 Firefox 3.6.8 GNU/Linux GNU/Linux

喜欢此博客,留个名先。。。

2010-09-14 23:17:42
Firefox 3.6.9 Firefox 3.6.9 CentOS 5 CentOS 5

谢谢~~欢迎~~

zwws
2010-10-01 23:17:04
Maxthon 3.0 Maxthon 3.0 Windows 7 Windows 7

呵呵, 搜索Linux服务优化发现贵站, 内容很不错, 博客的配色和字体也非常适合阅读, 会常来的, well done!

2010-10-02 15:43:47
Firefox 3.6.10 Firefox 3.6.10 Windows 7 Windows 7

呵,谢谢~~欢迎常来~~

xredman
2010-10-16 11:44:02
Firefox 3.6.9 Firefox 3.6.9 CentOS 5 CentOS 5

这是我看到Linux总结全面的网站,哈哈,谢谢博主

2010-11-15 17:52:39
Firefox 3.6.9 Firefox 3.6.9 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6

欢迎常来,现在忙了,没以前这么多时间写经验总结了。

cf630314
2010-10-31 10:17:16
Google Chrome 6.0.472.63 Google Chrome 6.0.472.63 Windows XP Windows XP

收益匪浅~~~~

2010-11-15 17:53:05
Firefox 3.6.9 Firefox 3.6.9 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6

欢迎常来看看~~

evilshadow
2010-11-06 10:42:36
Google Chrome 7.0.517.44 Google Chrome 7.0.517.44 Windows XP Windows XP

Thanks…
It’s great !

2010-11-15 17:55:12
Firefox 3.6.9 Firefox 3.6.9 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6

哈哈,过奖了。欢迎常来~~

2010-11-11 11:54:14
Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP

不错,以后会常来的!!谢谢博主

2010-11-15 17:55:42
Firefox 3.6.9 Firefox 3.6.9 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6

嗯,欢迎~~

兜兜里有门炮
2010-11-15 15:23:43
Firefox 3.6.12 Firefox 3.6.12 Windows XP Windows XP

支持楼主,以后会常来的。同样鄙视GFW

2010-11-15 17:57:07
Firefox 3.6.9 Firefox 3.6.9 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6

没法,天朝太强大了。有条件的同学就移民吧~~

2010-11-17 12:25:25
Google Chrome 7.0.517.43 Google Chrome 7.0.517.43 Windows XP Windows XP

很不错的博客,呵呵。

2010-11-19 11:44:06
Firefox 3.6.9 Firefox 3.6.9 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6

谢谢,欢迎常来~~

2010-11-18 13:28:02
Google Chrome 6.0.472.55 Google Chrome 6.0.472.55 Windows 7 Windows 7

以后我会常来看看的! 确实不错

2010-11-19 11:44:42
Firefox 3.6.9 Firefox 3.6.9 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6

谢谢,欢迎~~

ithink
2010-12-26 20:44:01
Firefox 3.6.13 Firefox 3.6.13 Ubuntu 10.04 Ubuntu 10.04

不错,赞一个

2011-02-12 16:42:30
Google Chrome 9.0.597.98 Google Chrome 9.0.597.98 Windows 7 Windows 7

欢迎常来~

emilyzhou
2011-01-27 10:44:19
Internet Explorer 8.0 Internet Explorer 8.0 Windows 7 Windows 7

请博主速看邮箱,我为一老牌技术媒体编辑,想和您谈合作

2011-02-12 16:43:29
Google Chrome 9.0.597.98 Google Chrome 9.0.597.98 Windows 7 Windows 7

请问你发到我哪个邮箱了?我没看到啊,可以发lsm03624#gmail.com

messagelq
2011-02-27 13:59:17
Google Chrome 8.0.552.215 Google Chrome 8.0.552.215 GNU/Linux GNU/Linux

学习老!
麻烦博主多上一点和linux / 服务器 的经验总结。。小弟会经常来学习的。。

2011-03-01 19:25:19
IceWeasel 3.5.16 IceWeasel 3.5.16 GNU/Linux GNU/Linux

好久没写总结了~~

浪无崖
2011-04-02 00:29:43
Google Chrome 11.0.696.14 Google Chrome 11.0.696.14 Windows 7 x64 Edition Windows 7 x64 Edition

这个博客很不错,蛮全的,学习了。。。。。

2011-05-18 23:11:13
Firefox 4.0 Firefox 4.0 GNU/Linux GNU/Linux

欢迎常来~~

2011-05-02 21:58:17
Google Chrome 10.0.648.205 Google Chrome 10.0.648.205 Windows XP Windows XP

hi,请教一下vps问题。
基本情况:
我运维的开源软件,网站使用米国softlayer的VPS,在国内有不少人反映访问速度慢。我也国内,大多情况下,我访问速度都不错。
请教的问题:
1,同样在国内为什么有的说慢,有的速度不错?
2,我如果兼顾国内用户访问速度呢(服务器不打算挪到国内来)?在国内做个镜像?我的网站有后台数据库,使用WORDPRESS搭建的。

2011-05-18 23:14:32
Firefox 4.0 Firefox 4.0 GNU/Linux GNU/Linux

这个跟线路有关系的,天朝是北网通、南电信。互访比较慢。公司的解决方法是用多线或者CDN,但你个人肯定用不起这个。如果一定要用美国的,你选一个美国线路比较快的,就是贵一点,还是有的。

2011-06-07 01:45:20
Google Chrome 11.0.696.71 Google Chrome 11.0.696.71 GNU/Linux GNU/Linux

博客的主题颜色很好看。

2011-06-09 00:12:39
Google Chrome 11.0.696.77 Google Chrome 11.0.696.77 Windows 7 Windows 7

呵呵,欢迎常来~~

店小二
2011-06-14 14:13:50
Firefox 4.0.1 Firefox 4.0.1 Windows 7 Windows 7

这个博客做得很大气 ,看起来就让人心静。

2011-07-03 12:04:50
Google Chrome 12.0.742.112 Google Chrome 12.0.742.112 Windows 7 Windows 7

谢谢,欢迎常来~~

hanzongwu
2011-06-21 15:11:35
Google Chrome 12.0.742.100 Google Chrome 12.0.742.100 Windows Server 2003 Windows Server 2003

学习了

2011-07-03 12:06:09
Google Chrome 12.0.742.112 Google Chrome 12.0.742.112 Windows 7 Windows 7

欢迎常来看看~~

Shawn
2011-06-27 14:31:26
Internet Explorer 9.0 Internet Explorer 9.0 Windows 7 Windows 7

博主的文章真是不错,同是做运维的,同是在深圳,认识一下。

2011-07-03 12:05:24
Google Chrome 12.0.742.112 Google Chrome 12.0.742.112 Windows 7 Windows 7

可加上面的QQ群~~

Shawn
2011-06-27 20:36:09
Opera 11.01 Opera 11.01 Windows XP Windows XP

文章非常好,读后很受益,同是在深圳,同是做运维,认识一下。

浪漫骑士
2011-06-28 17:25:02
Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP

对博主崇拜中…….

2011-07-03 12:07:13
Google Chrome 12.0.742.112 Google Chrome 12.0.742.112 Windows 7 Windows 7

呵,过奖了,不断学习中~~

hanf
2011-07-03 21:18:46
Firefox 5.0 Firefox 5.0 Windows 7 Windows 7

不得不说,博主的经历跟我有点像
看来博主是个对自己有一定期望的人,好好努力啊

2011-07-04 11:10:52
Google Chrome 12.0.742.112 Google Chrome 12.0.742.112 Windows 7 x64 Edition Windows 7 x64 Edition

呵呵,天生就雄心勃勃之人。

2011-08-09 21:35:57
Firefox 5.0 Firefox 5.0 GNU/Linux x64 GNU/Linux x64

博客不错啊。如不嫌弃 。做个友情链接。呵呵

nobody
2011-08-12 16:43:35
Google Chrome 14.0.835.8 Google Chrome 14.0.835.8 Windows 7 Windows 7

多像博主学习。

2011-09-08 13:10:35
Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP

博主热爱的我也热爱,博主鄙视的我更鄙视!!!呵呵

嘟嘟
2011-09-15 11:44:27
Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP

博客不错 呵呵

我噶名叫麦兜
2011-10-14 14:23:18
ChromePlus 1.6.3.1 ChromePlus 1.6.3.1 Windows XP Windows XP

关注.博主技术与文采不错.希望可以得到帮助.

我噶名叫麦兜
2011-10-14 14:25:27
ChromePlus 1.6.3.1 ChromePlus 1.6.3.1 Windows XP Windows XP

关注

奇谭
2011-10-24 17:25:58
Maxthon 3.0 Maxthon 3.0 Windows XP Windows XP

呵呵,同学推荐了这个博客,所以来看看。。。

looken8080
2011-11-01 14:47:08
Firefox 3.6.13 Firefox 3.6.13 CentOS 5 CentOS 5

教主好牛X