OpenTopoMap/Install

From OpenStreetMap Wiki
Jump to navigation Jump to search

Ubuntu 12.04.1 LTS

This guide will show you how to deploy your own OpenTopoMap server under Ubuntu 12.04.1 LTS.


Install Mapnik 2.1

see http://mapnik.org/news/2012/08/24/release-2.1.0/

sudo apt-get install -y python-software-properties
echo 'yes' | sudo add-apt-repository ppa:mapnik/v2.1.0
sudo apt-get update
# install core mapnik
sudo apt-get install -y libmapnik mapnik-utils python-mapnik
# install the python binding
sudo apt-get install -y python-mapnik
# confirm mapnik-config returns 2.1.0
mapnik-config -v

Install Postgresql 9.2

see http://www.postgresql.org/download/linux/ubuntu/

sudo add-apt-repository ppa:pitti/postgresql 
sudo apt-get update
sudo apt-get install postgresql-9.2

to be continued...