adamkdean

software engineering

RDP via OpenSSH

By Adam K Dean on

I wrote about connecting to RDP over SSH, but that relied upon PuTTY. As I'm now using OSX, I have access to OpenSSH. This makes things easier.

ssh -L <localport>:<remotehost>:<remoteport> <sshserver>

For example:

ssh -L 8001:192.168.0.1:3389 adamkdean.co.uk

Now you can connect to local port 8001 with RDP.

Install Docker on OSX

By Adam K Dean on

To install Docker on OSX, you're going to need to install a few prerequisites.

  1. Install Homebrew.
  2. Install VirtualBox.
  3. Install Vagrant.

Now we can finally install Docker. We also need to install boot2docker.

brew install docker
brew install boot2docker
boot2docker init
boot2docker up
export DOCKER_HOST=tcp://localhost:2375

And test it:

docker version

Bear in mind that if boot2docker has a different port than 2375, use the correct one, and don't put a trailing slash either.

Install Vagrant on OSX

By Adam K Dean on

We're going to install Vagrant on OSX using Homebrew.

If you don't already have it, install Homebrew on OSX.

Once you have it installed, install Vagrant like so:

brew install caskroom/cash/brew-cask
brew cask install vagrant

Simples.

Install VirtualBox on OSX

By Adam K Dean on

We're going to install VirtualBox on OSX using Homebrew.

If you don't already have it, install Homebrew on OSX.

Once you have it installed, install VirtualBox like so:

brew install caskroom/cash/brew-cask
brew cask install virtualbox

Easy peasy.

Install Homebrew on OSX

By Adam K Dean on

To install Homebrew on OSX, simply run this command in your terminal:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Now test it works:

brew --version

Before using it to install anything, be sure to quickly run:

brew doctor

For more information on Homebrew, visit the Homebrew wiki.