Skip to content

Instantly share code, notes, and snippets.

@dirkk0
Last active June 1, 2016 11:13
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dirkk0/2037108 to your computer and use it in GitHub Desktop.
Save dirkk0/2037108 to your computer and use it in GitHub Desktop.
Installing Cloud9 on Amazon EC2
// WARNING - deprecated:
// use this one now: https://gist.github.com/dirkk0/5983271
// kudos to Frederic Cambus
// http://www.cambus.net/setting-up-a-node-js-development-environment-with-npm-and-cloud9-ide-installed-locally/
apt-get install build-essential g++ libssl-dev curl git
apt-get install libxml2-dev
apt-get install libssl0.9.8
export NODE_VERSION='0.6.8'
wget http://nodejs.org/dist/node-v$NODE_VERSION.tar.gz
tar xvfz node-v$NODE_VERSION.tar.gz
cd node-v$NODE_VERSION
./configure --prefix=~/local
make install
cd ~
curl http://npmjs.org/install.sh | sh
git clone git://github.com/ajaxorg/cloud9.git
# and change
# support/node-builds-v4/node-linux32 bin/cloud9.js "$@" -a x-www-browser
# to
# support/node-builds-v4/node-linux64 bin/cloud9.js "$@" -l mydomain.com
~/cloud9/bin/cloud9.sh
@subelsky
Copy link

subelsky commented Mar 1, 2013

thanks for the writeup! I had to make these changes:

export PATH=~/local/bin/:$PATH # so the install script can find node
curl https://npmjs.org/install.sh | sh # the install script now hosted on SSL, was confusing curl

@dirkk0
Copy link
Author

dirkk0 commented Jul 12, 2013

@subelsky you are right. I also forgot an 'npm install' somewhere.

Anyways - this script doesn't work anymore with the current cloud9 version, so I created another one here:
https://gist.github.com/dirkk0/5983271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment