下载nginx的源码:
第一步:安装mercurial
apt-get install mercurial
hg clone hg clone http://hg.nginx.org/nginx.org