-
-
Save dirkk0/5983271 to your computer and use it in GitHub Desktop.
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 |
That's great. Thanks
Hi, thanks for this post, I followed a couple others that didnt work so gave this a shot.
This did not work as they moved the c9 repo
- version 0.7
git clone https://github.com/ajaxorg/cloud9.git
cd cloud9; sudo npm install
so I followed the instructions in the moved page.
Everything seemed to run without a hitch
Then I ran this
screen -S cloud9server -L -dm bash -c "cd c9sdk; sudo ./bin/c9 -l 0.0.0.0 -p 8000"
and http://my-ec2-ip:8000/ just times out
This is what I see -
[email protected]:$ ps -fe|grep c9$ ls c9sdk/
hduser 3848 1 0 15:41 ? 00:00:00 SCREEN -S cloud9server -L -dm bash -c cd c9sdk; sudo ./bin/c9 -l 0.0.0.0 -p 8000
hduser 3849 3848 0 15:41 pts/9 00:00:00 bash -c cd c9sdk; sudo ./bin/c9 -l 0.0.0.0 -p 8000
root 3850 3849 0 15:41 pts/9 00:00:00 sudo ./bin/c9 -l 0.0.0.0 -p 8000
hduser 3924 3363 0 15:42 pts/5 00:00:00 grep --color=auto c9
and
[email protected]:
bin configs LICENSE node_modules package.json README.md scripts settings
build docs local npm-debug.log plugins screenlog.0 server.js test
I also tried borisbecker's suggestions still no avail.
Would appreciate any response to my predicament...thanks in advance !
Hi, thanks for the install steps! very useful! I'm running an ubuntu instance, and in my case before start the server I needed to run the following commands:
If not, the cloud9 server won't start because of the missing modules.
After few hours, the cloud9 server went down, but the process was still running.