sandbox - sandbox entire UNIX servers
sandbox [command] [options][...]
sandbox programs are used to sandbox entire UNIX servers to avoid polluting the base sandbox (the actual server) when doing experimental or invasive work. Sandboxes stop short of full virtualization and as such are quick to create, use, and destroy. Each sandbox contains a deep copy of your home directory and a shallow copy of the rest of the server's filesystem. Packages can be installed as usual, configuration can be changed, and services can be started within each sandbox. It is, however, possible for network ports to conflict between sandboxes.
sandbox-list(1)sandbox-which(1)sandbox-create(1)sandbox-clone(1)sandbox-use(1)sandbox-destroy(1)Create a sandbox called mq-worker and install the Ruby gems necessary to work from a message queue. Then clone that sandbox to another called mq-broker and install the rabbitmq-server AMQP broker.
sandbox create mq-worker
sandbox use mq-worker
sudo gem install amqp carrot
exit
sandbox clone mq-worker mq-broker
sandbox use mq-broker -c "sudo apt-get -y install rabbitmq-server"
The Flaming Lips - "The W.A.N.D. (The Will Always Negates Defeat)"
Richard Crowley richard@devstructure.com
sandbox-list(1), sandbox-which(1), sandbox-create(1), sandbox-clone(1), sandbox-use(1), and sandbox-destroy(1).