Difference between revisions of "Mapbender at ProjectsVM"

From OSGeo
Jump to navigation Jump to search
m (productive use: status set, demos 2.6 and trunk, index-page)
m
 
(One intermediate revision by one other user not shown)
Line 49: Line 49:
 
   
 
   
 
for update use:  
 
for update use:  
 +
cd /osgeo/mapbender/xx
 +
sudo bash
 
  svn up https://svn.osgeo.org/mapbender/branches/2.6 /osgeo/mapbender/mapbender_2.6/
 
  svn up https://svn.osgeo.org/mapbender/branches/2.6 /osgeo/mapbender/mapbender_2.6/
 
  cd /osgeo/mapbender/mapbender_2.6/resources/db/
 
  cd /osgeo/mapbender/mapbender_2.6/resources/db/
Line 56: Line 58:
 
==== Change the root password ====
 
==== Change the root password ====
 
* the root password has to be changed to the password the devs defined (ask [http://www.mapbender.org/Category:Administrators administrators])
 
* the root password has to be changed to the password the devs defined (ask [http://www.mapbender.org/Category:Administrators administrators])
 +
 +
==== Create user demo ====
 +
* create user demo password demo
 +
* assign public applications to this user
  
 
====create the symbolic link current_release with ln -s ...====
 
====create the symbolic link current_release with ln -s ...====

Latest revision as of 04:55, 4 April 2011

Startpage

Server Overview

Status

  • 2010-08-08 configuration is done, trunk and mapbender 2.6.2 available, demos served from trunk

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:

cd /osgeo/mapbender/xx
sudo bash
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 (ask administrators)

Create user demo

  • create user demo password demo
  • assign public applications to this user

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