1. #!/bin/bash
    2. dnf module list nginx
    3. dnf module enable nginx:1.20 -y
    4. dnf install nginx -y
    5. dnf module list php
    6. dnf module enable php:7.4 -y
    7. dnf install php php-mysqlnd php-fpm php-opcache php-gd php-xml php-mbstring php-json php-posix
    8. yum -y install mariadb-server mariadb mariadb-devel
    9. systemctl restart nginx mariadb php-fpm && systemctl restart nginx mariadb php-fpm