forked from paveldanilin/grafana-csv-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev_install.sh
More file actions
30 lines (26 loc) · 704 Bytes
/
Copy pathdev_install.sh
File metadata and controls
30 lines (26 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
yum update -y
yum install -y wget
yum install -y git
curl -sL https://rpm.nodesource.com/setup_12.x | bash -
echo "***************"
echo "Update node...."
echo "***************"
yum clean all && yum makecache fast
yum install -y gcc-c++ make
yum install -y nodejs
echo "*************"
echo "Node updated!"
echo "*************"
echo ""
echo "******************"
echo "Install golang...."
echo "******************"
wget https://dl.google.com/go/go1.14.linux-amd64.tar.gz
tar -xzf go1.14.linux-amd64.tar.gz
mv go /usr/local
export PATH=$PATH:/usr/local/go/bin
echo "******************************"
echo "Golang 1.14 has been installed!"
echo "******************************"
echo ""