- Install Xcode command line tools:
xcode-select --install - Install bosh cli:
gem install bosh_cli - Install vagrant
- mkdir workspace
- cd workspace
- git clone https://github.com/cloudfoundry/bosh-lite.git
- Install Virtualbox
- cd bosh-lite
- vagrant up (This will download and run your ubuntu virtual machine in virtualbox using the vagrantfile in the same directory you run this command).
export no_proxy=192.168.50.4,xip.iobosh target 192.168.50.4 litebosh login (use admin/admin for username/password)bin/add-route- Install spiff (you may need homebrew if you still don't have it)
cd ~/workspacegit clone https://github.com/cloudfoundry/cf-release- cd bosh-lite
./bin/provision_cf
If everything goes well, after the installation you can login to your cf instance as follow;
cf api --skip-ssl-validation https://api.10.244.0.34.xip.io
Then you can authenticate yourself by running;
cf login
and use admin/admin for username and password. Once you logged in you can create org, space and push applications, services with no cost :-).Once you're done, give yourself a moment and think about the fact that you're running a cloud in your local machine. You've gone really far. Thanks cloud foundry and the open source community! You may also want to try Bluemix (PaaS offering of IBM) which runs in cloud foundry
.
No comments:
Post a Comment