I’m willing to help you to get it running if you create a doco on how to get it running.
I’m using debian which is close enough to ubuntu to not matter for the most part.
The software used for this is generally not mature enough to use from ubuntu debs, it’s best to check them out of SVN and compile them yourself.
You will need to install pgsql and postgis, I can’t find the details I followed to set this up, but it was pretty straight forward.
You then need to download an extract to import, that is unless you want the whole world, in which case you pull down a copy of the planet file.
For extracts have a look here: http://download.geofabrik.de/osm/
from there you need to grab osm2pgsql from svn
svn co http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/
You then need to build the code, apt-get install build-essential should install most utils you need then I think you just do this:
Once that builds you can make install or just copy the osm2pgsql into /usr/bin or somewhere in your paths already.
then you can do this:
osm2pgsql -s 'filename.osm.bz2'
You can apply updates from change files by doing this:
osm2pgsql -a -s 'filename.osc.gz'
I assume from previous messages you are already up to about here.
Next you will need to:
apt-get install apache2 apache2-mpm-prefork apache2-prefork-dev apache2-utils apache2.2-common
Then you need to get mapnik and a few other things from SVN:
svn co http://svn.openstreetmap.org/applications/rendering/mapnik/
svn co http://svn.openstreetmap.org/applications/utils/mod_tile/
I can’t exactly remember how I built mapnik but it was pretty straight forward.
in mod_tile again I can’t remember the details but was pretty straight forward, you then just copy the apache2 module into /usr/lib/apache2/modules/
mod_tile also comes with rendered, you will probably need to compile this seperate to mod_tile, it’s a bg daemon that mod_tile talks to.
Then it’s just a bunch of config stuff.
you need to load the mod_tile module in apache, and config a virtual host using the default config mod_tile comes with, you also need to copy the default config for rendered into /etc
I forget how I got my config setup for my system, there was a util that did it, but I copied the resulting osm.xml into /var/lib/mod_tile and updated the apache config and rendered.conf to use this file.
I can try and figure out what I’ve done in more detail, but hopefully this points you in the right direction and you can fill in my blanks.