1.apt-get install python
2.apt-get install tilecache python-mapscript
3.apt-get install python-setuptools
4.wget http://pypi.python.org/packages/source/P/Paste/Paste-1.7.5.1.tar.gz
5.tar -xvzf Paste-1.7.5.1.tar.gz
6.cd Paste-1.7.5.1
7.python setup.py install
9.测试是否安装成功或者用tilecache_http_server -p 8190 -t true
http://192.168.1.101:8190/tilecache/tilecache.cgi?LAYERS=basic&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-180,-90,0,90%20&WIDTH=256&HEIGHT=256
http://192.168.1.101:8190/1.0.0/basic/0/0/0.png
10.参考网址:http://tilecache.org/docs/README.html
11.查看版本号
tilecache_seed --version
12.用tilecache的客户端
tilecache_seed /etc/tilecache.cfg basic -180.0,-90.0,180.0,90.0 8 9 10
注意此命令的使用为tilecache1.0,新版本命令有所变化。