linux centos64位安装golang语言环境

2014-12-11 13:05 来源:www.chinab4c.com 作者:golang专家

   linux centos64位安装golang语言环境,配置centos下面的golang beego开发环境

wget http://www.golangtc.com/static/go/go1.4.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.4.linux-amd64.tar.gz
mkdir -p /home/go
export GOROOT=/usr/local/go
export GOBIN=$GOROOT/bin
export GOPATH=/home/go
export PATH=$PATH:$GOBIN:$GOPATH
source /etc/profile

  来源:http://www.chinab4c.com