本方式在Centos 7测试下成功。
1、博得 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/fubitechal/
2、部署Go1.8.1
vi /etc/profile
在最后进入
export GOROOT=/usr/fubitechal/go
export GOBIN=$GOROOT/bin
export GOPKG=$GOROOT/pkg/tool/linux_amd64
export GOARCH=amd64
export GOOS=linux
export GOPATH=/home/pan/gopath #伏笔VPS的文件目录
export PATH=.:$PATH:$GOBIN:$GOPKG
save,并执行command使其见效。
source /etc/profile
3、检查
go version
希望以上的文章对各位有用,如果觉得不错给我点个喜欢吧!更多和Centos7安装Go1.8.1版本方法相关的问题或者对亚特兰大主机 慢有疑惑也欢迎大家咨询。
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Lighttpd
Andre Bogus / Packt Publishing / 2008-10 / 39.99
This is your fast guide to getting started and getting inside the Lighttpd web server. Written from a developer's perspective, this book helps you understand Lighttpd, and get it set up as securely an......一起来看看 《Lighttpd》 这本书的介绍吧!
图片转BASE64编码
在线图片转Base64编码工具
UNIX 时间戳转换
UNIX 时间戳转换