Skip to content

Instantly share code, notes, and snippets.

@thekavish
thekavish / .bash_history
Last active April 12, 2022 12:51
LEMP installation on a new ubuntu based PC.
sudo apt update
sudo apt upgrade
sudo apt install nginx -y
sudo systemctl enable nginx
sudo systemctl start nginx
sudo systemctl status nginx
nginx -v
sudo iptables -I INPUT -p tcp --dport 80 -j ACCEPT
sudo ufw allow http