Stoxy Server 0.1-41-gdc5b documentation

Deployment

«  Authentication   ::   Contents   ::   Adding a new backend support  »

Deployment

List of known Stoxy deployments

Limiting listening ports to localhost

Add to stoxy.conf:

[rest]
port = 8080
interface=127.0.0.1

[ssh]
interface=127.0.0.1

Disabling PAM backend

Add to stoxy.conf:

[auth]
use_pam = no

If PAM is not used for authentication, this will greatly improve the performance of operations.

Resolving setuptools/distribute conflict

In some cases system packages are conflicting with buildout’s requested version of setuptools. An easy fix is to use virtualenv:

$ virtualenv -p /usr/bin/python27 stoxyenv
$ . ./stoxyenv/bin/activate
$ #proceed with initial deployments instructions

Deploying on a clean Ubuntu 13.10

Verified on an AWS instance of Ubuntu 13.10:

$ sudo apt-get install git gcc python-dev libssl-dev python-virtualenv
$ git clone https://github.com/stoxy/stoxy.git
$ . stoxyenv/bin/activate
$ cd stoxy && python bootstrap.py && ./bin/buildout -N
$ ./bin/omspasswd -a stoxy  # to add a user
$ ./bin/omspasswd -g cdmiusers -a stoxy  # to add a user with cdmiusers group
$ ./bin/stoxy  # start the STOXY process

«  Authentication   ::   Contents   ::   Adding a new backend support  »