Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
code-build-env
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 715a7d3b
authored
Aug 14, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update build-env-set.sh
1 parent
2fe689ba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
build-env-script/build-env-set.sh
build-env-script/build-env-set.sh
View file @
715a7d3
...
...
@@ -2,11 +2,10 @@
#wangtingwei
npm_version
=
v8.9.3
nvm_version
=
v0.33.6
go_version
=
go1.13.4
home
=
root
###执行用户的家目录
echo
"###############################################下载go1
.13.4
#####################################"
wget https://
dl.google.com/go/
$go_version
.linux-amd64.tar.gz
tar -xvzf
$go_version
.linux-amd64.tar.gz -C /usr/local/
echo
"###############################################下载go1#####################################"
wget https://
2019-10-1.oss-cn-huhehaote.aliyuncs.com/other/go1.15
.linux-amd64.tar.gz
tar -xvzf
go1.15
.linux-amd64.tar.gz -C /usr/local/
echo
"################################################设置环境变量##################################"
echo
"export GOROOT=/usr/local/go"
>>/etc/profile
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment