Skip to content

Instantly share code, notes, and snippets.

@jmkelly
Last active May 18, 2017 01:16
Show Gist options
  • Save jmkelly/e10c5a412ffc6ad827617940caf0f554 to your computer and use it in GitHub Desktop.
Save jmkelly/e10c5a412ffc6ad827617940caf0f554 to your computer and use it in GitHub Desktop.
#!/bin/bash
#First you update your system
sudo apt-get -y update
#install postgresql-9.6 sources
touch /etc/apt/sources.list.d/pgdg.list
echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" >> /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
sudo apt-key add -
#get .net core sources
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
sudo apt-get update
sudo apt-get install -y postgresql-9.6 git dotnet-dev-1.0.4 vim
#install visual studio code for development
wget --quiet https://go.microsoft.com/fwlink/?LinkID=760868
sudo dpkg -i vscode-amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment