Difference between revisions of "Mapbender at ProjectsVM"

From OSGeo
Jump to: navigation, search
m
m
Line 43: Line 43:
 
  mkdir mapbender_2.6
 
  mkdir mapbender_2.6
 
  svn co https://svn.osgeo.org/mapbender/branches/2.6 /osgeo/mapbender/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/
+
for update use:  
  ?? www-data ?? chown apache /osgeo/mapbender/mapbender_2.5/log
+
svn up https://svn.osgeo.org/mapbender/branches/2.6 /osgeo/mapbender/mapbender_2.6/
?? www-data ?? chown apache /osgeo/mapbender/mapbender_2.5/http/tmp
+
  cd /osgeo/mapbender/mapbender_2.6/resources/db/
 +
chmod u+x update.sh
 +
./update.sh
  
 
==== Apache ====
 
==== Apache ====
 
* /etc/apache2/sites_available/projects.mapbender.osgeo.conf
 
* /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
 +
  
  

Revision as of 02:48, 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

  • we added an ALIAS for each Mapbender versions:


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

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


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