Skip to content

Instantly share code, notes, and snippets.

@matt212
Last active November 19, 2020 18:52
Show Gist options
  • Save matt212/70271293c7d0c927021f0bfaad48179e to your computer and use it in GitHub Desktop.
Save matt212/70271293c7d0c927021f0bfaad48179e to your computer and use it in GitHub Desktop.
Nodejs+postgres+redis Env Setup for App
sudo apt update
#Nodejs
sudo apt install nodejs
sudo apt install npm
#Postgres
sudo apt-get update
sudo apt install postgresql postgresql-contrib
#Redis-server
sudo apt install redis-server
sudo service redis-server start
#for ubunutu in windows wsl
sudo npm install -g --unsafe-perm=true --allow-root
#Create postgres Authentication
sudo -u postgres psql postgres -c "\password postgres"
sudo service postgresql restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment