A step by step howto on installing MapProxy on CentOS 5 (amd64)
This is a short HowTo on installing MapProxy on a amd64 CentOS5 server.
The following information is compiled from here and here and the MapProxy Mailinglist.
As root do:
1. rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noa... 2. yum install libffi 3. rpm -Uvh http://elgis.argeo.org/repos/5/elgis-release-5-5_0.noarch.rpm 4. yum install proj 5. rpm -Uvh http://yum.chrislea.com/centos/5/i386/chl-release-5-3.noarch.rpm 6. rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CHL 7. yum install make gcc gcc-c++ python26 python26-devel zlib-devel freetype freetype-devel libjpeg-devel
As normal user in the directory chosen for mapproxy install do:
8. wget http://bitbucket.org/ianb/virtualenv/raw/1.5.1/virtualenv.py 9. python26 virtualenv.py --distribute ~/venv/mapproxy 10. source ~/venv/mapproxy/bin/activate 11. pip install pyproj 12. export MAPPROXY_USE_PYPROJ=1 12. pip install MapProxy 13. paster create -t mapproxy_conf mymapproxy 14. cd mymapproxy paster serve etc/develop.ini --reload
Hope this helps and have fun!
