Created
May 21, 2016 16:40
-
-
Save TwiN/66ca4d629987f5f6800fad948d5da725 to your computer and use it in GitHub Desktop.
First file I run when I install a ubuntu vm/vps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Updating.." | |
sudo apt-get update &> /dev/null | |
echo "Installing build-essential.." | |
sudo apt-get install build-essential &> /dev/null | |
echo "Installing python2.7-dev.." | |
sudo apt-get install python2.7-dev &> /dev/null | |
echo "Installing git.." | |
sudo apt-get install git &> /dev/null | |
echo "Installing vim.." | |
sudo apt-get install vim &> /dev/null | |
echo "Setting up vim.." | |
cd ~/.vim | |
echo " > Cloning TwinProduction/TwiNvimrc.git.." | |
sudo git clone https://github.com/TwinProduction/TwiNvimrc.git &> /dev/null | |
echo " > Placing files where they belong.." | |
sudo mv TwiNvimrc/vimrc /etc/vim/vimrc &> /dev/null | |
sudo rsync -av TwiNvimrc/* . &> /dev/null | |
sudo rm -rf TwiNvimrc &> /dev/null | |
echo "Setup complete!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment