Mapbender at mapbender.telascience.org

Participants

 * User:Astrid Emde (astrid_emde@osgeo.org)
 * Christoph Baudson
 * Arnulf Christl
 * Uli Rothstein
 * Michael Schulz

Services on this Blade

 * Mapbender
 * PostgreSQL/PostGIS

Mapbender
/var/www/html/mapbender/
 * every Mapbender version is presented on this server http://mapbender.telascience.org/
 * if you need root access to the demo mapbender ask the participants (see above)
 * the home for the Mapbender packages is:
 * the update of the mapbender version is done by svn
 * we offer a portal function so user can login and try the applications
 * as adminstrative database we use PostgreSQl/PostGIS

Apache

 * we added an ALIAS for each Mapbender versions:
 * /etc/httpd/conf/httpd.conf

directory and svn checkout
cd /var/www/html/mapbender sudo bash mkdir mapbender_2.5 svn co https://svn.osgeo.org/mapbender/branches/2.5 /var/www/html/mapbender/mapbender_2.5/ -- for update use: svn up https://svn.osgeo.org/mapbender/branches/2.5 /var/www/html/mapbender/mapbender_2.5/ chown wwwrun /var/www/html/mapbender/mapbender_2.5/log chown wwwrun /var/www/html/mapbender/mapbender_2.5/http/tmp rm -r /var/www/html/mapbender/mapbender_2.5/http/tools

add the alias to Apache httpd.conf
vi /etc/httpd/conf/httpd.conf Alias /mapbender_2.5     /var/www/html/mapbender/mapbender_2.5/http/

restart Apache
/usr/sbin/apachectl configtest /usr/sbin/apachectl graceful

create mapbender.conf and configure it
cp /var/www/html/mapbender/mapbender_2.5/mapbender.conf-dist /var/www/html/mapbender/mapbender_2.5/mapbender.conf
 * if possible use the Mapbender database which is already in use with the older Mapbender Verson
 * vor Mapbender 2.5 I (AE) had to create a new Mapbender database (mapbender_2.5)

create the symbolic link current_release with ln -s ...
rm /var/www/html/mapbender/current_release
 * drop current symbolic link

ln -s /var/www/html/mapbender/mapbender_2.5 /var/www/html/mapbender/current_release
 * create it again with path to actual mapbender version