Difference between revisions of "Mapbender at ProjectsVM"

From OSGeo
Jump to navigation Jump to search
m
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
== Startpage ==
 +
* http://projects.mapbender.osgeo.org/index.html
 +
 +
== Server Overview==
 +
* [[ProjectsVM]]
 +
 
== Status ==
 
== Status ==
* 2010-08-02 not set up yet, document needs review
+
* 2010-08-08 configuration is done, trunk and mapbender 2.6.2 available, [http://www.mapbender.org/Demo demos] served from trunk
  
 
=== Participants ===
 
=== Participants ===
 
* [[User:Astrid Emde]] (astrid_emde@osgeo.org)
 
* [[User:Astrid Emde]] (astrid_emde@osgeo.org)
* Christoph Baudson
+
* Admins see http://www.mapbender.org/Category:Administrators
* Arnulf Christl
 
* Uli Rothstein
 
* [[User:mschulz|Michael Schulz]]
 
* Verena Diewald
 
* kmq
 
  
 
=== Services on this Blade  ===
 
=== Services on this Blade  ===
Line 18: Line 19:
  
 
=== Mapbender===
 
=== Mapbender===
* every Mapbender version is presented by http://mapbender.projects.osgeo.org/
+
* 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)
 
** if you need root access to the demo mapbender ask the participants (see above)
 
* the home for the Mapbender packages is: '''/osgeo/mapbender/'''
 
* the home for the Mapbender packages is: '''/osgeo/mapbender/'''
Line 25: Line 26:
 
* 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 40: Line 44:
 
  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 /var/www/html/mapbender/mapbender_2.5/log
+
cd /osgeo/mapbender/xx
  ?? www-data ?? chown apache /var/www/html/mapbender/mapbender_2.5/http/tmp
+
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
  
==== Apache ====
+
==== Change the root password ====
* /etc/apache2/sites_available/mapbender.projects.osgeo.conf
+
* 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 ...====
Line 58: Line 72:
 
==== create new link in html start page index.html ====
 
==== create new link in html start page index.html ====
 
  vim /osgeo/mapbender/index.html
 
  vim /osgeo/mapbender/index.html
 +
 +
[[Category: Infrastructure]]

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