Hi I have a headless ubuntu server and would like to install some sort of cloud9 like IDE - any suggestions with instructions?
Code highlighting and hinting would be excellent. This is for mainly PHP development.
I recommend Codiad - dark theme, git, terminal, easy setup without big dependencies.
For the benefit of others stumbling onto this question and the answers, this is a fast moving target, because development in all dependent technologies is rapidly changing.
I don't think there is any need to go through the manual process of building rvm/npm anymore. Most distros now ship with decent versions of those tools and even nodejs itself.
So, best to do a quick review of the requirements at their github site .. and follow their lead in deploying cloud9.
For me, the steps that have worked (ubuntu 12.04, xfce) are as follows:
All the above completed successfully without errors. The npm install does take a while because it builds all required dependencies.
The following is taken verbatim from the cloud9 website, and it works as stated:
I just installed cloud9 IDE yesterday (and tried the whole last week) on ubuntu server 12.04, it's kind of tricky, but I figured out how to do it (with the help of http://www.samclarke.com/2012/07/how-to-install-cloud-9-ide-on-ubuntu-12-04-lts-precise-pangolin/).
If you have nodejs installed, you first have to uninstall it and you need to install some extra packages:
You should create a new user called "cloud9" for example
Install the node version manager (nvm) in the home directory of cloud9 by using:
Now install nodejs 0.8.23 using nvm:
Install sourcemint via npm:
Clone the cloud9 git repository into the home directory of cloud9:
Change into the directory "cloud9" and run sourcemint:
Now you can start cloud9 with ~/cloud9/bin/cloud9.sh.
To automatically start cloud9 you need a script:
The script has to have executable permissions!
You can start the server at startup by adding the following line to /etc/rc.local:
If you want cloud9 to be accessible on port 80 add the following to your virtualhost entry in apache2:
(maybe / and http://... need to be the other way round, I'm not sure)
Then enable the mod_proxy module of apache2:
And restart apache2:
That's it, now you have a working installation of cloud9 on ubuntu server!