Skip to content

Instantly share code, notes, and snippets.

@JMSwag
Created August 24, 2015 02:21
Show Gist options
  • Save JMSwag/1503f1adb15dc514c4f2 to your computer and use it in GitHub Desktop.
Save JMSwag/1503f1adb15dc514c4f2 to your computer and use it in GitHub Desktop.
# Add bittorent sync repo
add-apt-repository ppa:tuxpoldo/btsync
# Update repo
apt-get update
# Upgrade server packages
apt-get dist-upgrade
# Install dev stuff
apt-get install -y build-essential btsync htop pbzip2 python-dev python-pip
# Install virtualenvwrapper
pip install virtualenvwrapper
# Write bash_profile & configure virtualenvwrapper
printf "if [ -f ~/.bashrc ]; then\n\tsource ~/.bashrc\nfi\n\nexport WORKON_HOME=$HOME/.virtualenvs\nsource /usr/local/bin/virtualenvwrapper.sh\nalias yt=youtube-dl\n" > .bash_profile
source .bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment