OpenStreetMap 로고 OpenStreetMap

OSM Server Virtual Machine Available Now.

AndrewBuck님이 English로 2012년 9월 13일에 게시함.

Over the last few days I have been putting together a virtual machine image of an Ubuntu 12.04 install set up to act as an OSM tileserver and Nominatim server. The Virtualbox virtual machine image boots up and after logging in and running the ‘startx’ command to start the graphical environment, has a “configuration wizard” script on the desktop.

Running this wizard will prompt you to download an OSM PBF extract to the desktop. This PBF file will then be loaded into either a tile rendering database, or a Nominatim database, or both. The configuration is entirely point and click and took about 30 minutes to have a fully functional tileserver and Nominatim server with up to date coastlines downloaded automatically for the Washinton, DC, extract (about a 10 mb PBF extract, processed on a typical dual core PC). I wrote a wiki page about how I set up the virtual machine starting from the bare Ubuntu 12.04 64 bit desktop build to the fully functional server.

The 2.2 gb virtual machine image can be downloaded via BitTorrent using the following torrent file or magnet link. You will find a Readme file in the torrent telling you how to import and boot the image in Virtualbox and further instructions in the VM image itself.

http://data.osm-hr.org/OSM_Server_v0.1.torrent

magnet:?xt=urn:btih:IYDWGYFZYN5CLYRYZOSPH7A7IOKLKPNY&tr=udp://tracker.openbittorrent.com:80

I hope people find this VM fun and useful to play around with. Hopefully now when people want a quick testserver for an app they are developing, or people who want to scrape tiles, or do bulk geocoding can easily download and run this VM on their own hardware, and avoid placing undue load on the OSM community’s donated servers.

Please share any comments or feedback about the VM either in the comments here, or on the talk page on the wiki.

-AndrewBuck

이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2012년 9월 13일 19:31robbieonsea님의 의견

Good stuff!

I’ve always thought about doing something similar, but other things have taken priority.

I thought maybe the setup for the VM (as far as possible) should be configured itself (and as such held under source control eg in github) rather than a collection of [Wiki] instructions.

Vagrant seems a good open system for defining Virtual Box images, see: http://vagrantup.com/

but I can’t say I’ve actually used it.

2012년 9월 14일 12:18Gnonthgol님의 의견

Great work. Next version have to include OSRM and TileMill and maybe a version of the rails port for completeness as well. Maybe I will start developing on that image in the future.

2012년 9월 15일 14:28geekasylum님의 의견

Thanks Andrew for pointing me to this - great work. I’ll play with it gleefully in the very near future. “)

2012년 9월 19일 17:35ngt님의 의견

Hey, just started the vm and it is up and running! But I wonder where I can find the rendered tiles g

2012년 9월 23일 18:11free_as_a_bird님의 의견

Hey Andrew!

Thanks a lot for that wonderful compilation of tools!!!

Can’t remember exactly how much time I spent with trial&error when I tried to setup a tirex / rendering server manually..

Having this a ready-to-go Rendering & Nominatim server is really a major benefit!

In case you need a helping hand on testing, extending, etc. please let me know

Best regards Toby

2012년 9월 29일 20:53japharl님의 의견

So far, so good. A few minor suggestions for future builds…

  1. Progress meter (or some other simple feadback mechanizim) while downloading ocean files / other long opperations.
  2. If possible, detect if the nominatum server is available (processed at least one file), so that someone like me won’t get confused as to why it isn’t working out of the box after loading a pbf file and seeing the visualization layer working ok, but nomintim not quite working yet.
  3. Configure nomintum to use local tile server instead of remote server. (Comes in handy for offline searching use.

Best, Zak

2012년 10월 22일 19:59Guttorm Flatabø님의 의견

I recommend you take a look av vagrant, as robbieonsea mentioned. It makes the whole makingn, distribution and use process a bit simpler. I made a box for running Waymarked Trails with it the other day.

If you started out with the Ubuntu server 12.04 box you’d probably manage to make it much smaller in size. It looked like you installed a lot of software not needed to serve tiles.

2013년 9월 2일 05:21racer005님의 의견

Dear friend, thank you very much! This server work great!

Please write a root password!?

2013년 12월 14일 10:14ZoranR님의 의견

Hi. I downloaded the vm and it’s up and running, but for some reason when I download the pbf it’s imported to the database (or at least its says it is) and when I get to the part of showing the tiles I don’t see any generated tiles? I tried it a few times and every time with the same result. Coastline file is also downloaded. And the weird part is that when the import to Nominatim happens it works? I can search the data through Nominatim. Do you have any idea what is going on? What I’m doing wrong?

댓글을 남기려면 로그인하세요