-
-
Save stormwild/708f10935d926b06ea7311005aa23797 to your computer and use it in GitHub Desktop.
Installing Cloud9 on Amazon EC2 (revisted, Cloud9 v0.7)
This file contains hidden or 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
| sudo apt-get update | |
| # get ec2 ip and hostname | |
| sudo apt-get install -y build-essential g++ libssl-dev apache2-utils git libxml2-dev screen | |
| #install node | |
| git clone https://github.com/joyent/node.git | |
| # git checkout v0.10.13 did work once, but I couldn't work again, so I fell back to 0.8 | |
| #compilation takes over 30 minutes on a t1.micro | |
| cd node; git checkout v0.8.22; ./configure; make; sudo make install; cd .. | |
| sudo npm install -g sm | |
| sudo /usr/local/lib/node_modules/sm/bin/sm install-command | |
| # version 0.7 | |
| git clone https://github.com/ajaxorg/cloud9.git | |
| cd cloud9; sudo npm install | |
| screen -S cloud9server -L -dm bash -c "cd cloud9; sudo ./bin/cloud9.sh -l 0.0.0.0 -p 8000" | |
| # now browse to http://[EC2_EXERNAL_IP]:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment