Last active
June 1, 2016 11:13
-
-
Save dirkk0/2037108 to your computer and use it in GitHub Desktop.
Installing Cloud9 on Amazon EC2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 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
thanks for the writeup! I had to make these changes: