yum -ivh http://rpms.remirepo.net/enterprise/remi-release-8.rpm
rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm
dnf -y install httpd httpd-devel httpd-tools mod_ssl
# PHP (using remi repo)
dnf -y module install php:remi-7.4dnf -y install php-opcache php-cli php-pdo php-mysqlnd php-process php-pecl-zip
# MySQL (using official repo)
dnf -y config-manager --enable mysql80-community
dnf -y module disable mysql # 關掉內建的 mysql
dnf -y install mysql-community-server
沒有留言:
張貼留言