Skip to content

Instantly share code, notes, and snippets.

@im-hanzou
Forked from ChristopherDosin/installc9.sh
Last active August 23, 2024 19:20
Show Gist options
  • Save im-hanzou/f5b80f5949ddf63b9445695a52916fb4 to your computer and use it in GitHub Desktop.
Save im-hanzou/f5b80f5949ddf63b9445695a52916fb4 to your computer and use it in GitHub Desktop.
Simple script to install Cloud9 on an Ubuntu Server
#!/bin/bash
# Simple script to install Cloud9 on an Ubuntu Server
apt-get update && apt-get install build-essential git nodejs npm python2 -y
curl -k https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py; python2 get-pip.py
git clone https://github.com/c9/core.git c9sdk
c9sdk/scripts/install-sdk.sh
#nodejs c9sdk/server.js -p 8080 -a -w ~~/your/directory/workspace
nodejs c9sdk/server.js -p 8080 -a user:pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment