Scala – Scalatra – Salat – MongoDB : test drive

Hello there, a little test with Scala (2.9.0-1) for the backend services, Scalatra for the REST part, Salat and MongoBB for the persistance layer. I will use sbt (0.10) for the project management and you should use IntelliJ Idea IDE (what else ? ).

What this test does ?

It exposes a REST API (and its documentation) in order to play with a user (login, email, password). This API is extremely simplified, so you understand easely the concepts.
The objective is to :
- add a user,
- get a user (with its id or login),
- delete a user
- have the API documentation online for each method
Read more »

Scala – Scalatra – Salat – MongoDB : découverte

Bonjour, un petit test avec Scala (2.9.0-1) pour la partie service, Scalatra concernant le front en REST, Salat et MongoBB pour la persistance des données. J’utiliserai sbt (0.10) pour la gestion du projet et IntelliJ Idea comme IDE (What else ?).

Qu’allons nous voir ici ?

Nous allons exposer une API REST (et sa documentation associée) afin de créer des utilisateurs (identifiant, courriel, mot de passe). Cette API est extrèmement simple afin de bien comprendre ce qui se passe.
L’objectif est donc de pouvoir :
- créer un utilisateur,
- trouver un utilisateur (avec son ID ou son identifiant),
- effacer un utilisateur
- visualiser la documentation de chaque API en ligne pour chacune des méthodes
Read more »

CentOS 6 – Install Voldemort

Voldemort est une base de données NoSQL, un système de stockage distribué fonctionnant par clef/valeur… en très très gros c’est une hashmap (pour ceux qui viennent du monde Java).

Les URLs des différentes ressources :
- http://project-voldemort.com/
- https://github.com/voldemort/voldemort/downloads
- https://github.com/voldemort/voldemort/wiki

Installation CentOS 6 Net install x86_64 en “Basic server”. Read more »

CentOS 6 – Voldemort install

Voldemort is a NoSQL database, a distributed key-value storage system… a kind of hashmap (for java guys…).

URL resources:
- http://project-voldemort.com/
- https://github.com/voldemort/voldemort/downloads
- https://github.com/voldemort/voldemort/wiki

Your base server can be for instance a CentOS 6 Net install installation in “Basic server” mode. Read more »

CentOS – Geoserver + osm2pgsql – Installation

Dans cet article nous allons voir comment mettre en place un serveur de carte.

Sur base de net install x64 de CentOS 6, installation de type “Basic server” tout par défaut.
Pour l’URL utilisez celle-là par exemple : http://mirror.centos.org/centos/6/os/x86_64
(une image virtual box est disponible ici… a venir…)

Les différentes ressources documentaires à l’origine de ce post :
- http://wiki.openstreetmap.org/wiki/Osm2pgsql
- http://weait.com/content/build-your-own-openstreetmap-server
- http://www.surfaces.co.il/?p=880
- http://ian01.geog.psu.edu/geoserver_docs/data/openstreetmap/osm.html

On commence par mettre à jour le système : Read more »

Create a kickstart for a CentOS Net install


A small post in order to keep this somewhere.

In order to create an automatic install through kickstart, the steps are :
- Create a kickstart file (manually or via this tool : http://www.centos.org/docs/5/html/Installation_Guide-en-US/ch-redhat-config-kickstart.html) here is mine (I changed it to hide stuff) : Read more »

Création d’un fichier kickstart pour CentOS Net install


Un petit post histoire de garder une trace quelque part.

Pour obtenir une installation automatique avec un fichier kickstart, voici les étapes :
- Create a kickstart file (manually or via this tool : http://www.centos.org/docs/5/html/Installation_Guide-en-US/ch-redhat-config-kickstart.html) voici le miens (je l’ai partiellement changé pour caché 2 ou 3 trucs) : Read more »

CentOS 5.5 – Install Ant

Pré-requis
- CentOS 5.5 – Install Java 6

Allons dans Read more »

CentOS 5.5 – Install Maven 3

Pré-requis
- CentOS 5.5 – Install Java 6

Allons dans Read more »

CentOS 5.5 – Install MySQL 7

Paramètres de configuration

Il s’agit ici de paramêtres qu’il vous faudra adapter à vos besoins : Read more »

Switch to our mobile site