Update node to version 6.9.5

This commit is contained in:
Johannes Zellner 2017-02-07 11:36:50 +01:00
parent e2d58c1870
commit 4d068d32b0

View File

@ -40,10 +40,10 @@ sudo -u ubuntu git config --global user.email e2etest@cloudron.io
# install node LTS # install node LTS
apt-get install -y python-software-properties python g++ make apt-get install -y python-software-properties python g++ make
mkdir -p /usr/local/node-4.2.2 mkdir -p /usr/local/node-6.9.5
curl -sL https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-x64.tar.gz | tar zxvf - --strip-components=1 -C /usr/local/node-4.2.2 curl -sL https://nodejs.org/dist/v6.9.5/node-v6.9.5-linux-x64.tar.gz | tar zxvf - --strip-components=1 -C /usr/local/node-6.9.5
ln -sf /usr/local/node-4.2.2/bin/node /usr/bin/node ln -sf /usr/local/node-6.9.5/bin/node /usr/bin/node
ln -sf /usr/local/node-4.2.2/bin/npm /usr/bin/npm ln -sf /usr/local/node-6.9.5/bin/npm /usr/bin/npm
npm config set prefix /usr/local npm config set prefix /usr/local
# copy ssh certs # copy ssh certs