瀏覽代碼

Update the vagrant box and Node version

Gaël Métais 8 年之前
父節點
當前提交
49b460eee3
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Vagrantfile
  2. 1 1
      server_config/server_install.sh

+ 1 - 1
Vagrantfile

@@ -1,6 +1,6 @@
 Vagrant.configure("2") do |config|
 
-  config.vm.box = "ubuntu/precise64"
+  config.vm.box = "ubuntu/trusty64"
 
   config.vm.network :private_network, ip: "10.10.10.10"
   config.ssh.forward_agent = true

+ 1 - 1
server_config/server_install.sh

@@ -6,7 +6,7 @@ sudo apt-get install lsb-release libfontconfig1 libfreetype6 libjpeg-dev -y --fo
 sudo apt-get install curl git software-properties-common build-essential make g++ -y --force-yes > /dev/null 2>&1
 
 # Installation of NodeJS
-curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -
+curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
 sudo apt-get install -y nodejs > /dev/null 2>&1
 source ~/.profile