Skip to content

Installing the HP Cloud CLI on Ubuntu 11.10

After some initial trial and error, I was able to successfully install the HP Cloud CLI on Ubuntu 11.10 Desktop (64-Bit). It’s not a necessarily difficult task to complete, but knowing all of the needed dependencies and steps from the start can speed things up dramatically. With the below guide, you should be able to be up and running in 5 minutes or less.

1.) First, we’ll add some needed dependencies:

sudo apt-get install curl git-core build-essential libssl-dev libreadline5 libxml2-dev libxslt1-dev

2.) Next, let’s install RVM, the Ruby Version Manager. We’ll be using this to install Ruby instead of doing it via apt-get. (Note: You need to execute this, and all of the additional commands below, as your local user and *not* the root user.)

Read More »

Categories: Cloud Computing, Linux.

Tags: , , , , , ,

Option to NOT save PPTP VPN Password (Ubuntu 11.10)

If you are running Ubuntu 11.10 and are using Network Manager to connect to a PPTP VPN, you may notice that once you enter a password, it is auto-saved for future use. Mysteriously, there isn’t a check box to NOT save the password. If you are connecting to the VPN with a 2-factor authentication system (such as OATH which generates a unique pin-code with each login), you have to manually re-edit the configuration file each time. That’s a huge pain.

Anyway, here is the quick fix. Simply open the VPN configuration script:

nano -w /etc/NetworkManager/system-connections/[your_vpn_name]

and change “password-flags=0″ to “password-flags=2″.

That’s it! I googled for several days (literally) until I found this bug report covering the issue. Either I’m a bad Googler (fact), or lots of information isn’t readily available on this topic. I hope this helps someone in need.

Categories: Linux.

Tags: , , , , ,

Installing the HP Cloud CLI on Mac OS X 10.7

Installing the HP Cloud Services CLI is a simple proposition on your Mac as long as you don’t over-think it (like I did the first time). No, you don’t need to worry about getting the latest version of Ruby with RVM or the latest version of the Gem framework on your system. The versions which come with Mac OS X Lion work just fine, even despite the Gem version being a point release behind what’s quoted as required.

OPTIONAL: Before we progress, I strongly encourage you to consider installing Xcode and Homebrew. While both of these are not explicitly needed for getting the CLI up and running, they are extremely helpful in bringing common UNIX tools to your Mac, such as wget, nmap, etc. We’ll be using wget further down in this tutorial.

Read More »

Categories: Apple / Mac, Cloud Computing.

Tags: , , , , , , , , , ,

Cloud Foundry CLI (VMC) Setup on Debian Squeeze

For the those of you who, like me, are new to Cloud Foundry and Ruby development, deploying your first Cloud Foundry Ruby application via VMC can be unnecessarily frustrating. The trouble stems mostly from sparse information scattered across the Internet and *especially* from incomplete and partially incorrect documentation provided by VMware when you sign up for a Cloud Foundry Beta account.

In this post, we aim accomplish the following things:

  1. Get your system ready with the pre-requisites for the Cloud Foundry CLI
  2. Install VMC (the CLI)
  3. Create and deploy a simple Ruby app
  4. Test and verify

Read More »

Categories: Cloud Computing, Linux.

Tags: , , , , ,

7 Quick Tweaks for Mac OS X Lion

Lion is a welcome progression in the Mac OS X family. It, however, has changed the way a few things work from Snow Leopard and before, so I’ve compiled seven quick tweaks I like to perform.

1.) Unhide the Library folder for your particular user account:

chflags nohidden ~/Library/

2.) Easily install Java SE 6:

java -v

3.) Turn off window-restore when quitting and re-opening apps:
Apple Menu -> System Preferences -> General

Read More »

Categories: Apple / Mac.

Tags: , , ,