1. wget https://golang.org/doc/install?download=go1.5.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.5.1.linux-amd64.tar.gz
2.sudo apt-get install git
3.apt-get install mercurial
4./etc/profile
export PATH=$PATH:/usr/local/go/binexport GOPATH=/usr/local/go/gocodeexport PATH=$PATH:$GOPATH/bin
5.go get github.com/chrislusf/seaweedfs/go/weed ((此处需要vpn))