2020年6月18日 星期四

CentOS 8.x + Apache 2.4.x + PHP 7.4.x + MySQL 8.x

dnf -y install epel-release dnf-utils
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

# Apache (built-in version)
dnf -y install httpd httpd-devel httpd-tools mod_ssl

# PHP (using remi repo)
dnf -y module install php:remi-7.4
dnf -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

沒有留言:

DNS-PERSIST-01 DCV

Let's encrypt 建立的新 DCV 方式  DNS-PERSIST-01 它是用綁定帳號,在域名直接設上 accounturi 的 TXT 資料, 來達到長效授權,之後經由綁定帳號來申請的憑證,就直接過了,不需再設定 DNS 已經上 Staging 環境 (--...