sudo apt-get update
sudo apt upgrade
sudo apt install nginx
sudo systemctl status nginx
sudo ufw allow http
sudo ufw reload
sudo systemctl status nginx
sudo systemctl stop nginx
sudo systemctl start nginx
sudo systemctl disable nginx
sudo systemctl enable nginx
sudo systemctl restart nginx
sudo systemctl reload nginx
sudo unlink /etc/nginx/sites-enabled/default
sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl restart nginx
sudo mkdir /var/www/example.com
No comments:
Post a Comment