Getting started: Installing the Requea Platform on your machine

Version 12.1 by Pierre Dubois on 2011/01/26 14:10

Install the Database server

Requea supports several databases:

mySQL 5.0 and above (5.1 and above recommended)
Oracle 10g and above
Microsoft SQL server 2005 and above

For the purpose of this small tutorial , we recommend that you install mysql on your environment if not already done : MySQL Install

  • Create the requea database: (adapt mysql commands to your environment or your way of doing it. there are several ways of doing it)

    22: 23: mysql -u root -e "create database requeadb"
    24: 

    25:

    26: * Give all privileges to the requea user for accessing the requea database. For example (if you get connections problems try localhost instead of the IP address below):

    27: 28: mysql -u root -e "grant all privileges on requeadb.* to requea@127.0.0.1 identified by 'password'"
    29: 

    30:

Download the Requea dysoweb Platform

Dysoweb is a small OSGi platform created by Requea to build and compose modular Web applications. 

Follow these instructions:

  • Download and install dysoweb 1.0.19 or greater: download dysoweb on OW2 forge
    Get the tomcat version (the tar version if your platform is Unix, Solaris, AIX or Mac OS X, and the .zip version if you are a Windows user)
  • Unzip or untar the dysoweb-tomcat archive on a directory on your hard drive
  • Make sure that you do not have already a tomcat instance running or any program using the port 8080.
  • launch tomcat from a command prompt or shell:

on Unix:

bin/catalina.sh run

on Windows:
bin\catalina.bat run

  • open your favorite browser:

http://localhost:8080/dysoweb

Get a configuration key on the REPO

The Requea Repository is an OSGi repository hosted at Requea used to manage Requea configurations. Since Requea applications are modular, each configuration describes which bundles (and bundle versions) should be installed on your dysoweb platform. A typical configuration contains the bundles for the platform and several bundles for the application you are installing. 

A key is used to give access to a particular configuration. For the purpose of this tutorial, we will use a demo key which contains the open source dynapage platform and a few demo applications.

Tags:
Created by Pierre Dubois on 2011/01/20 10:26
     
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation