Skip to content

Instantly share code, notes, and snippets.

@varas
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save varas/162c6599a283be5d8713 to your computer and use it in GitHub Desktop.
Save varas/162c6599a283be5d8713 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo -e "\e[1;33mAdd multiverse repo\e[0m"
sudo add-apt-repository multiverse
sudo apt-get update
echo -e "\e[1;33mInstall common dependencies\e[0m"
sudo apt-get install python python-pip python-dev git ruby ruby-dev build-essential
echo -e "\e[1;33mInstall virtualbox\e[0m"
sudo apt-get install virtualbox-guest-utils virtualbox-guest-dkms virtualbox
echo -e "\e[1;33mDownload Vagrant package\e[0m"
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb -O /tmp/vagrant_1.6.5_x86_64.deb
echo -e "\e[1;33mInstall Vagrant package\e[0m"
sudo dpkg -i /tmp/vagrant_1.6.5_x86_64.deb
rm /tmp/vagrant_1.6.5_x86_64.deb
echo -e "\e[1;33mInstall Ubuntu Vagrant base image\e[0m"
vagrant box add ubuntu/trusty64 --force
echo -e "\e[1;33mInstall virtualenv\e[0m"
sudo pip install virtualenv
echo -e "\e[1;33mInstall virtualenvwrapper\e[0m"
sudo pip install virtualenvwrapper
echo "export WORKON_HOME=$HOME/.virtualenvs" >> ~/.bashrc
echo "export PROJECT_HOME=$HOME/projects" >> ~/.bashrc
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc
echo -e "\e[1;33mInstall ansible\e[0m"
sudo aptitude install ansible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment