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 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!