sudo yum install httpd //install httpd
sudo systemctl enable httpd.service //enable httpd<
sudo yum install mariadb-server mariadb //Installing MariaDB
sudo systemctl start mariadb //start MariaDB
sudo mysql_secure_installation //set user and password
sudo mysql //login to database
exit //exit from database
sudo yum install php php-mysql //Installing PHP
sudo dnf install httpd //install httpd
sudo systemctl start httpd //start httpd
sudo firewall-cmd --permanent --add-service=http //allow firewall
sudo firewall-cmd --permanent --list-all //check firewall
sudo firewall-cmd --reload //reload firewall
sudo dnf install mariadb-server //Installing MariaDB
sudo systemctl start mariadb //start MariaDB
sudo mysql_secure_installation //set user and password
sudo mysql //login to database
exit //exit from database
sudo dnf install php php-mysqlnd //Installing PHP
sudo systemctl restart httpd //restart httpd