Thursday, October 11, 2007

 

Lyceum,一个WordPress多用户版变种

Boing Boing 和 WordPress 的 Matt 都报道了 Lyceum,这个WordPress多用户版变种。

据说,与 WordPress MU 相比,易用性更好。它们在数据库的处理上,走向相反。哪种方式更利于 scale up,双方的开发者有不同的看法。

Matt 的评论:

From my examination of the code, it seems it’s exactly what WordPress MU is except they’ve modified every SQL statement (what a pain!) to use a monolithic table structure. We tested this approach for MU, but found it was too expensive to scale past a certain point. With monolithic structures you hit a wall based on your hardware. In MU users are divided and can be partitioned easily, for example on WordPress.com we have the users partitioned between 4096 databases, which allows you to scale very cheaply and efficiently to hundreds of thousands and even millions of users and extremely high levels of traffic. It’s unfortunate the Lyceum folks came to different conclusions and decided to focus their efforts on a fork rather than on the core codebase, especially as the massive changes going into WP 2.1 are going to be difficult to merge, but I still wish them the best and I’ll be watching the project closely and picking up anything interesting they do and bringing it back to WP. (Such is the beauty of Open Source. :) )

Lyceum 的 FAG 里说:

Q: Why would I used Lyceum instead of WordPress?
A: Lyceum is for applications where you want it to be easy to create and manage many blogs from one place. For applications where only one blog is needed, WordPress will be the more suitable solution (the website you are reading now is running on WordPress).
Q: How different is the Lyceum code from the WordPress code?
A: Almost every SQL statement has been changed. There have been many changes made to add security that is needed in a multi-blog environment. IN terms of features and the vast majority of business logic, essentially none of the other code has been changed. Lyceum is currently synchronized with WordPress 2.01, and will continue to synchronize its codebase with future WordPress releases.

Labels: , ,


 

如何利用wordpress mu提供如we@log一样的blog服务

wealog目前支持WP的插件,支持WP的模板,支持二级域名。如果你也想建立一个这样的平台,我愿意为你提供一些帮助。以下是建立的步骤与应该注意的问题。

1、你必须注册一个域名,并且你的域名注册商提供泛域名解析,这泛域名解析是用来实现二级域名的,当你把*.wealog.com的IP指向某个IP后,所有未声明的二级域名都会被解析到这个IP,可以省掉管理二级域名的麻烦;

2、你必须租用一台支持PHP、mySQL、Apache的linux主机,独立主机最好;如果是虚拟主机,你必须为你的站点购买一个唯一IP,并把*.wealog.com 指向这个独立的唯一的IP;

3、你然后去http://mu.wordpress.org/download/ 下载一个WPMU的最新版本,目前WPMU仍然在 nightly build,仍然在不断的debug,以后会更完善;

4、下载和安装应该不会有什么问题,安装后,如果有必要的话,你可以下载一个zh_CN.mo来汉化WPMU的操作界面;

5、然后你可以去 http://themes.wordpress.net 下载超过500个被共享的模板,由于这些模板是英文的,也许需要汉化并更改一下字体大小才能使用;

6、你可能需要安装akismet为来阻挡垃圾发送者发来的垃圾信息,有必要的话,你也许可以向akismet.com为BLOG平台购买专业的反垃圾服务;

7、剩下的事,你就是不断的更新模板和增加一些好玩的插件,还有,就是跟随WPMU的开发进度不断的把WPMU更新到最新版。

对了,Wealog.com用的是最廉价的解决方案,总共投资才70美元,你也可以这样做。

Labels: , ,


This page is powered by Blogger. Isn't yours?