VIFIB DESCENTRALIZED CLOUD COMPUTING

SlapOS is a decentralized Cloud Computing technology that can automate the deployment and configuration of applications in a heterogeneous environment.

How to upgrade SlapOS installation

If installed from packages

Just upgrade slapos.node packages. In Debian-based Distribution, you will have to run the following command line as root:

# apt-get update; apt-get install slapos.node

If installed from source

You will need to run a few command lines to upgrade both SlapOS Client and SlapOS Node. So open your terminal!

Note : the default installation directories of SlapOS Node and SlapOS Client are respectively /opt/slapos and ~/slapos. If you didn't followed the tutorials, it can be located elsewhere.

Note 2 : In some distributions, such as Mandriva, or Suse you will need to unset some environment variables so that system python does not interfere with SlapOS:

$ unset PYTHONPATH; unset PYTHONDONTWRITEBYTECODE; unset CONFIG_SITE 

Go to your SlapOS Node directory, update your buildout.cfg, bootstrap Buildout and run it :

Note : superuser privileges will be needed here.

$ cd /opt/slapos
# echo "[buildout]
extends = http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.136:/component/slapos/buildout.cfg" > buildout.cfg
# python -S -c 'import urllib2;print urllib2.urlopen("https://raw.github.com/buildout/buildout/1/bootstrap/bootstrap.py").read()' | python -S -
# bin/buildout

If installed from source, testing version:

$ cd /opt/slapos
# echo "[buildout]
extends = http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos.core-1.0.0rc6-1:/component/slapos/testing.cfg" > buildout.cfg
# python -S -c 'import urllib2;print urllib2.urlopen("https://raw.github.com/buildout/buildout/1/bootstrap/bootstrap.py").read()' | python -S -
# bin/buildout

If installed from USB key

New USB keys have automated update system. Just sit and relax.