Install Go1.8.1 on CentOS 7

Install Go1.8.1 on CentOS 7

The latest version of Go is Go1.8.1. The following is the installation process for Centos 7.

1. Get Go 1.8.1

 wget https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz tar zxvf go1.8.1.linux-amd64.tar.gz mv go /usr/local/

2. Install Go1.8.1

 vi /etc/profile

Add at the end

 export GOROOT=/usr/local/go export GOBIN=$GOROOT/bin export GOPKG=$GOROOT/pkg/tool/linux_amd64 export GOARCH=amd64 export GOOS=linux export GOPATH=/home/pan/gopath #我的文件目錄export PATH=.:$PATH:$GOBIN:$GOPKG

save.
Refresh to make it take effect.

 source /etc/profile

test:

 go version

<<:  BudgetNode: $24/year/1GB memory/20GB space/1TB traffic/KVM/Netherlands/Miami

>>:  RareServers: $40/month/W3520/16GB RAM/4TB HDD/unlimited traffic/16 IP/Canada/France

Recommend

VENETX: $3.99/month/1.5GB memory/25GB space/unlimited traffic/OpenVZ/Los Angeles

VENETX was founded in September 2014 and is a sub...

3proxy: VPS establishes SSL proxy

3proxy is an anonymous proxy program that uses SS...

Christmas discount information summary

1. MediaTemple Christmas promotion code: HOLIDAY2...

vpsdime: $7/month/4 CPUs/6GB RAM/30GB space/2TB bandwidth/OpenVZ

vpsdime, which has been introduced many times on ...

Linode installation windows system graphic tutorial

Linode has changed its entire line to KVM, and ha...

Krypt ION 1GB RAM SSD Hard Drive Los Angeles CN2 GT KVM VPS Review

Details : Krypt ION: $2.5/month/1GB RAM/25GB SSD ...

【Double 11】Micro-based host: a late Double 11 event

Part 1: Top-up Offers WIKIHOST recharge balance e...

CrownCloud: $25/half year/512MB memory/500GB space/3TB traffic/KVM/Germany

CrownCloud, a US hosting provider, has been opera...