Setting up a test server/0.3

From OpenStreetMap Wiki
Jump to: navigation, search


People developing the OSM server code, may well be interested in setting up a server on their own machine at home. If you want to use the preconfigured test server, you may want to read Using the dev server instead.

For any help beyond this page, please call user:Imi for help.

Under NO circumstances ever upload anything to the main OSM server that you have taken from an test server! The id generation will confuse both servers and the world will end in a mess.

Contents

Get all the packages

You need several packages. For Debian based distributions, install this:

OS X notes

Setup Apache

Debian notes

user@box:/etc/apache2/sites-enabled$ ln -s /etc/apache2/sites-available/openstreetmap-apache-conf


OS X notes

Setup MySql

I assume that you used the original provided servinfo.rb. This assumes, especially, that your database is called osm and your username is root.

If you want to have real OSM data in your database:

Build the applet

If you want the applet in your testserver, do the following in addition to the steps above:

Personal tools
Namespaces
Variants
Actions
site
Toolbox