Below is a stream of notes taken when installing CF using bosh-lite on a fresh Ubuntu 14.04 build.
sudo apt-get update
sudo apt-get dist-upgrade
install bosh deps
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties unzip
install bosh cli
sudo gem install bosh_cli
clone bosh-lite
git clone https://github.com/cloudfoundry/bosh-lite
download latest vagrant deb
sudo dpkg -i /tmp/vagrant…deb
install virtualbox
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" >> /etc/apt/sources.list.d/virtualbox.list’
sudo apt-get update
sudo apt-get install virtualbox
Start vagrant and target it with bosh TIP: update Vagrant file to share /Vagrant and use 16G memory
cd bosh-lite
vagrant up —provider=virtualbox
bosh target 192.168.50.4 lite
add routes
bin/add-route
deploy cf Download latest spiff from here and copy to /usr/local/bin
cd ~
git clone https://github.com/cloudfoundry/cf-release
cd bosh-lite
./bin/provision_cf
install golang
apt-get install -y golang
download and run acceptance tests
cd ~
mkdir -p ~/go
export GOPATH=~/go
cat > integration_config.json <<EOF
{
"api": "api.10.244.0.34.xip.io",
"admin_user": "admin",
"admin_password": "admin",
"apps_domain": "10.244.0.34.xip.io”,
“skip_ssl_validation”: true
}
EOF
export CONFIG=$PWD/integration_config.json
curl -Lqs "https://cli.run.pivotal.io/stable?release=linux64-binary&source=github" | tar -C /tmp -xvzf -
sudo mv /tmp/cf /usr/local/bin
go get github.com/cloudfoundry/cf-acceptance-tests
cd ~/go/src/github.com/cloudfoundry/cf-acceptance-tests
./bin/test
install cf-services-contrib-release
cd
git clone https://github.com/cloudfoundry-community/cf-services-contrib-release
bosh upload release https://cf-contrib.s3.amazonaws.com/boshrelease-cf-services-contrib-6.tgz
bosh -n deploy
cf create-service-auth-token rabbitmq core <TOKEN> //authorize service look yml generated in temp for it
create rabbitmq service
cf create-service rabbitmq default my-rabbit