安裝go 1.5 & 部署

石橋碼農發表於2015-08-25

https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz


tar -C /usr/local -xzf go1.5.linux-amd64.tar.gz

vim $HOME/.profile

export PATH=$PATH:/usr/local/go/bin
export GOPATH=/work/apps/go

source $HOME/.profile

go env


go run server.go > /dev/null 2>&1 &