[OSM-dev] Fwd: [OSM-talk] how to build a OSM server

Nick Black nickblack1 at gmail.com
Wed Nov 15 17:57:20 GMT 2006


I replied off list to this post by accident, so I'm pulling it back on
to the list

---------- Forwarded message ----------
From: Jerry Giant <einzeln00 at gmail.com>
Date: Nov 15, 2006 5:24 PM
Subject: Re: [OSM-talk] how to build a OSM server
To: Nick Black <nickblack1 at gmail.com>


Thanks, Nick

I checked out the SVN, but the >>/svn/josm<< dir could not be
retrieved (a deutsche site hosting java osm editor, right?). My SVN
client prompt me this and halt:

svn: PROPFIND request "/svn/josm" failed
.....could not connect to server
(http://www.eigenheimstrasse.de)....(I translated the Chinese prompt
into English, so it may looked wried )

I want to know if what I have now is enough for the server, here is the list:
\svn.openstreetmap.org\
\data
\editors
\freemap
\java
\map-icons
\maps
\script
\sql
\support
\tile.openstreetmap.org
\utils
\websites
\www.freethepostcode.org
\www.openstreetmap.org
\INSTALL
\LICENSE
>>EOL

Well that looks ok.  You have a few choices, depending what roads you
want to go down.  I would definitely reccomend testing the new rails
implementation, as it will take you minutes to set up and run if you
know a bit about rails, and maybe a few evenings of learning some
basic Rails if you dont.  The rails source is in
www.openstreetmap.org/osm/  and the README is pretty informative.

Either way, you will need a database - the SQL config is in /sql .
You then may or may not want to import some data from osm xml format,
which can be done using planet2mysql.rb , in /utils/planet.osm/ .

If you want to run a basic version of the current site, you need to
set up www.openstreetmap.org.  There is  quite a bit of setting up to
do here - editing servinfo.rb, creating some missing sym links etc.

Then if you really want to go for it, you can install
tile.openstreetmap.org - and produce tiles locally (As opposed to
talking to the main OSM server in London)

By far the biggest problems I had were setting up apache to run the
ruby/eruby stuff.  You want to install mod_ruby as well as various
other mods that I think are documented on the wiki.  For this reason I
really recommend you install the rails version - the main site will be
switching to rails pretty soon anyway.

Good luck!

Nick



Thanks.

On 11/15/06, Nick Black <nickblack1 at gmail.com> wrote:
> HI Jerry,
>
> Have you had a  look at teh openstreetmap wiki?  There is a lot of
> documentation on there about setting up a test server:
>
> http://wiki.openstreetmap.org/index.php/Setting_up_a_test_server
>
> Source code is located in a subversion repository:
>
> http://wiki.openstreetmap.org/index.php/Getting_The_Source
>
> Good luck...
>
>
> On 11/15/06, Jerry Giant <einzeln00 at gmail.com> wrote:
> > Hi,
> >
> > I am a GIS fan from China. I want to know how to build a OSM map
> > server, for the document, and the source code for the server. Thanks.
> >
> > _______________________________________________
> > talk mailing list
> > talk at openstreetmap.org
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> >
>




More information about the dev mailing list