yum -y install mercurial
yum -y install git
yum -y gcc
准备golang的包
1.4
http://vdisk.weibo.com/s/dWapX678kW3f?category_id=37&parents_ref=dWapX678rPV7
tar xf go1.4.linux-amd64.tar.gz
vim /etc/profile
export GOROOT=/usr/local/go
export PATH=$GOROOT/bin:$PATH
export GOPATH=/usr/local/go/pkg
source /etc/profile
验证
go version
时间: 2024-10-13 10:40:24