From 6f892c7dbf5fb89eab629aa70b1e70ad29b86d6e Mon Sep 17 00:00:00 2001 From: "cam.lafit" Date: Fri, 6 May 2016 09:51:27 +0200 Subject: [PATCH] Prefer official node repository * Took from https://github.com/nodesource/distributions ** We need 0.12 version ** chris-lea PPA is an obsolete repository --- server_config/server_install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server_config/server_install.sh b/server_config/server_install.sh index 18fd4ed..f3e4c92 100644 --- a/server_config/server_install.sh +++ b/server_config/server_install.sh @@ -6,8 +6,7 @@ sudo apt-get install lsb-release libfontconfig1 libfreetype6 libjpeg-dev -y --fo sudo apt-get install curl git python-software-properties build-essential make g++ -y --force-yes # Installation of NodeJS -sudo add-apt-repository -y ppa:chris-lea/node.js -sudo apt-get update +curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash - sudo apt-get install -y nodejs source ~/.profile