Setup New Server for Tasks of AzatAI


Setup Django behind uWSGI and NGINX on CentOS 7

New User Set Up

To setup this user, should login as administrator (root user)

Create a New user

adduser <username>

Granting Aministration Privileges

usermod -aG sudo <username>

Install Nginx

sudo apt upgrade && sudo apt install nginx -y

Setup Database


Setup Firewall

To see available UFW applications;

ufw app list


Add Allow Demanded Application

ufw allow OpenSSH
ufw allow "Nginx Full"


Enable Firewall

ufw enable


Check Firewall Status

ufw status


Setup ~oh my zsh

Install zsh and ohmyzsh

sudo apt install git -y 
git clone
cd zsher

Change the default shell

chsh -s $(which zsh)

configure the oh my zsh

  1. change to the agnoster theme
  2. enable usefull plugins
plugins=(git zsh-completions zsh-autosuggestions zsh-syntax-highlighting)