Capstan Installation

Pekka Enberg edited this page May 28, 2014 · 6 revisions

Binaries

Download and run Capstan for:

Sources

On Mac OS

  1. Install required packages
$ brew install go qemu git
  1. Setup environment variable
$ echo 'export GOPATH=$HOME/go'    >>  $HOME/.profile
$ echo 'export PATH=$PATH:$GOPATH/bin'  >> $HOME/.profile
$ source  $HOME/.profile
  1. Install capstan
$ go get github.com/cloudius-systems/capstan

On Linux

  1. Install required packages
$ wget http://go.googlecode.com/files/go1.2.1.linux-amd64.tar.gz
$ sudo tar -C /usr/local -xzf go1.2.1.linux-amd64.tar.gz
$ sudo yum install qemu-system-x86 git

Note: More go packages can be found here:

  1. Setup environment variable
$ echo 'export GOPATH=$HOME/go'  >>  $HOME/.profile
$ echo 'export PATH=$PATH:$GOPATH/bin:/usr/local/go/bin' >>  $HOME/.profile
$ source $HOME/.profile
  1. Install capstan
$ go get github.com/cloudius-systems/capstan

On Windows

This short video (4:48) describes installation on Windows 8.1:

Install capstan on Windows 8.1

  1. Download Git.

http://git-scm.com/download/win

  1. Install Git, using the "Use Git from the Windows Command Prompt" option.

  2. Download the Go Programming Language.

http://golang.org/doc/install

  1. Install the Go Programming Language.

  2. Download VirtualBox.

https://www.virtualbox.org/wiki/Downloads

  1. Install VirtualBox.

  2. Open Control Panel. Select "System and Security" -> "System" -> "Advanced system settings" -> "Environment Variables".

  3. Select New on "User variables". Enter the following values:

Variable name: Path
Variable value: %USERPROFILE%\Go\bin;C:\Program Files\Oracle\VirtualBox
  1. Select New on "User variables" again. Enter the following values:
Variable name: GOPATH
Variable value: %USERPROFILE%\Go
  1. Open Command Prompt, and run the following command:
go get github.com/cloudius-systems/capstan

This will install Capstan. When it's finished, Capstan is ready to run.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.