dnf install httpd # systemctl enable httpd --now # dnf install php php-mysqlnd # dnf install mariadb-server mariadb # systemctl enable mariadb --now # mysql_secure_installation # mount /dev/sr0 /mnt/ mysql -u root -p CREATE DATABASE webdb; CREATE USER ‘web’@’%’ IDENTIFIED BY 'P@ssw0rd'; GRANT ALL PRIVILEGES ON webdb.* TO ‘web’@’%’; FLUSH PRIVILEGES; quit; # systemctl restart mariadb # cp /mnt/web/dump.sql ./ # iconv -f UTF-16 -t UTF-8 /root/dump.sql -o /var/www/html/dump.sql # mysql webdb < /var/www/html/dump.sql # rm /var/www/html/dump.sql # cp /mnt/web/index.php ./ # iconv -f WINDOWS-1251 -t UTF-8 /root/index.php -o /var/www/html/index.php # cp /mnt/web/logo.png /var/www/html/ # nano /var/www/html/index.php web - пользак P@ssw0rd webdb # systemctl restart httpd