Skip to content

Instantly share code, notes, and snippets.

@peterjaffray
Last active November 7, 2021 17:02
Show Gist options
  • Save peterjaffray/6898ba3ab3584766cacaaa81f572f5a3 to your computer and use it in GitHub Desktop.
Save peterjaffray/6898ba3ab3584766cacaaa81f572f5a3 to your computer and use it in GitHub Desktop.
Ubuntu Impis Bootstrap Recipie
sudo do-release-upgrade
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
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt install curl gnupg2 ca-certificates lsb-release ubuntu-keyring
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
gpg --dry-run --quiet --import --import-options import-show /usr/share/keyrings/nginx-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/mainline/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list
echo -e "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" | sudo tee /etc/apt/preferences.d/99nginx
sudo apt update
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /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 install yarn nginx postgresql php-fpm php-pgsql
#nice-to-have
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt install fish
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
omf install bobthefish
sudo apt install htop neovim ccze -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment