<commit_before># Cloud Foundry v2 installer with Nise BOSH (+ Vagrant)

## Links

* [cf-vagrant-installer](https://github.com/Altoros/cf-vagrant-installer)
 * Another Chef-based vagrant project

## Install Cloud Foundry v2

### On local machine

#### Requirements

* Ubuntu 10.04 64bit

#### Full-automatic install

```sh
sudo apt-get install curl
bash < <(curl -s -k -B wget https://raw.github.com/yudai/cf_nise_installer/master/scripts/bootstrap.sh)
```

#### Customized install

TODO

#### Process management

Use Monit which installed by Nise BOSH.

```sh
# Start Monit
sudo /var/vcap/bosh/bin/monit
# Launch `all` processes
sudo /var/vcap/bosh/bin/monit start all
# See status
sudo /var/vcap/bosh/bin/monit status
sudo /var/vcap/bosh/bin/monit summary # shorter
# Stop `all` processes
sudo /var/vcap/bosh/bin/monit stop all
```

### With Vagrant

You can create a devbox vagrant VM with [nise-bosh-vagrant](https://github.com/BrianMMcClain/nise-bosh-vagrant).

#### Requirements

* Vagrant 1.2 or later
* Ruby 1.9.2 or later

#### Install

```sh
# Install required gems, add `sudo` if needed<commit_msg>Specify the ruby version for vagrant install<commit_after># Cloud Foundry v2 installer with Nise BOSH (+ Vagrant)

## Links

* [cf-vagrant-installer](https://github.com/Altoros/cf-vagrant-installer)
 * Another Chef-based vagrant project

## Install Cloud Foundry v2

### On local machine

#### Requirements

* Ubuntu 10.04 64bit

#### Full-automatic install

```sh
sudo apt-get install curl
bash < <(curl -s -k -B wget https://raw.github.com/yudai/cf_nise_installer/master/scripts/bootstrap.sh)
```

#### Customized install

TODO

#### Process management

Use Monit which installed by Nise BOSH.

```sh
# Start Monit
sudo /var/vcap/bosh/bin/monit
# Launch `all` processes
sudo /var/vcap/bosh/bin/monit start all
# See status
sudo /var/vcap/bosh/bin/monit status
sudo /var/vcap/bosh/bin/monit summary # shorter
# Stop `all` processes
sudo /var/vcap/bosh/bin/monit stop all
```

### With Vagrant

You can create a devbox vagrant VM with [nise-bosh-vagrant](https://github.com/BrianMMcClain/nise-bosh-vagrant).

#### Requirements

* Vagrant 1.2 or later
* Ruby 1.9.3-p392 (Required by cf-release)

#### Install

```sh
# Install required gems, add `sudo` if needed
{'fraction_non_alphanumeric': 0.13756613756613756, 'fraction_numerical': 0.012786596119929453, 'mean_word_length': 4.0874439461883405, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '152733', 'n_tokens_mistral': 888, 'n_tokens_neox': 818, 'n_words': 224}