Permalink
Browse files

Added manual install scripts for node and java

  • Loading branch information...
1 parent daf86a5 commit 9c3acf2eba59f200a32ea866c6a1c3cf8dfc2078 @tlpinney committed Feb 26, 2012
Showing with 17 additions and 0 deletions.
  1. +3 −0 extra/java_install.sh
  2. +14 −0 extra/node_install.sh
View
@@ -0,0 +1,3 @@
+wget https://raw.github.com/flexiondotorg/oab-java6/master/oab-java6.sh
+chmod a+x oab-java6.sh
+sudo ./oab-java6.sh
View
@@ -0,0 +1,14 @@
+
+if [ ! -f "/home/vagrant/node_install.log" ]; then
+cd /home/vagrant && wget http://nodejs.org/dist/v0.6.11/node-v0.6.11.tar.gz && tar xzf node-v0.6.11.tar.gz && cd node-v0.6.11 && ./configure && make && sudo make install && touch /home/vagrant/node_install.log
+else
+echo "nodejs already installed!"
+fi
+
+if [ ! -f "/home/vagrant/npm_install.log" ]; then
+cd /home/vagrant && sudo curl http://npmjs.org/install.sh | sudo sh && touch /home/vagrant/npm_install.log
+else
+echo "npm already installed!"
+fi
+
+

0 comments on commit 9c3acf2

Please sign in to comment.