Posted on Oct 20, 2011

CloudFoundry : zero to server in 7 steps

I’m talking to you vmware people. It’s time you downloaded and starting testing/deploying/building/breaking/hacking on cloudfoundry. This may be the coolest vmware project I’ve seen since ESX. seriously. I won’t go into how it could change application deployment on servers moving forward, or how it’ll help reshape the idea of application development altogether, there’s enough folks that are talking about that. I just want to see more of you getting your hands dirty with it.

But how do we get started quickly?

  1. download an Ubuntu 11.10 Server iso.

  2. Create a vm in vmware. I’ll assume you’re good there and skip that part.
  3. mount your new iso and install Ubuntu Server 11.10 server.
    when you get to package selection, do nothing. just do a minimal install.

  4. update and upgrade your system
    sudo apt-get update && sudo apt-get upgrade

  5. install a supporting package for step 6…
    sudo apt-get install python-software-properties

  6. add the cloudfoundry repositories
    sudo apt-add-repository ppa:cloudfoundry/ppa

  7. update and install cloudfoundry server
    sudo apt-get update && sudo apt-get install cloudfoundry-server
    During the install process you’ll be asked to set the root password for the mysql server that is installed as a dependency. You’ll also be asked for IP address information. This is information you’ll need to have if you want you installation to be publicly visible and is behind a firewall.

    Yea, it’s that easy.

    client install

    If you want to get the client installed on a different vm, follow the steps above on a fullblown Ubuntu to install the repositories (steps 5 and 6 above)

    Once that’s done it’s as easy as
    sudo apt-get install cloudfoundry-client
    to get the vmc installed.

    That should have all taken up about 15-20 minutes of your life, start to finish. (post downloads of course)

    Where to go from here?

    Dustin Kirkland has some great writeups about ubuntu and cloudfoundry so I recommend reading up on his blog here for some great examples.

    I’ll follow this up with some posts about wordpress and how to get it running in a cloudfoundry deployment soonish.

2 Comments

  • latoga says:

    Or you could just download the Micro-Cloud Foundry from: https://www.cloudfoundry.com/micro

    Just 3 steps (or 2 if you already have Fusion/Workstaiton/Player installed). It’s a preconfigured VM (1 GB RAM/8 GB Disk) with entire Cloud Foundry supported tools already installed. Run it locally for testing, then push your app up to the CloudFoundry.com site for “production” use.

  • theron says:

    @latoga: while that is easier, that micro cloud deployment isn’t built on ubuntu 11.10. That would be quicker to get started though. :)


× 1 = three