Debian+NginX+uWSGI+PostgreSQL+Python3 by Rehmansoft.com

by malnus
2 deployments · 1 still active · last rev. 1 month ago

This script is for people who want to install speedy nginX for python based websites

Compatible with: Debian 9
						#!/bin/bash

dpkg-reconfigure tzdata
sudo apt-get update && apt-get upgrade
sudo apt-get install sudo

(
deb http://apt.postgresql.org/pub/repos/apt/ stretch-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 install python3-dev python3-pip python3-venv nginx uwsgi postgresql postgresql-contrib


adduser Hashim --force-badname -p pak1234
adduser Hashim sudo