Skip to content

Instantly share code, notes, and snippets.

@ubinix-warun
Last active July 25, 2016 00:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save ubinix-warun/5428811 to your computer and use it in GitHub Desktop.
Save ubinix-warun/5428811 to your computer and use it in GitHub Desktop.
Install Cloud9 IDE on Ubuntu 12.04, Raspberry Pi
cd ~
sudo npm install -g sm
sudo apt-get install git-core libxml2-dev
git clone https://github.com/ajaxorg/cloud9.git cloud9
cd ./cloud9
sudo sm install
...
sudo su
apt-get install build-essential
cd /usr/local/src
wget http://nodejs.org/dist/v0.8.19/node-v0.8.19.tar.gz
tar zxvf node-v0.8.19.tar.gz
cd node-v0.8.19
./configure
make
...
make install
...
node --version
v0.8.19
npm --version
1.2.10
exit
mkdir ~/workspace
cd ~/cloud9
bin/cloud9.sh -l 0.0.0.0 -p 3131 -w ~/workspace --username sample --password sample
@bassybeats
Copy link

If you get to
apt-get install build-essential and fails change ubuntu source list
nano /etc/apt/sources.list (the NZ sourcelists failed)

If you get here
sudo sm install and fails run
sudo npm cache clear

After that worked a charm!!

@chintanp
Copy link

What is the current status of this ? git cloning results in nothing, as the master branch is made empty.

@CalebMcIvor
Copy link

CalebMcIvor commented Jun 24, 2016

to fix cloud9 git downloading empty repository run this instead.
git clone https://github.com/c9/core cloud9

EDIT
git clone https://github.com/c9/core cloud9
cd cloud9
./scripts/install-sdk.sh

to run server enter
node server.js -p 8181 -l 0.0.0.0 -a :

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