Skip to content

Instantly share code, notes, and snippets.

@slv922
Forked from gbraad/install-c9-on-centos.md
Created March 15, 2017 16:04
Show Gist options
  • Save slv922/410c46ea0a6daa316920fc2b297d66d5 to your computer and use it in GitHub Desktop.
Save slv922/410c46ea0a6daa316920fc2b297d66d5 to your computer and use it in GitHub Desktop.
Install C9 on CentOS

Install C9 on CentOS as SSH remote workspace

To setup a SSH remote workspace for C9 on CentOS do the following on the host:

yum install git
git clone https://github.com/c9/core.git /opt/c9sdk
yum groupinstall "Development Tools"
yum install glibc-static
yum install tmux # or let it build a version
cd /opt/c9sdk/scripts
./install-sdk.sh

Go to http://c9.io/new and select SSH workspace. Add the key to ~/.ssh/authorized_keys for the user you allow access. As node executable refer to ~/.c9/node/bin/node

Note: I previously used the RPM packaged versions of node and npm, but it was not always succeeding. This might have been related to the network connection. This following these instructions the environment is immediately usable without having to do the install from the C9 workspace.

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