SlapOS is installed using buildout technology. Buildout downloads the
source code, the patches and the binaries required to build a software on
a given architecture. It handles depencies between software components
automatically.
First, we are going to create the directory for SlapOS software by
invoking mkdir /opt/slapos. We then move to the SlapOS software
directory. We then create a buildout file which extends SlapOS's own
buildout.cfg. There is nothing to download here, only create a text file
with a link to a URL.
Before starting the boostrap process, we unset some environment
variables. This is mostly useless for most GNU/Linux distributions or
UNIX-like operaring systems but it prevents certain errors in a few
GNU/Linux distributions with uncommon environment settings.
It is now possible to start the bootstrap process. We need to make
sure that we use a recent version of python such as python
2.7. The python invocation bootstraps buildout. The buildout invocation
interpretes the buildout.cfg file and installs SlapOS on the server.
Before you go to the next paragraph, please make sure that you have
tried and finished installing of SlapOS with buildout.