Skip to content

Setup an EC2 AWS instance with Git, Python (Miniconda), Emacs, and aliases in ~/.bash_profile

Notifications You must be signed in to change notification settings

druogury/aws-ec2-setup

Repository files navigation

aws-ec2-setup

Setup an EC2 AWS instance with Git, Python (Miniconda), Emacs, and aliases in ~/.bash_profile

Manual setup

  1. Install git
sudo apt-get install -y python-software-properties && \
# http://lifeonubuntu.com/upgrading-ubuntu-to-use-the-latest-git-version/
sudo add-apt-repository -y ppa:git-core/ppa && \
sudo apt-get update && \
sudo apt-get install -y git && \
git --version
  1. Create SSH key and add it to GitHub account
ssh-keygen -t rsa -q -N "" -f ~/.ssh/id_rsa && cat ~/.ssh/id_rsa.pub
  1. Clone repo with setup script
mkdir proj && cd proj && git clone [email protected]:druogury/aws-ec2-setup.git
  1. Run install scripts
cd ~/proj/aws-ec2-setup/ && ./setup_ec2.bash
  1. Clone working repo
# cd ~/proj && git clone [email protected]:druogury/apps-embedding.git
cd ~/proj && git clone [email protected]:Ogury/lab-apps-iab-categorization.git

From private Docker image

  1. Install Docker following the script

  2. Download the Docker image

sudo docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PWD
sudo docker pull drudocker/ogury-dev-tools
  1. Run a Docker container inside a tmux
tmux new -s dckr
sudo docker run -it drudocker/ogury-dev-tools /bin/bash

Shutdown

sudo shutdown now

About

Setup an EC2 AWS instance with Git, Python (Miniconda), Emacs, and aliases in ~/.bash_profile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages