Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

ROCCI-core Installation Guide

From EGIWiki
Revision as of 16:40, 29 August 2014 by Zsustr (talk | contribs) (Created page with "= Prerequisites = '''Important note: since''' rOCCI-core v. 4.1 '''ruby versions''' < 1.9 '''are no longer supported. Be sure your distribution provides a sufficien...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Prerequisites

Important note: since rOCCI-core v. 4.1 ruby versions < 1.9 are no longer supported. Be sure your distribution provides a sufficiently hig version of ruby, or upgrade ruby manually.

Installing as a Ruby Gem

Certain packages need to be present in your system for the occi-core gem and its dependences to be downloaded and built properly.

Debian-based distributions (apt/deb)

apt-get install -y ruby ruby-devel rubygems make gcc

RHEL-based distributions (yum/RPM)

yum install -y ruby ruby-devel rubygems make gcc libxml2-devel libxslt-devel oniguruma-devel

Installation

gem install rake
gem install occi-core

Usage

require 'occi-core'

Installing as Packages

Packages for Fedora/Scienfific Linux, and for Debian-based distributions are available from the EGI App DB, separately for rOCCI-cli and rOCCI-server. rOCCI packages are also gradually becoming available from base distribution repositories (Fedora, EPEL).