Background: I am a Linux newbie. I have set up an OSM planet import and pre-rendered alot of the planet on a Windows machine. Now I want to take the next step and move to a Linux box so I can render tiles on the fly and use things like mod_tile to keep my database up to date via http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/ . Questions:
Thanks, Matt asked 17 Oct '12, 19:39 maw269 aseerel4c26 ♦ |
I suspect that it's not going to be straightforward. The switch2osm instructions say "get XYZ from Ubuntu, build ABC from source". I'm guessing that you'd get two sorts of problems:
I'd be tempted to progress to a "planet import and update in Redhat" in stages:
With regard to the specific questions:
(I've not used a Redhat system for around 10 years, so take this answer with a large pinch of salt!) answered 18 Oct '12, 10:16 SomeoneElse ♦ aseerel4c26 ♦ 1
Excellent suggestions everyone. I will start with Ubuntu then transition to Redhat (fingers crossed). I will start small and not worry so much about disk allocation at this moment. Once I have everything up and running, I can get a feel for the actual space required for items that will not grow (applications) and also get a feel for the % of space required for items that will grow when moving to larger geographies (the DB and tilestore). I can then scale this space accordingly. It also sounds like I will have to do some research to find Redhat eqivalents to Ubuntu commands. I hope I don't have to build too many things from source as that is out of my lane, but I have some developers at the office that can help me, I suppose. I will get back to this forum if I get things working and maybe create a page somewhere with the Redhat eqivalent to http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/. If you come by this page in the future and don't find my final results, ping me because I probably forgot to update this page. Cheers
(18 Oct '12, 17:50)
maw269
1
Well, I've gotten all the way to installing mapnik0.7.3 and creating a static image with generate_image.py. No luck so far with getting mod_tile to compile. Not looking good :-(
(25 Feb '13, 22:32)
maw269
|
I'm not a filesystem expert but ext4 with the dir_index option should suffice.
Well Redhat uses a different package manager than Ubuntu so those two "apt-get" commands at the beginning aren't going to work. I haven't used Redhat in a while but I think it has a "yum" command that will install packages much like apt-get does. Package names and versions might not match up exactly either although I would imagine that they would be fairly close.
Were you able to implement this on Redhat? If yes, can you please share what challenges you faced, and the workaround you had to use? Thank you in advance.