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.

Difference between revisions of "ROCCI Server installation for SL6"

From EGIWiki
Jump to navigation Jump to search
Line 9: Line 9:
  su - rocci
  su - rocci
   
   
curl -L https://get.rvm.io | sudo bash -s stable
rvm requirements
  git clone git://github.com/gwdg/rOCCI-server.git
  git clone git://github.com/gwdg/rOCCI-server.git
  cd rOCCI-server
  cd rOCCI-server
Line 16: Line 14:
  cp etc/backend/dummy/dummy.json etc/backend/default.json
  cp etc/backend/dummy/dummy.json etc/backend/default.json
  sed -i "s/rocci.info/`hostname -f`/" etc/backend/default.json
  sed -i "s/rocci.info/`hostname -f`/" etc/backend/default.json
curl -L https://get.rvm.io | sudo bash -s stable
rvm requirements
  rvm install ruby `ruby -v | awk '{ print $2 }'`
  rvm install ruby `ruby -v | awk '{ print $2 }'`
  bundle install
  bundle install
  bundle exec passenger start
  bundle exec passenger start
  bundle exec passenger-install-apache2-module
  bundle exec passenger-install-apache2-module

Revision as of 17:13, 25 April 2013

Starting from a clean SL6 machine

IN PREPARATION!

yum install -y ruby rubygems ruby-devel gcc libxml2-devel libxslt-devel gcc-c++ expat-devel git readline-devel libyaml-devel libffi-devel openssl-devel autoconf automake libtool bison curl-devel httpd httpd-devel sed awk patch make

adduser rocci
printf "\nrocci\tALL=NOPASSWD: /bin/bash\n\n" >> /etc/sudoers
su - rocci

git clone git://github.com/gwdg/rOCCI-server.git
cd rOCCI-server
git checkout 0.5.1
cp etc/backend/dummy/dummy.json etc/backend/default.json
sed -i "s/rocci.info/`hostname -f`/" etc/backend/default.json
curl -L https://get.rvm.io | sudo bash -s stable
rvm requirements
rvm install ruby `ruby -v | awk '{ print $2 }'`
bundle install
bundle exec passenger start
bundle exec passenger-install-apache2-module