See http://gcube.wiki.gcube-system.org/gcube/index.php/GCube_Portal_Installation