This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |