Skip to content

Instantly share code, notes, and snippets.

@Puriney
Last active April 1, 2016 02:26
Show Gist options
  • Save Puriney/1cdd97c954b96e2a7a99a17547645af8 to your computer and use it in GitHub Desktop.
Save Puriney/1cdd97c954b96e2a7a99a17547645af8 to your computer and use it in GitHub Desktop.
Set up new droplet
# create rootless, set up sudo user
# https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
sudo apt-get update
sudo apt-get install git
sudo apt-get install ruby
# install linux homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/linuxbrew/go/install)"
# vim ~/.bashrc
export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
sudo apt-get install htop
sudo apt-get install build-essential
# R language
sudo sh -c 'echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list'
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install r-base
sudo apt-get install r-base-dev
# spacemacs
brew install emacs
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
# copy https://gist.github.com/Puriney/5623401f6d7e220f66279c3edcd02e05 to ~/.spacemacs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment