Skip to content

Instantly share code, notes, and snippets.

@mslinn
Last active July 15, 2022 19:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mslinn/6787adefaae0b3af30d84c1ecafbd67e to your computer and use it in GitHub Desktop.
Save mslinn/6787adefaae0b3af30d84c1ecafbd67e to your computer and use it in GitHub Desktop.
Install AWS Cloud9 on an Ubuntu 20.04 server external to AWS
# Log into your Ubuntu machine then follow these directions
# First allow Cloud9 to ssh to your machine using your account:
# https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment-ssh.html
# Install required dependencies
if [ -z `which virtualenv` ]; then
sudo pip install virtualenv
fi
if [ -z `apt -qq list libevent-dev 2> /dev/null | grep installed` ]; then
yes | sudo apt install libevent-dev
fi
# Manually install Cloud9 in ~/.c9
# From https://docs.aws.amazon.com/cloud9/latest/user-guide/installer.html
curl -L https://raw.githubusercontent.com/c9/install/master/install.sh | bash
wget -O - https://raw.githubusercontent.com/c9/install/master/install.sh | bash
# Now visit https://console.aws.amazon.com/cloud9 and have fun with Cloud9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment