Skip to content

pragmagrid/PS3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PS3

PRAGMA S3

Roll to build and install Scality Cloudserver and its dependencies.

Dependencies

Building and running S3 requires node.js v.6.x and npm v3. Compiling S3 modules with npm requires python27 and gcc v 4.7+ which is provided with devtoolset-3

devtoolset-3

devoolset-3 RPMs are downloaded from people.centos.org repository

nodejs

NOTE: RedHat RPMs for nodejs and nodesource repo RPM are available from RPM nodesource repository that can be used for direct downloads of specific versions:

Link from the Scality Cloudserver points to the nodejs github instructions for downloading and building nodejs. These instructions are now used in this roll src/nodejs/

Summary of instructions

  1. download nodejs setup script v.6 (as current S3 requires).

    curl -sL https://rpm.nodesource.com/setup_6.x  > setup_6.sh
  2. Edit the downloaded script stash in nodejs/patch-files. Edited version does:

    • download nodejs repository
    • setup yum to use it locally (do not install for the system)
    • download nodejs RPM

All dependencies, build or fetched per above instructions are saved in Google drive and are downloaded in bootstrap.sh when building the roll.

  1. Download Command line tool for managing Amazon S3 and CloudFront services (s3cmd) See http://s3tools.org/download
    wget https://sourceforge.net/projects/s3tools/files/s3cmd/2.0.0/s3cmd-2.0.0.tar.gz 

Scality s3

Scality Cloudserver is downloaded and saved in Google drive as a S3.tar.gz. The file is fetched during bootstrap step. Need to pin a release in S3 to use.

Building a roll

Checkout roll distribution from git repo

    # git clone https://github.com/pragmagrid/PS3
    # cd PS3/

To build a roll, first execute a script that builds nodejs and installs prerequisites.

    # ./bootstrap.sh
    Then proceeed with building the roll:

make roll

The resulting ISO file PS3-*.iso can be added to the frontend.

Installing a roll

TBA

What is Installed

Using a roll

TBS

LInks

Releases

No releases published

Packages

No packages published