Blogger Information
Blog 65
fans 1
comment 1
visits 118884
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
centos7.2 安装go 环境
技术宅的博客
Original
1585 people have browsed it
  1. 1. wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz #下载go安装包
  2. 2. tar -xzvf go1.13.4.linux-amd64.tar.gz #解压安装包
  3. 3. vim /etc/profile #编辑保存以下内容 根据自己实际情况来定义目录
  4. 4. export GOROOT=/usr/local/go #GO 安装的目录
  5. export PATH=$PATH:$GOROOT/bin
  6. export GOPATH=/root/go #你的项目目录
  7. export PATH=$PATH:$GOPATH/bin #
  8. 5. source /etc/profile #生效配置
  9. 6. go version # go version go1.13.4 linux/amd64
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post