sudo wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
tar -xzf go1.4.2.linux-amd64.tar.gz
export GOROOT=PATH_WHERE_YOU_EXTRACT_GO
export PATH=$PATH:$GOROOT/bin
export GOBIN=$GOROOT/bin
mkdir ~/golang/
export GOPATH=~/golang/
export PATH=$GOPATH/bin:$PATH
go get code.google.com/p/go-tour/gotour
gotour
export GOROOT=/home/ec2-user/go-14
export PATH=$PATH:$GOROOT/bin
export GOPATH=/home/ec2-user/
export PATH=$GOPATH/bin:$PATH
export GOBIN=/home/ec2-user/go-14/bin/
~/.bashrc
export GOROOT=/home/ec2-user/go-14
export PATH=$PATH:$GOROOT/bin
export GOPATH=/home/ec2-user/
export PATH=$GOPATH/bin:$PATH
export GOBIN=/home/ec2-user/go-14/bin/