Ubuntu установить php 8 nginx

//Server Install
//================
sudo apt update
sudo apt install nginx
sudo ufw allow 'Nginx HTTP'

//PHP Install
//============
sudo apt install php-fpm php-mysql
Coder Khayrul