Because there are no Chinese input methods in my system, so ..
Env: Ubuntu 10.04
pre-requirement: nginx-1.4.2.tar.gz
firstly, we should install zlib and PCRE with the following cmd:
sudo apt-get install libpcre3 libpcre3-lib zlib1g zlib1g-dev
secondly, uncompressing the nginx-tar-package to any directories you want:
tar xzvf nginx-1.4.2.tar.gz YOUR_PATH_TO_NGINX
and then installing,
cd YOUR_PATH_TO_NGINX " change to your location of nginx source code
./configure " use the configure-file to generate a makefile
make " compile
make install " install
finishing all of above steps, you can find your nginx in the path "/usr/local/nginx"