Skip to content
Apr 21 11

Install SCWS and its PHP extension module

by Steven Choy
SCWS stands for Simple Chinese Words Segmentation. It is a library for your to develop applications that need Chinese words segmentation. This post records down what I have done to install this tool.
Mar 29 11

Install and try Node.js

by Steven Choy
Node.js is an evented I/O for V8 JavaScript engine. Its goal is to provide an easy way to build scalable network programs. This post records my first and quick try on Node.js on my Ubuntu VPS.
Jan 22 11

Install Google Sitemap Generator on Ubuntu

by Steven Choy
Google Sitemap Generator is software from Google Code that improves the ability of search engines to find the content of your websites. It will analyze the way that users access your websites, and then builds Sitemap files automatically for search engines. In this post I record down the kep steps that I install the software on my VPS.
Jan 21 11

How to check if your Apache server is running prefork or worker?

by Steven Choy
Multi-Processing Modules (MPMs) are Apache modules that manage the network connections and dispatching the requests. Different from other Apache modules, these two MPMs are compiled into the Apache binary and not loaded as a module. So you cannot tell which module your Apache server is running by looking at the loaded modules list. The solution is to ask the Apache binary which modules it has compiled in to find out the answer.
Dec 31 10

Install and configure Apache deflate module

by Steven Choy
Apache2's mod_deflate is a module which provides the DEFLATE output filter that allows output from your server to be compressed before being sent to the client over the HTTP. Have the mod_deflate module enabled, you can save some bandwidth and speed up your website at the expense of little CPU time compressing the data your Web server sends.
Dec 10 10

Say Goodbye to stevenchoy.com

by Steven Choy
Stevenchoy.com is the first internet domain I used to build websites. I decide not to use the domain after November 2010. In this post, I capture some websites there for recording purpose.
Jul 8 10

Install Question2Answer on Ubuntu

by Steven Choy
Question2Answer is a free platform for Question and Answer sites. This post records down the steps I followed to install the script on a Ubuntu VPS.
Jul 8 10

Question and Answer Scripts

by Steven Choy
I recently find a good Q&A site and want to build a similar website myself. So, I use the phase "question and answer scripts" to do some web search and hope to find something good. This post is about some of my findings in question-and-answer scripts.
May 31 10

Add New Users to MySQL Databases

by Steven Choy
I have a VPS server for hosting a number of websites. For each specific database of a website, I usually created a dedicated user to access it. This means that if the website is vulnerable to a security problem only the single database is compromised. In other situation, I need to create or add new users to a database so that the database can be shared.
Apr 26 10

Purge records older than 3 months in MySQL database

by Steven Choy
I have a database table that store basic information about daily local news. The table content will be used by other applications. In order to save space and increase the performance, I need to purge old records older than 100 days. The following is what I did to accomplish the task.