Last active
April 7, 2018 04:15
-
-
Save jreiher2003/2846c63578496f7eb483e5a924f79b0e to your computer and use it in GitHub Desktop.
Server config vagrant
This file contains 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
#!/usr/bin/env bash | |
sudo apt-get update -y | |
sudo apt-get autoremove -y | |
sudo apt-get upgrade -y | |
sudo apt-get install python-pip -y | |
sudo apt-get install python-virtualenv -y | |
sudo apt-get install python-dev -y | |
sudo apt-get install libpq-dev -y | |
sudo apt-get install build-essential -y | |
sudo apt-get install git -y | |
sudo apt-get install libpq-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev -y | |
sudo apt-get install autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus libgle3 -y | |
sudo apt-get install postgresql-9.3 | |
#sudo -i -u postgres | |
#createdb menu | |
#createuser -P -e -s jeff | |
#psql menu | |
#grant all privileges on database menu to jeff; | |
wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash | |
wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh | |
wget https://www.udacity.com/api/nodes/3333158951/supplemental_media/bash-profile-course/download | |
cat download >> .bashrc | |
rm download | |
git config --global user.name "Jeff Reiher" | |
git config --global user.email "[email protected]" | |
git config --global push.default upstream | |
git config --global merge.conflictstyle diff3 | |
git config --global credential.helper 'cache --timeout=10000' | |
git config --global core.autocrlf true | |
echo "set up complete" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment