Skip to content

Instantly share code, notes, and snippets.

@hargup
hargup / basic_server_setup.sh
Last active December 23, 2023 14:49 — forked from ppsreejith/install.sh
Do Initial setup on a server
# To run this do
# sh -c "$(curl -fsSL https://link-to-this-file.sh)"
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/hargup/f5c2aed6b63c13fc9f5c86b17f5e1bec/raw/9e4d296599c028182548ca03688bce83dc05ac5d/install.sh)"
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get -y update
apt-get -y upgrade
apt-get -y install zsh emacs silversearcher-ag docker-ce htop nginx nodejs npm postgresql postgresql-contrib