Difference between revisions of "Mapbender at mapbender.telascience.org"

From OSGeo
Jump to navigation Jump to search
m (information about mapbender.telascience.org)
 
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
== Status of mapbender.telascience.org==
 
== Status of mapbender.telascience.org==
 +
* 2010-05-19: Down
 +
* 2010-05-29: Up
 +
* 2010-06-03: Down
 +
* 2010-06-04: Up
 +
 +
This server is internally known as xblade10-2 and is mapped to IP 198.202.74.215. It runs:
 +
* Mapbender (PostgreSQL, MySQL)
 +
* [[demo.mapserver.org]]
 +
* GeoNetwork opensource website
 +
** http://geonetwork-opensource.org
 +
** http://geonetwork-opensource.telascience.org
 +
 
=== Participants ===
 
=== Participants ===
* [[User:Astrid Emde]] (astrid_emde@oosgeo.org)
+
* [[User:Astrid Emde]] (astrid_emde@osgeo.org)
 
* Christoph Baudson  
 
* Christoph Baudson  
 
* Arnulf Christl
 
* Arnulf Christl
 
* Uli Rothstein
 
* Uli Rothstein
* Michael Schulz
+
* [[User:mschulz|Michael Schulz]]
 +
* Verena Diewald
  
 
=== Services on this Blade  ===
 
=== Services on this Blade  ===
Line 13: Line 26:
 
=== Mapbender===
 
=== Mapbender===
 
* every Mapbender version is presented on this server http://mapbender.telascience.org/
 
* 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 home for the Mapbender packages is:
 
  /var/www/html/mapbender/
 
  /var/www/html/mapbender/
Line 20: Line 34:
  
 
=== Apache ===
 
=== Apache ===
* we added an ALIAS for each Mapbender versons:
+
* we added an ALIAS for each Mapbender versions:
 
* /etc/httpd/conf/httpd.conf
 
* /etc/httpd/conf/httpd.conf
 +
 +
 +
=== How to setup the current mapbender version===
 +
==== Mapbender Database ====
 +
* create the database for the next version
 +
* take the last version as template (check the guis first - everything still allright?)
 +
createdb -U postgres  -E UTF8 -T mapbender_2.5 mapbender_2.6
 +
(postgis_template)
 +
 +
==== 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 apache /var/www/html/mapbender/mapbender_2.5/log
 +
chown apache /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 ...====
 +
* drop current symbolic link
 +
rm /var/www/html/mapbender/current_release
 +
 +
* create it again with path to actual mapbender version
 +
ln -s /var/www/html/mapbender/mapbender_2.5 /var/www/html/mapbender/current_release
 +
 +
==== create new link in html start page index.html http://mapbender.telascience.org/ ====
 +
vim /var/www/html/mapbender/index.html

Latest revision as of 01:50, 4 June 2010

Status of mapbender.telascience.org

  • 2010-05-19: Down
  • 2010-05-29: Up
  • 2010-06-03: Down
  • 2010-06-04: Up

This server is internally known as xblade10-2 and is mapped to IP 198.202.74.215. It runs:

Participants

Services on this Blade

  • Mapbender
  • PostgreSQL/PostGIS

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:
/var/www/html/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:
  • /etc/httpd/conf/httpd.conf


How to setup the current mapbender version

Mapbender Database

  • create the database for the next version
  • take the last version as template (check the guis first - everything still allright?)
createdb -U postgres  -E UTF8 -T mapbender_2.5 mapbender_2.6
(postgis_template)

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 apache /var/www/html/mapbender/mapbender_2.5/log
chown apache /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 ...

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

create new link in html start page index.html http://mapbender.telascience.org/

vim /var/www/html/mapbender/index.html