This vendorization uses the new set of API changes which we are brought in. With this new change Bucket regions are handled transparently without any region lookup or local map. This makes overall code seamless and easy to use. Fixes - #1541 (cp corruption while uploading large files to s3) Fixes - #1542 (cp checkCopySyntax failed) Fixes - #1537 (regions will be handled seamelessly now for all buckets) Fixes - #1538 (fixes access control policy for google cloud storage) Fixes - #1547 (session resume completes without copying all the files) Fixes - #1559 (poor network connectivity, causes timing out)
87 lines
1.8 KiB
Markdown
87 lines
1.8 KiB
Markdown
## Ubuntu (Kylin) 14.04
|
|
### Build Dependencies
|
|
This installation guide is based on Ubuntu 14.04+ on x86-64 platform.
|
|
|
|
##### Install Git, GCC
|
|
```sh
|
|
$ sudo apt-get install git build-essential
|
|
```
|
|
|
|
##### Install Go 1.5+
|
|
|
|
Download Go 1.5+ from [https://golang.org/dl/](https://golang.org/dl/).
|
|
|
|
```sh
|
|
$ wget https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz
|
|
$ mkdir -p ${HOME}/bin/
|
|
$ mkdir -p ${HOME}/go/
|
|
$ tar -C ${HOME}/bin/ -xzf go1.5.1.linux-amd64.tar.gz
|
|
```
|
|
##### Setup GOROOT and GOPATH
|
|
|
|
Add the following exports to your ``~/.bashrc``. Environment variable GOROOT specifies the location of your golang binaries
|
|
and GOPATH specifies the location of your project workspace.
|
|
|
|
```sh
|
|
export GOROOT=${HOME}/bin/go
|
|
export GOPATH=${HOME}/go
|
|
export PATH=$PATH:${HOME}/bin/go/bin:${GOPATH}/bin
|
|
```
|
|
|
|
##### Source the new environment
|
|
|
|
```sh
|
|
$ source ~/.bashrc
|
|
```
|
|
|
|
##### Testing it all
|
|
```sh
|
|
$ go env
|
|
```
|
|
|
|
## OS X (Yosemite) 10.10
|
|
### Build Dependencies
|
|
This installation document assumes OS X Yosemite 10.10+ on x86-64 platform.
|
|
|
|
##### Install brew
|
|
```sh
|
|
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
|
```
|
|
|
|
##### Install Git, Python
|
|
```sh
|
|
$ brew install git python
|
|
```
|
|
|
|
##### Install Go 1.5+
|
|
|
|
Install golang binaries using `brew`
|
|
|
|
```sh
|
|
$ brew install go
|
|
$ mkdir -p $HOME/go
|
|
```
|
|
|
|
##### Setup GOROOT and GOPATH
|
|
|
|
Add the following exports to your ``~/.bash_profile``. Environment variable GOROOT specifies the location of your golang binaries
|
|
and GOPATH specifies the location of your project workspace.
|
|
|
|
```sh
|
|
export GOPATH=${HOME}/go
|
|
export GOVERSION=$(brew list go | head -n 1 | cut -d '/' -f 6)
|
|
export GOROOT=$(brew --prefix)/Cellar/go/${GOVERSION}/libexec
|
|
export PATH=$PATH:${GOPATH}/bin
|
|
```
|
|
|
|
##### Source the new environment
|
|
|
|
```sh
|
|
$ source ~/.bash_profile
|
|
```
|
|
|
|
##### Testing it all
|
|
```sh
|
|
$ go env
|
|
```
|