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
Skipped
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 https://github.com/AzatAI/zsher
cd zsher
sh zsh.sh
Change the default shell
chsh -s $(which zsh)
configure the oh my zsh
- change to the
agnoster
theme - enable usefull plugins
plugins=(git zsh-completions zsh-autosuggestions zsh-syntax-highlighting)