Last active
May 23, 2018 03:27
-
-
Save Surreal9/54b0321eb9f27b8609ca208a26c85f71 to your computer and use it in GitHub Desktop.
New ubuntu 18.04 - box setup w/ psql 9.6
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
sudo apt-get install -y tilix build-essential autoconf curl xclip git vim | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update && sudo apt-get install yarn -y | |
echo "deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \ | |
sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install postgresql-9.6 -y | |
sudo apt-get install postgresql-9.6-postgis-2.3 postgresql-contrib-9.6 postgresql-9.6-postgis-scripts -y | |
echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list | |
wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install resilio-sync -y | |
sudo systemctl enable resilio-sync | |
mkdir -p ~/sync/work | |
sudo setfacl -R -m "u:rslsync:rwx" /home/john | |
echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -L https://gist.github.com/Surreal9/54b0321eb9f27b8609ca208a26c85f71/raw | bash -s