Go + Node
Go
Go installation (Debian) , installer la dernière version de Go → https://golang.org/dl/
cd ~
wget https://golang.org/dl/go1.15.7.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.15.7.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc
source ~/.bashrc
Version
go version
go version go1.15.7 linux/amd64
Nodejs
Installer la version LTS de nodejs pour le frontend → https://github.com/nodesource/distributions#debinstall
Version Node.js v15.x au 29 janvier 2021
# Using Debian, as root
sudo -s
curl -sL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs
Version Node.js LTS (v14.x) au 29 janvier 2021
# Using Debian, as root
sudo -s
curl -sL https://deb.nodesource.com/setup_lts.x | bash -
apt-get install -y nodejs
Versions
node --version
v14.14.0
npm --version
6.14.8
PRÉCÉDENTInfluxDB Telegraf Grafana NEW