sudo yum install epel-release
sudo yum install fail2ban
dnf -y install httpd
systemctl enable httpd
systemctl start httpd
dnf module list php
dnf module install php -y
yum install php-fpm php-cli php-pdo php-mysqlnd php-mbstring
systemctl enable php-fpm
systemctl start php-fpm
dnf localinstall https://dev.mysql.com/get/mysql80-community-release-el8-3.noarch.rpm -y
dnf module disable mysql
dnf install mysql-community-server -y
systemctl enable mysqld
systemctl start mysqld
#=== mysql PW check
head -n 5 /var/log/mysqld.log
mysql_secure_installation
firewall-cmd --zone=public --add-service=http --permanent
firewall-cmd --reload
0 件のコメント:
コメントを投稿