Install the software warden container

Recommended for you: Get network issues from WhatsUp Gold. Not end users.
Warden is an important component of cloud foundry V2 is used to process, resource isolation, but because warden is very complex, so I start in warden, setup, and the generated stemcell spent a lot of time. Warden setup, will use debootstrap, cloning a stemcell from the host machine.

My problem is, although the environment variable clone, but the file sharing here is out of the question.
For example, the mirror mount, etc.. So I host machine software, are not in the stemcell, many need to manually install
First entered the/var/warden/rootfs

sudo chroot .

Enter the stemcell image, firstly, to update the apt-get source. Because only one root user in stemcell, so all the operations are not sudo

apt-get update

Typical of the need to install the zip, quota, GCC, ruby, JVM in front of three to apt-get install
apt-get install zip
apt-get install quota

apt-get install gcc

Behind two to use the source installation. Installed in the stemcell ruby rbenv, is always a problem, so the only source installed, before installation, must install some dependent Libraries.

Before installing ruby, install yaml, or an error
$ wget
$ tar xzvf yaml-0.1.4.tar.gz
$ cd yaml-0.1.4
$ ./configure –prefix=/usr/local
$ make
$ make install
Then install the ruby
Download ruby-1.9.3-p392.tar.gz.
Decompression, tar -xzvf ruby-1.9.3-p392.tar.gz.
./configure -prefix=/usr/local –enable-shared –disable-install-doc –with-opt-dir=/usr/local/lib
Compile and install, namely make && make install.
(Note: to ensure that the current account can obtain and has achieved root permission, otherwise it will fail to install)

The JVM installation see another piece of my blog
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Gino at January 09, 2014 - 6:58 AM