Difference between revisions of "Mapbender at ProjectsVM"

From OSGeo
Jump to: navigation, search
m
m
Line 28: Line 28:
 
* as adminstrative database we use PostgreSQl/PostGIS
 
* as adminstrative database we use PostgreSQl/PostGIS
  
=== Apache ===
+
==== Apache ====
* we added an ALIAS for each Mapbender versions:
+
* /etc/apache2/sites_available/projects.mapbender.osgeo.conf
 +
* logfiles at:
 +
  ErrorLog /var/log/apache2/projects.mapbender.osgeo.org-error_log
 +
  CustomLog /var/log/apache2/projects.mapbender.osgeo.org-access_log combined
  
  
Line 53: Line 56:
 
  ./update.sh
 
  ./update.sh
  
==== Apache ====
+
==== Change the root password ====
* /etc/apache2/sites_available/projects.mapbender.osgeo.conf
+
* the root password has to be changed to the password the devs defined
* logfiles at:
+
  ErrorLog /var/log/apache2/projects.mapbender.osgeo.org-error_log
+
  CustomLog /var/log/apache2/projects.mapbender.osgeo.org-access_log combined
+
 
+
 
+
  
 
====create the symbolic link current_release with ln -s ...====
 
====create the symbolic link current_release with ln -s ...====

Revision as of 02:52, 6 August 2010

Server Overview

Status

  • 2010-08-02 not set up yet, document needs review

Participants

Services on this Blade

  • Mapbender
  • PostgreSQL/PostGIS
  • svn
  • gettext

Mapbender

  • every Mapbender version is presented by http://projects.mapbender.osgeo.org/
    • if you need root access to the demo mapbender ask the participants (see above)
  • the home for the Mapbender packages is: /osgeo/mapbender/
  • 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

  • /etc/apache2/sites_available/projects.mapbender.osgeo.conf
  • logfiles at:
 ErrorLog /var/log/apache2/projects.mapbender.osgeo.org-error_log
 CustomLog /var/log/apache2/projects.mapbender.osgeo.org-access_log combined


How to setup the current mapbender version

Mapbender Database

  • use the install.sh
  • take the last version as template (check the guis first - everything still allright?)
  • (postgis_template)

directory and svn checkout

cd /osgeo/mapbender
sudo bash
mkdir mapbender_2.6
svn co https://svn.osgeo.org/mapbender/branches/2.6 /osgeo/mapbender/mapbender_2.6/
cd /osgeo/mapbender/mapbender_2.6/resources/db/
chmod u+x install_2.6.sh
./install_2.6.sh --> use template_postgis as database template

for update use:

svn up https://svn.osgeo.org/mapbender/branches/2.6 /osgeo/mapbender/mapbender_2.6/
cd /osgeo/mapbender/mapbender_2.6/resources/db/
chmod u+x update.sh
./update.sh

Change the root password

  • the root password has to be changed to the password the devs defined

create the symbolic link current_release with ln -s ...

  • drop current symbolic link
rm /osgeo/mapbender/current_release
  • create it again with path to actual mapbender version
ln -s /osgeo/mapbender/mapbender/mapbender_2.5 /osgeo/mapbender/current_release

create new link in html start page index.html

vim /osgeo/mapbender/index.html