安装nextcloud文档

[root@nextcloud ~]# php -v
PHP 7.2.24 (cli) (built: Oct 22 2019 08:28:36) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.24, Copyright (c) 1999-2018, by Zend Technologies
[root@nextcloud ~]# rpm -qa | grep php\
> ^C
[root@nextcloud ~]# rpm -qa | grep php
php-fpm-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-cli-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-opcache-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-gd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-intl-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pecl-apcu-5.1.12-2.module_el8.2.0+313+b04d0a66.x86_64
php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pecl-zip-1.15.3-1.module_el8.2.0+313+b04d0a66.x86_64
php-json-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pdo-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-mbstring-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-mysqlnd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php
[root@nextcloud ~]# rpm -qa | grep php
php-fpm-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-cli-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-opcache-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-gd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-intl-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pecl-apcu-5.1.12-2.module_el8.2.0+313+b04d0a66.x86_64
php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pecl-zip-1.15.3-1.module_el8.2.0+313+b04d0a66.x86_64
php-json-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pdo-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-mbstring-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-mysqlnd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -qa php-mysqlnd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -qa | grep php
php-fpm-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-cli-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-opcache-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-gd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-intl-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pecl-apcu-5.1.12-2.module_el8.2.0+313+b04d0a66.x86_64
php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pecl-zip-1.15.3-1.module_el8.2.0+313+b04d0a66.x86_64
php-json-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pdo-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-mbstring-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-mysqlnd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-mysqlnd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -qa | grep php
php-fpm-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-cli-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-opcache-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-gd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-intl-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pecl-apcu-5.1.12-2.module_el8.2.0+313+b04d0a66.x86_64
php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pecl-zip-1.15.3-1.module_el8.2.0+313+b04d0a66.x86_64
php-json-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pdo-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-mbstring-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-mbstring-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e
rpm: no packages given for erase
[root@nextcloud ~]# rpm -e php-pdo-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-json-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-pecl-zip-1.15.3-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
error: Failed dependencies:
        php(api) = 20170718-64 is needed by (installed) php-pecl-apcu-5.1.12-2.module_el8.2.0+313+b04d0a66.x86_64
        php(zend-abi) = 20170718-64 is needed by (installed) php-pecl-apcu-5.1.12-2.module_el8.2.0+313+b04d0a66.x86_64
        php-common(x86-64) = 7.2.24-1.module_el8.2.0+313+b04d0a66 is needed by (installed) php-cli-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
        php-common(x86-64) = 7.2.24-1.module_el8.2.0+313+b04d0a66 is needed by (installed) php-fpm-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
        php-common(x86-64) = 7.2.24-1.module_el8.2.0+313+b04d0a66 is needed by (installed) php-gd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
        php-common(x86-64) = 7.2.24-1.module_el8.2.0+313+b04d0a66 is needed by (installed) php-intl-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
        php-common(x86-64) = 7.2.24-1.module_el8.2.0+313+b04d0a66 is needed by (installed) php-opcache-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -qa | grep php
php-fpm-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-cli-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-opcache-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-gd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-intl-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
php-pecl-apcu-5.1.12-2.module_el8.2.0+313+b04d0a66.x86_64
php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-fpm-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]#
[root@nextcloud ~]# rpm -e php-cli-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-opcache-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-gd-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-intl-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64 [root@nextcloud ~]# rpm -e php-pecl-apcu-5.1.12-2.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -e php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64
[root@nextcloud ~]# rpm -qa | grep php
[root@nextcloud ~]# cat /etc/redhat-release
CentOS Linux release 8.5.2111
[root@nextcloud ~]# sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Repository extras is listed more than once in the configuration
Last metadata expiration check: 1:33:58 ago on Thu 21 Jul 2022 11:27:44 AM CST.
epel-release-latest-8.noarch.rpm                 18 kB/s |  24 kB     00:01
Package epel-release-8-16.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@nextcloud ~]# sudo yum -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
Repository extras is listed more than once in the configuration
Last metadata expiration check: 1:34:10 ago on Thu 21 Jul 2022 11:27:44 AM CST.
remi-release-8.rpm                               22 kB/s |  29 kB     00:01
Error:
 Problem: conflicting requests
  - nothing provides redhat-release >= 8.6 needed by remi-release-8.6-1.el8.remi.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@nextcloud ~]# sudo dnf -y install dnf-utils
Repository extras is listed more than once in the configuration
Last metadata expiration check: 1:34:27 ago on Thu 21 Jul 2022 11:27:44 AM CST.
Package yum-utils-4.0.21-3.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@nextcloud ~]# sudo dnf module install php:remi-7.4
Repository extras is listed more than once in the configuration
Last metadata expiration check: 1:34:38 ago on Thu 21 Jul 2022 11:27:44 AM CST.
Error: Problems in request:
missing groups or modules: php:remi-7.4
[root@nextcloud ~]#
login as: root
root@192.168.182.129's password:
Activate the web console with: systemctl enable --now cockpit.socket

[root@nextcloud ~]# sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
CentOS Linux 8 - AppStream                       86  B/s |  38  B     00:00
错误:为仓库 'appstream' 下载元数据失败 : Cannot prepare internal mirrorlist: No URLs in mirrorlist
[root@nextcloud ~]# 错误:为仓库 'appstream' 下载元数据失败 : Cannot prepare internal mirrorlist: No URLs in mirrorlist^C
[root@nextcloud ~]# cd /etc/yum.repos.d/
[root@nextcloud yum.repos.d]# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
[root@nextcloud yum.repos.d]# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
[root@nextcloud yum.repos.d]# cat /etc/re
redhat-release    request-key.conf  request-key.d/    resolv.conf
[root@nextcloud yum.repos.d]# cat /etc/re
redhat-release    request-key.conf  request-key.d/    resolv.conf
[root@nextcloud yum.repos.d]# cat /etc/redhat-release
CentOS Linux release 8.5.2111
[root@nextcloud yum.repos.d]# wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
--2022-07-22 08:40:07--  https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
正在解析主机 mirrors.aliyun.com (mirrors.aliyun.com)... 119.96.204.217, 119.96.138.210, 119.96.204.212, ...
正在连接 mirrors.aliyun.com (mirrors.aliyun.com)|119.96.204.217|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2495 (2.4K) [application/octet-stream]
正在保存至:/etc/yum.repos.d/CentOS-Base.repo”

/etc/yum.repos.d/Ce 100%[===================>]   2.44K  --.-KB/s  用时 0.02s

2022-07-22 08:40:07 (142 KB/s) - 已保存 “/etc/yum.repos.d/CentOS-Base.repo” [2495/2495])

[root@nextcloud yum.repos.d]# yum clean all
Repository extras is listed more than once in the configuration
0 文件已删除
[root@nextcloud yum.repos.d]# yum makecache
Repository extras is listed more than once in the configuration
CentOS-8.5.2111 - Base - mirrors.aliyun.com     231 kB/s | 4.6 MB     00:20
CentOS-8.5.2111 - Extras - mirrors.aliyun.com    49 kB/s |  10 kB     00:00
CentOS-8.5.2111 - AppStream - mirrors.aliyun.co 158 kB/s | 8.4 MB     00:54
CentOS Linux 8 - AppStream                      1.9 MB/s | 8.4 MB     00:04
CentOS Linux 8 - BaseOS                         1.0 MB/s | 4.6 MB     00:04
元数据缓存已建立。
[root@nextcloud yum.repos.d]# sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:03:39 前,执行于 20220722日 星期五 084222秒。
epel-release-latest-8.noarch.rpm                 16 kB/s |  24 kB     00:01
依赖关系解决。
================================================================================
 软件包              架构          版本               仓库                 大小
================================================================================
安装:
 epel-release        noarch        8-16.el8           @commandline         24 k

事务概要
================================================================================
安装  1 软件包

总计:24 k
安装大小:34 k
下载软件包:
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1
  安装    : epel-release-8-16.el8.noarch                                    1/1
  运行脚本: epel-release-8-16.el8.noarch                                    1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

  验证    : epel-release-8-16.el8.noarch                                    1/1

已安装:
  epel-release-8-16.el8.noarch

完毕!
[root@nextcloud yum.repos.d]# sudo yum -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
Repository extras is listed more than once in the configuration
Extra Packages for Enterprise Linux 8 - x86_64  4.6 MB/s |  12 MB     00:02
Extra Packages for Enterprise Linux Modular 8 - 587 kB/s | 1.0 MB     00:01
remi-release-8.rpm                               24 kB/s |  29 kB     00:01
错误:
 问题: 冲突的请求
  - 没有东西可提供 redhat-release >= 8.6(remi-release-8.6-1.el8.remi.noarch 需要)
(尝试添加 '--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用软件包的最佳候选)
[root@nextcloud yum.repos.d]# sudo yum -y install https://dl.fedoraproject.org/pub/epel/remi-release-8.6-1.el8.remi.noarch
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:00:44 前,执行于 20220722日 星期五 084621秒。
[MIRROR] remi-release-8.6-1.el8.remi.noarch: Status code: 404 for https://dl.fedoraproject.org/pub/epel/remi-release-8.6-1.el8.remi.noarch (IP: 38.145.60.24)
[MIRROR] remi-release-8.6-1.el8.remi.noarch: Status code: 404 for https://dl.fedoraproject.org/pub/epel/remi-release-8.6-1.el8.remi.noarch (IP: 38.145.60.24)
[MIRROR] remi-release-8.6-1.el8.remi.noarch: Status code: 404 for https://dl.fedoraproject.org/pub/epel/remi-release-8.6-1.el8.remi.noarch (IP: 38.145.60.24)
[MIRROR] remi-release-8.6-1.el8.remi.noarch: Status code: 404 for https://dl.fedoraproject.org/pub/epel/remi-release-8.6-1.el8.remi.noarch (IP: 38.145.60.24)
[FAILED] remi-release-8.6-1.el8.remi.noarch: Status code: 404 for https://dl.fedoraproject.org/pub/epel/remi-release-8.6-1.el8.remi.noarch (IP: 38.145.60.24)
Status code: 404 for https://dl.fedoraproject.org/pub/epel/remi-release-8.6-1.el8.remi.noarch (IP: 38.145.60.24)
[root@nextcloud yum.repos.d]# sudo wget http://rpms.famillecollet.com/el8.i386/remi-release-8.6-1.el8.remi.noarch
--2022-07-22 08:48:46--  http://rpms.famillecollet.com/el8.i386/remi-release-8.6-1.el8.remi.noarch
正在解析主机 rpms.famillecollet.com (rpms.famillecollet.com)... 109.238.14.107, 2a00:c70:1:109:238:14:107:1
正在连接 rpms.famillecollet.com (rpms.famillecollet.com)|109.238.14.107|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
位置:http://rpms.remirepo.net/el8.i386/remi-release-8.6-1.el8.remi.noarch [跟随至新的 URL]
--2022-07-22 08:48:46--  http://rpms.remirepo.net/el8.i386/remi-release-8.6-1.el8.remi.noarch
正在解析主机 rpms.remirepo.net (rpms.remirepo.net)... 109.238.14.107, 2a00:c70:1:109:238:14:107:1
再次使用存在的到 rpms.famillecollet.com:80 的连接。
已发出 HTTP 请求,正在等待回应... 404 Not Found
2022-07-22 08:48:47 错误 404:Not Found。

[root@nextcloud yum.repos.d]# sudo wget http://rpms.famillecollet.com/el8_x86.i386/remi-release-8.6-1.el8.remi.noarch
--2022-07-22 08:49:05--  http://rpms.famillecollet.com/el8_x86.i386/remi-release-8.6-1.el8.remi.noarch
正在解析主机 rpms.famillecollet.com (rpms.famillecollet.com)... 109.238.14.107, 2a00:c70:1:109:238:14:107:1
正在连接 rpms.famillecollet.com (rpms.famillecollet.com)|109.238.14.107|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
位置:http://rpms.remirepo.net/el8_x86.i386/remi-release-8.6-1.el8.remi.noarch [跟随至新的 URL]
--2022-07-22 08:49:06--  http://rpms.remirepo.net/el8_x86.i386/remi-release-8.6-1.el8.remi.noarch
正在解析主机 rpms.remirepo.net (rpms.remirepo.net)... 109.238.14.107, 2a00:c70:1:109:238:14:107:1
再次使用存在的到 rpms.famillecollet.com:80 的连接。
已发出 HTTP 请求,正在等待回应... 404 Not Found
2022-07-22 08:49:06 错误 404:Not Found。

[root@nextcloud yum.repos.d]# dnf install -y epel-release yum-utils unzip curl wget \
> bash-completion policycoreutils-python-utils mlocate bzip2
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:10:47 前,执行于 20220722日 星期五 084621秒。
软件包 epel-release-8-16.el8.noarch 已安装。
软件包 unzip-6.0-45.el8_4.x86_64 已安装。
软件包 curl-7.61.1-22.el8.x86_64 已安装。
软件包 wget-1.19.5-10.el8.x86_64 已安装。
软件包 bash-completion-1:2.7-5.el8.noarch 已安装。
软件包 policycoreutils-python-utils-2.9-16.el8.noarch 已安装。
软件包 mlocate-0.26-20.el8.x86_64 已安装。
软件包 bzip2-1.0.6-26.el8.x86_64 已安装。
依赖关系解决。
================================================================================
 软件包             架构            版本                    仓库           大小
================================================================================
安装:
 yum-utils          noarch          4.0.21-3.el8            base           73 k

事务概要
================================================================================
安装  1 软件包

总下载:73 k
安装大小:22 k
下载软件包:
yum-utils-4.0.21-3.el8.noarch.rpm                93 kB/s |  73 kB     00:00
--------------------------------------------------------------------------------
总计                                             93 kB/s |  73 kB     00:00
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1
  安装    : yum-utils-4.0.21-3.el8.noarch                                   1/1
  运行脚本: yum-utils-4.0.21-3.el8.noarch                                   1/1
  验证    : yum-utils-4.0.21-3.el8.noarch                                   1/1

已安装:
  yum-utils-4.0.21-3.el8.noarch

完毕!
[root@nextcloud yum.repos.d]# dnf update -y
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:10:57 前,执行于 20220722日 星期五 084621秒。
依赖关系解决。
================================================================================
 软件包                            架构   版本                  仓库       大小
================================================================================
安装:
 kernel                            x86_64 4.18.0-348.7.1.el8_5  base      7.0 M
升级:
 accountsservice                   x86_64 0.6.55-2.el8_5.2      AppStream 139 k
 accountsservice-libs              x86_64 0.6.55-2.el8_5.2      AppStream  96 k
 binutils                          x86_64 2.30-108.el8_5.1      base      5.8 M
 bpftool                           x86_64 4.18.0-348.7.1.el8_5  base      7.7 M
 firefox                           x86_64 91.4.0-1.el8_5        AppStream 106 M
 flatpak                           x86_64 1.8.5-5.el8_5         AppStream 1.6 M
 flatpak-libs                      x86_64 1.8.5-5.el8_5         AppStream 440 k
 flatpak-selinux                   noarch 1.8.5-5.el8_5         AppStream  27 k
 flatpak-session-helper            x86_64 1.8.5-5.el8_5         AppStream  75 k
 freerdp-libs                      x86_64 2:2.2.0-7.el8_5       AppStream 892 k
 gnome-classic-session             noarch 3.32.1-22.el8_5       AppStream  48 k
 gnome-shell-extension-apps-menu   noarch 3.32.1-22.el8_5       AppStream  32 k
 gnome-shell-extension-common      noarch 3.32.1-22.el8_5       AppStream 171 k
 gnome-shell-extension-desktop-icons

  验证    : qemu-kvm-block-iscsi-15:4.2.0-59.module_el8.5.0+1063+c9b9   158/167
  验证    : qemu-kvm-block-iscsi-15:4.2.0-59.module_el8.5.0+1002+3672   159/167
  验证    : qemu-kvm-block-rbd-15:4.2.0-59.module_el8.5.0+1063+c9b9fe   160/167
  验证    : qemu-kvm-block-rbd-15:4.2.0-59.module_el8.5.0+1002+36725d   161/167
  验证    : qemu-kvm-block-ssh-15:4.2.0-59.module_el8.5.0+1063+c9b9fe   162/167
  验证    : qemu-kvm-block-ssh-15:4.2.0-59.module_el8.5.0+1002+36725d   163/167
  验证    : qemu-kvm-common-15:4.2.0-59.module_el8.5.0+1063+c9b9feff.   164/167
  验证    : qemu-kvm-common-15:4.2.0-59.module_el8.5.0+1002+36725df2.   165/167
  验证    : qemu-kvm-core-15:4.2.0-59.module_el8.5.0+1063+c9b9feff.1.   166/167
  验证    : qemu-kvm-core-15:4.2.0-59.module_el8.5.0+1002+36725df2.x8   167/167

已升级:
  accountsservice-0.6.55-2.el8_5.2.x86_64
  accountsservice-libs-0.6.55-2.el8_5.2.x86_64
  binutils-2.30-108.el8_5.1.x86_64
  bpftool-4.18.0-348.7.1.el8_5.x86_64
  firefox-91.4.0-1.el8_5.x86_64
  flatpak-1.8.5-5.el8_5.x86_64
  flatpak-libs-1.8.5-5.el8_5.x86_64
  flatpak-selinux-1.8.5-5.el8_5.noarch
  flatpak-session-helper-1.8.5-5.el8_5.x86_64
  freerdp-libs-2:2.2.0-7.el8_5.x86_64
  gnome-classic-session-3.32.1-22.el8_5.noarch
  gnome-shell-extension-apps-menu-3.32.1-22.el8_5.noarch
  gnome-shell-extension-common-3.32.1-22.el8_5.noarch
  gnome-shell-extension-desktop-icons-3.32.1-22.el8_5.noarch
  gnome-shell-extension-horizontal-workspaces-3.32.1-22.el8_5.noarch
  gnome-shell-extension-launch-new-instance-3.32.1-22.el8_5.noarch
  gnome-shell-extension-places-menu-3.32.1-22.el8_5.noarch
  gnome-shell-extension-window-list-3.32.1-22.el8_5.noarch
  ibus-1.5.19-14.el8_5.x86_64
  ibus-gtk2-1.5.19-14.el8_5.x86_64

  systemd-libs-239-51.el8_5.2.x86_64
  systemd-pam-239-51.el8_5.2.x86_64
  systemd-udev-239-51.el8_5.2.x86_64
已安装:
  kernel-4.18.0-348.7.1.el8_5.x86_64
  kernel-core-4.18.0-348.7.1.el8_5.x86_64
  kernel-modules-4.18.0-348.7.1.el8_5.x86_64

完毕!
[root@nextcloud yum.repos.d]# dnf install -y httpd
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:29:12 前,执行于 20220722日 星期五 084621秒。
依赖关系解决。
================================================================================
 软件包           架构   版本                                   仓库       大小
================================================================================
安装:
 httpd            x86_64 2.4.37-43.module_el8.5.0+1022+b541f3b1 AppStream 1.4 M
安装依赖关系:
 apr              x86_64 1.6.3-12.el8                           AppStream 129 k
 apr-util         x86_64 1.6.1-6.el8                            AppStream 105 k
 centos-logos-httpd
                  noarch 85.8-2.el8                             base       75 k
 httpd-filesystem noarch 2.4.37-43.module_el8.5.0+1022+b541f3b1 AppStream  39 k
 httpd-tools      x86_64 2.4.37-43.module_el8.5.0+1022+b541f3b1 AppStream 107 k
 mod_http2        x86_64 1.15.7-3.module_el8.4.0+778+c970deab   AppStream 154 k
安装弱的依赖:
 apr-util-bdb     x86_64 1.6.1-6.el8                            AppStream  25 k
 apr-util-openssl x86_64 1.6.1-6.el8                            AppStream  27 k
启用模块流:
 httpd                   2.4

事务概要
================================================================================
安装  9 软件包

总下载:2.1 M
安装大小:5.6 M
下载软件包:
(1/9): centos-logos-httpd-85.8-2.el8.noarch.rpm 160 kB/s |  75 kB     00:00
(2/9): apr-util-bdb-1.6.1-6.el8.x86_64.rpm      163 kB/s |  25 kB     00:00
(3/9): apr-util-1.6.1-6.el8.x86_64.rpm          166 kB/s | 105 kB     00:00
(4/9): apr-util-openssl-1.6.1-6.el8.x86_64.rpm  158 kB/s |  27 kB     00:00
(5/9): apr-1.6.3-12.el8.x86_64.rpm              161 kB/s | 129 kB     00:00
(6/9): httpd-filesystem-2.4.37-43.module_el8.5. 169 kB/s |  39 kB     00:00
(7/9): httpd-tools-2.4.37-43.module_el8.5.0+102 170 kB/s | 107 kB     00:00
(8/9): mod_http2-1.15.7-3.module_el8.4.0+778+c9 143 kB/s | 154 kB     00:01
(9/9): httpd-2.4.37-43.module_el8.5.0+1022+b541 174 kB/s | 1.4 MB     00:08
--------------------------------------------------------------------------------
总计                                            236 kB/s | 2.1 MB     00:08
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1
  安装    : apr-1.6.3-12.el8.x86_64                                         1/9
  运行脚本: apr-1.6.3-12.el8.x86_64                                         1/9
  安装    : apr-util-bdb-1.6.1-6.el8.x86_64                                 2/9
  安装    : apr-util-openssl-1.6.1-6.el8.x86_64                             3/9
  安装    : apr-util-1.6.1-6.el8.x86_64                                     4/9
  运行脚本: apr-util-1.6.1-6.el8.x86_64                                     4/9
  安装    : httpd-tools-2.4.37-43.module_el8.5.0+1022+b541f3b1.x86_64       5/9
  运行脚本: httpd-filesystem-2.4.37-43.module_el8.5.0+1022+b541f3b1.noarc   6/9
  安装    : httpd-filesystem-2.4.37-43.module_el8.5.0+1022+b541f3b1.noarc   6/9
  安装    : centos-logos-httpd-85.8-2.el8.noarch                            7/9
  安装    : mod_http2-1.15.7-3.module_el8.4.0+778+c970deab.x86_64           8/9
  安装    : httpd-2.4.37-43.module_el8.5.0+1022+b541f3b1.x86_64             9/9
  运行脚本: httpd-2.4.37-43.module_el8.5.0+1022+b541f3b1.x86_64             9/9
  验证    : centos-logos-httpd-85.8-2.el8.noarch                            1/9
  验证    : apr-1.6.3-12.el8.x86_64                                         2/9
  验证    : apr-util-1.6.1-6.el8.x86_64                                     3/9
  验证    : apr-util-bdb-1.6.1-6.el8.x86_64                                 4/9
  验证    : apr-util-openssl-1.6.1-6.el8.x86_64                             5/9
  验证    : httpd-2.4.37-43.module_el8.5.0+1022+b541f3b1.x86_64             6/9
  验证    : httpd-filesystem-2.4.37-43.module_el8.5.0+1022+b541f3b1.noarc   7/9
  验证    : httpd-tools-2.4.37-43.module_el8.5.0+1022+b541f3b1.x86_64       8/9
  验证    : mod_http2-1.15.7-3.module_el8.4.0+778+c970deab.x86_64           9/9

已安装:
  apr-1.6.3-12.el8.x86_64
  apr-util-1.6.1-6.el8.x86_64
  apr-util-bdb-1.6.1-6.el8.x86_64
  apr-util-openssl-1.6.1-6.el8.x86_64
  centos-logos-httpd-85.8-2.el8.noarch
  httpd-2.4.37-43.module_el8.5.0+1022+b541f3b1.x86_64
  httpd-filesystem-2.4.37-43.module_el8.5.0+1022+b541f3b1.noarch
  httpd-tools-2.4.37-43.module_el8.5.0+1022+b541f3b1.x86_64
  mod_http2-1.15.7-3.module_el8.4.0+778+c970deab.x86_64

完毕!
[root@nextcloud yum.repos.d]# cd /etc/httpd/conf.
conf.d/         conf.modules.d/
[root@nextcloud yum.repos.d]# cd /etc/httpd/conf.d/
[root@nextcloud conf.d]# vi nextcloud.conf
[root@nextcloud conf.d]# systemctl enable httpd.service
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
[root@nextcloud conf.d]# systemctl start httpd.service

PHP安装

[root@nextcloud conf.d]# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:30:39 前,执行于 20220722日 星期五 084621秒。
epel-release-latest-8.noarch.rpm                 21 kB/s |  24 kB     00:01
软件包 epel-release-8-16.el8.noarch 已安装。
依赖关系解决。
无需任何处理。
完毕!
[root@nextcloud conf.d]# rpm -qa | grep epel
epel-release-8-16.el8.noarch
[root@nextcloud conf.d]# dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:31:07 前,执行于 20220722日 星期五 084621秒。
remi-release-8.rpm                               18 kB/s |  29 kB     00:01
错误:
 问题: 冲突的请求
  - 没有东西可提供 redhat-release >= 8.6(remi-release-8.6-1.el8.remi.noarch 需要)
(尝试添加 '--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用软件包的最佳候选)
[root@nextcloud conf.d]# cat /etc/redhat-release                                CentOS Linux release 8.5.2111
[root@nextcloud conf.d]# cd /etc/yum.repos.d/                                   [root@nextcloud yum.repos.d]# ls
CentOS-Base.repo                     CentOS-Linux-Media.repo
CentOS-Linux-AppStream.repo          CentOS-Linux-Plus.repo
CentOS-Linux-BaseOS.repo             CentOS-Linux-PowerTools.repo
CentOS-Linux-ContinuousRelease.repo  CentOS-Linux-Sources.repo
CentOS-Linux-Debuginfo.repo          epel-modular.repo
CentOS-Linux-Devel.repo              epel.repo
CentOS-Linux-Extras.repo             epel-testing-modular.repo
CentOS-Linux-FastTrack.repo          epel-testing.repo
CentOS-Linux-HighAvailability.repo
[root@nextcloud yum.repos.d]# rpm -qa |grep remi
[root@nextcloud yum.repos.d]# vi CentOS-Base.repo
[root@nextcloud yum.repos.d]# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-8.rpm
获取http://rpms.famillecollet.com/enterprise/remi-release-8.rpm
警告:/var/tmp/rpm-tmp.PuFlac: 头V4 RSA/SHA256 Signature, 密钥 ID 5f11735a: NOKEY
错误:依赖检测失败:
        redhat-release >= 8.6 被 remi-release-8.6-1.el8.remi.noarch 需要
[root@nextcloud yum.repos.d]# wget http://rpms.famillecollet.com/enterprise/remi-release-8.rpm
--2022-07-22 09:21:03--  http://rpms.famillecollet.com/enterprise/remi-release-8.rpm
正在解析主机 rpms.famillecollet.com (rpms.famillecollet.com)... 109.238.14.107, 2a00:c70:1:109:238:14:107:1
正在连接 rpms.famillecollet.com (rpms.famillecollet.com)|109.238.14.107|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
位置:http://rpms.remirepo.net/enterprise/remi-release-8.rpm [跟随至新的 URL]
--2022-07-22 09:21:04--  http://rpms.remirepo.net/enterprise/remi-release-8.rpm
正在解析主机 rpms.remirepo.net (rpms.remirepo.net)... 109.238.14.107, 2a00:c70:1:109:238:14:107:1
再次使用存在的到 rpms.famillecollet.com:80 的连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:29560 (29K) [application/x-rpm]
正在保存至: “remi-release-8.rpm”

remi-release-8.rpm  100%[===================>]  28.87K  56.6KB/s  用时 0.5s

2022-07-22 09:21:05 (56.6 KB/s) - 已保存 “remi-release-8.rpm” [29560/29560])

[root@nextcloud yum.repos.d]# rpm -ivh remi-release-8.rpm
警告:remi-release-8.rpm: 头V4 RSA/SHA256 Signature, 密钥 ID 5f11735a: NOKEY
错误:依赖检测失败:
        redhat-release >= 8.6 被 remi-release-8.6-1.el8.remi.noarch 需要

库remi安装

[root@nextcloud yum.repos.d]# rpm -ivh remi-release-8.rpm --nodeps --force
警告:remi-release-8.rpm: 头V4 RSA/SHA256 Signature, 密钥 ID 5f11735a: NOKEY
Verifying...                          ################################# [100%]
准备中...                          ################################# [100%]
正在升级/安装...
   1:remi-release-8.6-1.el8.remi      ################################# [100%]
[root@nextcloud yum.repos.d]# ^C
[root@nextcloud yum.repos.d]# ^C
[root@nextcloud yum.repos.d]# https://blog.csdn.net/weixin_39931390/article/details/109979929?ops_request_misc=&request_id=&biz_id=102&utm_term=remi-release-8.6-1.el8.remi.no&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-6-109979929.142^v33^new_blog_fixed_pos,185^v2^control&spm=1018.2226.3001.4187#:~:text=rpm%20%2Dqa%20%7C%20grep%20remi%0Aremi%2Drelease%2D8.0%2D4.el8.remi.noarch^C
[root@nextcloud yum.repos.d]# rpm -qa |grep remi
remi-release-8.6-1.el8.remi.noarch
[root@nextcloud yum.repos.d]#  dnf module list php
Repository extras is listed more than once in the configuration
Remi's Modular repository for Enterprise Linux  463  B/s | 833  B     00:01
Remi's Modular repository for Enterprise Linux  3.0 MB/s | 3.1 kB     00:00
导入 GPG 公钥 0x5F11735A:
 Userid: "Remi's RPM repository <remi@remirepo.net>"
 指纹: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
 来自: /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
确定吗?[y/N]: y
Remi's Modular repository for Enterprise Linux   36 kB/s | 985 kB     00:27
Safe Remi's RPM repository for Enterprise Linux 327  B/s | 833  B     00:02
Safe Remi's RPM repository for Enterprise Linux 3.0 MB/s | 3.1 kB     00:00
导入 GPG 公钥 0x5F11735A:
 Userid: "Remi's RPM repository <remi@remirepo.net>"
 指纹: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
 来自: /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
确定吗?[y/N]: y
Safe Remi's RPM repository for Enterprise Linux  52 kB/s | 2.2 MB     00:43
上次元数据过期检查:0:00:23 前,执行于 20220722日 星期五 092555秒。
CentOS-8.5.2111 - AppStream - mirrors.aliyun.com
Name      Stream       Profiles                       Summary
php       7.2 [d]      common [d], devel, minimal     PHP scripting language
php       7.3          common [d], devel, minimal     PHP scripting language
php       7.4          common [d], devel, minimal     PHP scripting language

CentOS Linux 8 - AppStream
Name      Stream       Profiles                       Summary
php       7.2 [d]      common [d], devel, minimal     PHP scripting language
php       7.3          common [d], devel, minimal     PHP scripting language
php       7.4          common [d], devel, minimal     PHP scripting language

Remi's Modular repository for Enterprise Linux 8 - x86_64
Name      Stream       Profiles                       Summary
php       remi-7.2     common [d], devel, minimal     PHP scripting language
php       remi-7.3     common [d], devel, minimal     PHP scripting language
php       remi-7.4     common [d], devel, minimal     PHP scripting language
php       remi-8.0     common [d], devel, minimal     PHP scripting language
php       remi-8.1     common [d], devel, minimal     PHP scripting language

提示:[d]默认,[e]已启用,[x]已禁用,[i]已安装
[root@nextcloud yum.repos.d]# dnf module enable php:remi-7.4
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:01:18 前,执行于 20220722日 星期五 092555秒。
依赖关系解决。
================================================================================
 软件包            架构             版本                仓库               大小
================================================================================
启用模块流:
 php                                remi-7.4

事务概要
================================================================================

确定吗?[y/N]: y
完毕!
[root@nextcloud yum.repos.d]# dnf install php php-cli php-common
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:02:22 前,执行于 20220722日 星期五 092555秒。
依赖关系解决。
================================================================================
 软件包        架构   版本                                   仓库          大小
================================================================================
安装:
 php           x86_64 7.4.30-1.el8.remi                      remi-modular 3.0 M
 php-cli       x86_64 7.4.30-1.el8.remi                      remi-modular 4.6 M
 php-common    x86_64 7.4.30-1.el8.remi                      remi-modular 1.2 M
安装依赖关系:
 libsodium     x86_64 1.0.18-2.el8                           epel         162 k
 oniguruma5php x86_64 6.9.8-1.el8.remi                       remi-safe    212 k
 php-json      x86_64 7.4.30-1.el8.remi                      remi-modular  79 k
安装弱的依赖:
 nginx-filesystem
               noarch 1:1.14.1-9.module_el8.0.0+184+e34fea82 AppStream     24 k
 php-fpm       x86_64 7.4.30-1.el8.remi                      remi-modular 1.6 M
 php-mbstring  x86_64 7.4.30-1.el8.remi                      remi-modular 529 k
 php-opcache   x86_64 7.4.30-1.el8.remi                      remi-modular 339 k
 php-pdo       x86_64 7.4.30-1.el8.remi                      remi-modular 146 k
 php-sodium    x86_64 7.4.30-1.el8.remi                      remi-modular  91 k
 php-xml       x86_64 7.4.30-1.el8.remi                      remi-modular 218 k
启用模块流:
 nginx                1.14

事务概要
================================================================================
安装  13 软件包

总下载:12 M
安装大小:52 M
确定吗?[y/N]: y
下载软件包:
(1/13): nginx-filesystem-1.14.1-9.module_el8.0.  97 kB/s |  24 kB     00:00
(2/13): libsodium-1.0.18-2.el8.x86_64.rpm       119 kB/s | 162 kB     00:01
(3/13): php-common-7.4.30-1.el8.remi.x86_64.rpm  24 kB/s | 1.2 MB     00:50
(4/13): php-fpm-7.4.30-1.el8.remi.x86_64.rpm     37 kB/s | 1.6 MB     00:44
(5/13): php-json-7.4.30-1.el8.remi.x86_64.rpm    81 kB/s |  79 kB     00:00
(6/13): php-mbstring-7.4.30-1.el8.remi.x86_64.r  94 kB/s | 529 kB     00:05
(7/13): php-opcache-7.4.30-1.el8.remi.x86_64.rp  57 kB/s | 339 kB     00:05
(8/13): php-pdo-7.4.30-1.el8.remi.x86_64.rpm     57 kB/s | 146 kB     00:02
(9/13): php-sodium-7.4.30-1.el8.remi.x86_64.rpm  64 kB/s |  91 kB     00:01
(10/13): php-xml-7.4.30-1.el8.remi.x86_64.rpm    81 kB/s | 218 kB     00:02
(11/13): oniguruma5php-6.9.8-1.el8.remi.x86_64.  65 kB/s | 212 kB     00:03
(12/13): php-7.4.30-1.el8.remi.x86_64.rpm        26 kB/s | 3.0 MB     02:00
(13/13): php-cli-7.4.30-1.el8.remi.x86_64.rpm    29 kB/s | 4.6 MB     02:41
--------------------------------------------------------------------------------
总计                                             76 kB/s |  12 MB     02:43
Extra Packages for Enterprise Linux 8 - x86_64  1.6 MB/s | 1.6 kB     00:00
导入 GPG 公钥 0x2F86D6A1:
 Userid: "Fedora EPEL (8) <epel@fedoraproject.org>"
 指纹: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
 来自: /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
确定吗?[y/N]: y
导入公钥成功
Remi's Modular repository for Enterprise Linux  3.0 MB/s | 3.1 kB     00:00
导入 GPG 公钥 0x5F11735A:
 Userid: "Remi's RPM repository <remi@remirepo.net>"
 指纹: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
 来自: /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
确定吗?[y/N]: y
导入公钥成功
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1
  安装    : php-json-7.4.30-1.el8.remi.x86_64                              1/13
  运行脚本: php-common-7.4.30-1.el8.remi.x86_64                            2/13
  安装    : php-common-7.4.30-1.el8.remi.x86_64                            2/13
  安装    : php-cli-7.4.30-1.el8.remi.x86_64                               3/13
  安装    : php-opcache-7.4.30-1.el8.remi.x86_64                           4/13
  安装    : php-pdo-7.4.30-1.el8.remi.x86_64                               5/13
  安装    : php-xml-7.4.30-1.el8.remi.x86_64                               6/13
  安装    : oniguruma5php-6.9.8-1.el8.remi.x86_64                          7/13
  安装    : php-mbstring-7.4.30-1.el8.remi.x86_64                          8/13
  安装    : libsodium-1.0.18-2.el8.x86_64                                  9/13
  安装    : php-sodium-7.4.30-1.el8.remi.x86_64                           10/13
  运行脚本: nginx-filesystem-1:1.14.1-9.module_el8.0.0+184+e34fea82.noa   11/13
  安装    : nginx-filesystem-1:1.14.1-9.module_el8.0.0+184+e34fea82.noa   11/13
  安装    : php-fpm-7.4.30-1.el8.remi.x86_64                              12/13
  运行脚本: php-fpm-7.4.30-1.el8.remi.x86_64                              12/13
  安装    : php-7.4.30-1.el8.remi.x86_64                                  13/13
  运行脚本: php-7.4.30-1.el8.remi.x86_64                                  13/13
  运行脚本: php-fpm-7.4.30-1.el8.remi.x86_64                              13/13
  验证    : nginx-filesystem-1:1.14.1-9.module_el8.0.0+184+e34fea82.noa    1/13
  验证    : libsodium-1.0.18-2.el8.x86_64                                  2/13
  验证    : php-7.4.30-1.el8.remi.x86_64                                   3/13
  验证    : php-cli-7.4.30-1.el8.remi.x86_64                               4/13
  验证    : php-common-7.4.30-1.el8.remi.x86_64                            5/13
  验证    : php-fpm-7.4.30-1.el8.remi.x86_64                               6/13
  验证    : php-json-7.4.30-1.el8.remi.x86_64                              7/13
  验证    : php-mbstring-7.4.30-1.el8.remi.x86_64                          8/13
  验证    : php-opcache-7.4.30-1.el8.remi.x86_64                           9/13
  验证    : php-pdo-7.4.30-1.el8.remi.x86_64                              10/13
  验证    : php-sodium-7.4.30-1.el8.remi.x86_64                           11/13
  验证    : php-xml-7.4.30-1.el8.remi.x86_64                              12/13
  验证    : oniguruma5php-6.9.8-1.el8.remi.x86_64                         13/13

已安装:
  libsodium-1.0.18-2.el8.x86_64
  nginx-filesystem-1:1.14.1-9.module_el8.0.0+184+e34fea82.noarch
  oniguruma5php-6.9.8-1.el8.remi.x86_64
  php-7.4.30-1.el8.remi.x86_64
  php-cli-7.4.30-1.el8.remi.x86_64
  php-common-7.4.30-1.el8.remi.x86_64
  php-fpm-7.4.30-1.el8.remi.x86_64
  php-json-7.4.30-1.el8.remi.x86_64
  php-mbstring-7.4.30-1.el8.remi.x86_64
  php-opcache-7.4.30-1.el8.remi.x86_64
  php-pdo-7.4.30-1.el8.remi.x86_64
  php-sodium-7.4.30-1.el8.remi.x86_64
  php-xml-7.4.30-1.el8.remi.x86_64

完毕!
[root@nextcloud yum.repos.d]# php -v
PHP 7.4.30 (cli) (built: Jun  7 2022 08:38:19) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies
[root@nextcloud yum.repos.d]#

安装PHP模块

[root@nextcloud config]# php -v
PHP 7.4.30 (cli) (built: Jun  7 2022 08:38:19) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies
[root@nextcloud config]# dnf install -y php php-gd php-mbstring php-intl php-pecl-apcu\
>      php-mysqlnd php-opcache php-json php-zip
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:56:58 前,执行于 20220725日 星期一 094034秒。
软件包 php-7.4.30-1.el8.remi.x86_64 已安装。
软件包 php-mbstring-7.4.30-1.el8.remi.x86_64 已安装。
软件包 php-opcache-7.4.30-1.el8.remi.x86_64 已安装。
软件包 php-json-7.4.30-1.el8.remi.x86_64 已安装。
依赖关系解决。
===============================================================================
 软件包            架构       版本                      仓库              大小
===============================================================================
安装:
 php-gd            x86_64     7.4.30-1.el8.remi         remi-modular      95 k
 php-intl          x86_64     7.4.30-1.el8.remi         remi-modular     244 k
 php-mysqlnd       x86_64     7.4.30-1.el8.remi         remi-modular     262 k
 php-pecl-apcu     x86_64     5.1.21-1.el8.remi.7.4     remi-modular      81 k
 php-pecl-zip      x86_64     1.21.0-3.el8.remi.7.4     remi-modular      69 k
安装依赖关系:
 gd3php            x86_64     2.3.3-8.el8.remi          remi-safe        148 k
 libaom            x86_64     3.1.1-1.el8               epel             1.7 M
 libavif           x86_64     0.10.1-3.el8              epel              76 k
 libdav1d          x86_64     0.5.2-1.el8               epel             347 k
 libicu69          x86_64     69.1-1.el8.remi           remi-safe        9.6 M
 libimagequant     x86_64     2.12.5-1.el8              epel              63 k
 libraqm           x86_64     0.7.0-4.el8               epel              19 k
 libzip            x86_64     1.9.2-1.el8.remi          remi-modular      70 k
 svt-av1-libs      x86_64     0.8.7-1.el8               epel             4.7 M

事务概要
===============================================================================
安装  14 软件包

总下载:17 M
安装大小:52 M
下载软件包:
(1/14): libavif-0.10.1-3.el8.x86_64.rpm        149 kB/s |  76 kB     00:00
(2/14): libdav1d-0.5.2-1.el8.x86_64.rpm        628 kB/s | 347 kB     00:00
(3/14): libimagequant-2.12.5-1.el8.x86_64.rpm  584 kB/s |  63 kB     00:00
(4/14): libraqm-0.7.0-4.el8.x86_64.rpm          84 kB/s |  19 kB     00:00
(5/14): libaom-3.1.1-1.el8.x86_64.rpm          1.4 MB/s | 1.7 MB     00:01
(6/14): libzip-1.9.2-1.el8.remi.x86_64.rpm      61 kB/s |  70 kB     00:01
(7/14): php-gd-7.4.30-1.el8.remi.x86_64.rpm     98 kB/s |  95 kB     00:00
(8/14): svt-av1-libs-0.8.7-1.el8.x86_64.rpm    2.4 MB/s | 4.7 MB     00:01
(9/14): php-mysqlnd-7.4.30-1.el8.remi.x86_64.r 354 kB/s | 262 kB     00:00
(10/14): php-pecl-zip-1.21.0-3.el8.remi.7.4.x8 280 kB/s |  69 kB     00:00
(11/14): php-pecl-apcu-5.1.21-1.el8.remi.7.4.x  96 kB/s |  81 kB     00:00
(12/14): gd3php-2.3.3-8.el8.remi.x86_64.rpm    301 kB/s | 148 kB     00:00
(13/14): php-intl-7.4.30-1.el8.remi.x86_64.rpm  94 kB/s | 244 kB     00:02
(14/14): libicu69-69.1-1.el8.remi.x86_64.rpm   2.2 MB/s | 9.6 MB     00:04
-------------------------------------------------------------------------------
总计                                           1.8 MB/s |  17 MB     00:09
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                1/1
  安装    : libicu69-69.1-1.el8.remi.x86_64                               1/14
  安装    : libzip-1.9.2-1.el8.remi.x86_64                                2/14
  安装    : svt-av1-libs-0.8.7-1.el8.x86_64                               3/14
  安装    : libraqm-0.7.0-4.el8.x86_64                                    4/14
  安装    : libimagequant-2.12.5-1.el8.x86_64                             5/14
  安装    : libdav1d-0.5.2-1.el8.x86_64                                   6/14
  安装    : libaom-3.1.1-1.el8.x86_64                                     7/14
  安装    : libavif-0.10.1-3.el8.x86_64                                   8/14
  安装    : gd3php-2.3.3-8.el8.remi.x86_64                                9/14
  安装    : php-gd-7.4.30-1.el8.remi.x86_64                              10/14
  安装    : php-pecl-zip-1.21.0-3.el8.remi.7.4.x86_64                    11/14
  安装    : php-intl-7.4.30-1.el8.remi.x86_64                            12/14
  安装    : php-pecl-apcu-5.1.21-1.el8.remi.7.4.x86_64                   13/14
  安装    : php-mysqlnd-7.4.30-1.el8.remi.x86_64                         14/14
  运行脚本: php-mysqlnd-7.4.30-1.el8.remi.x86_64                         14/14
  验证    : libaom-3.1.1-1.el8.x86_64                                     1/14
  验证    : libavif-0.10.1-3.el8.x86_64                                   2/14
  验证    : libdav1d-0.5.2-1.el8.x86_64                                   3/14
  验证    : libimagequant-2.12.5-1.el8.x86_64                             4/14
  验证    : libraqm-0.7.0-4.el8.x86_64                                    5/14
  验证    : svt-av1-libs-0.8.7-1.el8.x86_64                               6/14
  验证    : libzip-1.9.2-1.el8.remi.x86_64                                7/14
  验证    : php-gd-7.4.30-1.el8.remi.x86_64                               8/14
  验证    : php-intl-7.4.30-1.el8.remi.x86_64                             9/14
  验证    : php-mysqlnd-7.4.30-1.el8.remi.x86_64                         10/14
  验证    : php-pecl-apcu-5.1.21-1.el8.remi.7.4.x86_64                   11/14
  验证    : php-pecl-zip-1.21.0-3.el8.remi.7.4.x86_64                    12/14
  验证    : gd3php-2.3.3-8.el8.remi.x86_64                               13/14
  验证    : libicu69-69.1-1.el8.remi.x86_64                              14/14

已安装:
  gd3php-2.3.3-8.el8.remi.x86_64
  libaom-3.1.1-1.el8.x86_64
  libavif-0.10.1-3.el8.x86_64
  libdav1d-0.5.2-1.el8.x86_64
  libicu69-69.1-1.el8.remi.x86_64
  libimagequant-2.12.5-1.el8.x86_64
  libraqm-0.7.0-4.el8.x86_64
  libzip-1.9.2-1.el8.remi.x86_64
  php-gd-7.4.30-1.el8.remi.x86_64
  php-intl-7.4.30-1.el8.remi.x86_64
  php-mysqlnd-7.4.30-1.el8.remi.x86_64
  php-pecl-apcu-5.1.21-1.el8.remi.7.4.x86_64
  php-pecl-zip-1.21.0-3.el8.remi.7.4.x86_64
  svt-av1-libs-0.8.7-1.el8.x86_64

完毕!
[root@nextcloud config]# dnf install -y php-redis php-imagick
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:57:20 前,执行于 20220725日 星期一 094034秒。
依赖关系解决。
===============================================================================
 软件包                         架构   版本                 仓库          大小
===============================================================================
安装:
 php-pecl-imagick-im6           x86_64 3.7.0-1.el8.remi.7.4 remi-modular 189 k
 php-pecl-redis5                x86_64 5.3.7-1.el8.remi.7.4 remi-modular 273 k
安装依赖关系:
 ImageMagick-libs               x86_64 6.9.12.50-2.el8      epel         2.3 M
 LibRaw                         x86_64 0.19.5-3.el8         AppStream    316 k
 OpenEXR-libs                   x86_64 2.2.0-12.el8         AppStream    672 k
 graphviz                       x86_64 2.40.1-43.el8        AppStream    1.7 M
 ilmbase                        x86_64 2.2.0-13.el8         AppStream    114 k
 libXaw                         x86_64 1.0.13-10.el8        AppStream    194 k
 liblzf                         x86_64 3.6-16.el8           epel          28 k
 libwmf-lite                    x86_64 0.2.9-8.el8_0        AppStream     77 k
 php-pecl-igbinary              x86_64 3.2.7-1.el8.remi.7.4 remi-modular 162 k
 php-pecl-msgpack               x86_64 2.1.2-1.el8.remi.7.4 remi-modular  65 k
 xorg-x11-fonts-ISO8859-1-100dpi
                                noarch 7.5-19.el8           AppStream    1.1 M

事务概要
===============================================================================
安装  13 软件包

总下载:7.2 M
安装大小:26 M
下载软件包:
(1/13): LibRaw-0.19.5-3.el8.x86_64.rpm         280 kB/s | 316 kB     00:01
(2/13): ilmbase-2.2.0-13.el8.x86_64.rpm        262 kB/s | 114 kB     00:00
(3/13): libXaw-1.0.13-10.el8.x86_64.rpm        318 kB/s | 194 kB     00:00
(4/13): OpenEXR-libs-2.2.0-12.el8.x86_64.rpm   272 kB/s | 672 kB     00:02
(5/13): libwmf-lite-0.2.9-8.el8_0.x86_64.rpm   236 kB/s |  77 kB     00:00
(6/13): ImageMagick-libs-6.9.12.50-2.el8.x86_6 5.7 MB/s | 2.3 MB     00:00
(7/13): liblzf-3.6-16.el8.x86_64.rpm           886 kB/s |  28 kB     00:00
(8/13): graphviz-2.40.1-43.el8.x86_64.rpm      333 kB/s | 1.7 MB     00:05
(9/13): php-pecl-igbinary-3.2.7-1.el8.remi.7.4  55 kB/s | 162 kB     00:02
(10/13): xorg-x11-fonts-ISO8859-1-100dpi-7.5-1 301 kB/s | 1.1 MB     00:03
(11/13): php-pecl-msgpack-2.1.2-1.el8.remi.7.4  63 kB/s |  65 kB     00:01
(12/13): php-pecl-imagick-im6-3.7.0-1.el8.remi  56 kB/s | 189 kB     00:03
(13/13): php-pecl-redis5-5.3.7-1.el8.remi.7.4.  23 kB/s | 273 kB     00:11
-------------------------------------------------------------------------------
总计                                           380 kB/s | 7.2 MB     00:19
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                1/1
  安装    : ilmbase-2.2.0-13.el8.x86_64                                   1/13
  运行脚本: ilmbase-2.2.0-13.el8.x86_64                                   1/13
  安装    : OpenEXR-libs-2.2.0-12.el8.x86_64                              2/13
  运行脚本: OpenEXR-libs-2.2.0-12.el8.x86_64                              2/13
  安装    : php-pecl-msgpack-2.1.2-1.el8.remi.7.4.x86_64                  3/13
  安装    : php-pecl-igbinary-3.2.7-1.el8.remi.7.4.x86_64                 4/13
  安装    : liblzf-3.6-16.el8.x86_64                                      5/13
  安装    : xorg-x11-fonts-ISO8859-1-100dpi-7.5-19.el8.noarch             6/13
  运行脚本: xorg-x11-fonts-ISO8859-1-100dpi-7.5-19.el8.noarch             6/13
  安装    : libwmf-lite-0.2.9-8.el8_0.x86_64                              7/13
  运行脚本: libwmf-lite-0.2.9-8.el8_0.x86_64                              7/13
  安装    : libXaw-1.0.13-10.el8.x86_64                                   8/13
  安装    : graphviz-2.40.1-43.el8.x86_64                                 9/13
  运行脚本: graphviz-2.40.1-43.el8.x86_64                                 9/13
  安装    : LibRaw-0.19.5-3.el8.x86_64                                   10/13
  安装    : ImageMagick-libs-6.9.12.50-2.el8.x86_64                      11/13
  安装    : php-pecl-imagick-im6-3.7.0-1.el8.remi.7.4.x86_64             12/13
  安装    : php-pecl-redis5-5.3.7-1.el8.remi.7.4.x86_64                  13/13
  运行脚本: php-pecl-redis5-5.3.7-1.el8.remi.7.4.x86_64                  13/13
  验证    : LibRaw-0.19.5-3.el8.x86_64                                    1/13
  验证    : OpenEXR-libs-2.2.0-12.el8.x86_64                              2/13
  验证    : graphviz-2.40.1-43.el8.x86_64                                 3/13
  验证    : ilmbase-2.2.0-13.el8.x86_64                                   4/13
  验证    : libXaw-1.0.13-10.el8.x86_64                                   5/13
  验证    : libwmf-lite-0.2.9-8.el8_0.x86_64                              6/13
  验证    : xorg-x11-fonts-ISO8859-1-100dpi-7.5-19.el8.noarch             7/13
  验证    : ImageMagick-libs-6.9.12.50-2.el8.x86_64                       8/13
  验证    : liblzf-3.6-16.el8.x86_64                                      9/13
  验证    : php-pecl-igbinary-3.2.7-1.el8.remi.7.4.x86_64                10/13
  验证    : php-pecl-imagick-im6-3.7.0-1.el8.remi.7.4.x86_64             11/13
  验证    : php-pecl-msgpack-2.1.2-1.el8.remi.7.4.x86_64                 12/13
  验证    : php-pecl-redis5-5.3.7-1.el8.remi.7.4.x86_64                  13/13

已安装:
  ImageMagick-libs-6.9.12.50-2.el8.x86_64
  LibRaw-0.19.5-3.el8.x86_64
  OpenEXR-libs-2.2.0-12.el8.x86_64
  graphviz-2.40.1-43.el8.x86_64
  ilmbase-2.2.0-13.el8.x86_64
  libXaw-1.0.13-10.el8.x86_64
  liblzf-3.6-16.el8.x86_64
  libwmf-lite-0.2.9-8.el8_0.x86_64
  php-pecl-igbinary-3.2.7-1.el8.remi.7.4.x86_64
  php-pecl-imagick-im6-3.7.0-1.el8.remi.7.4.x86_64
  php-pecl-msgpack-2.1.2-1.el8.remi.7.4.x86_64
  php-pecl-redis5-5.3.7-1.el8.remi.7.4.x86_64
  xorg-x11-fonts-ISO8859-1-100dpi-7.5-19.el8.noarch

完毕!

安装mariadb

[root@nextcloud yum.repos.d]# dnf install -y mariadb mariadb-server
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:33:26 前,执行于 20220722日 星期五 092555秒。
依赖关系解决。
================================================================================
 软件包          架构   版本                                    仓库       大小
================================================================================
安装:
 mariadb         x86_64 3:10.3.28-1.module_el8.3.0+757+d382997d AppStream 6.0 M
 mariadb-server  x86_64 3:10.3.28-1.module_el8.3.0+757+d382997d AppStream  16 M
安装依赖关系:
 mariadb-common  x86_64 3:10.3.28-1.module_el8.3.0+757+d382997d AppStream  64 k
 mariadb-connector-c
                 x86_64 3.1.11-2.el8_3                          AppStream 200 k
 mariadb-connector-c-config
                 noarch 3.1.11-2.el8_3                          AppStream  15 k
 mariadb-errmsg  x86_64 3:10.3.28-1.module_el8.3.0+757+d382997d AppStream 234 k
 perl-DBD-MySQL  x86_64 4.046-3.module_el8.3.0+419+c2dec72b     AppStream 156 k
安装弱的依赖:
 mariadb-backup  x86_64 3:10.3.28-1.module_el8.3.0+757+d382997d AppStream 6.1 M
 mariadb-gssapi-server
                 x86_64 3:10.3.28-1.module_el8.3.0+757+d382997d AppStream  51 k
 mariadb-server-utils
                 x86_64 3:10.3.28-1.module_el8.3.0+757+d382997d AppStream 1.1 M
启用模块流:
 mariadb                10.3
 perl-DBD-MySQL         4.046

事务概要
================================================================================
安装  10 软件包

总下载:30 M
安装大小:153 M
下载软件包:
(1/10): mariadb-common-10.3.28-1.module_el8.3.0 115 kB/s |  64 kB     00:00
(2/10): mariadb-connector-c-3.1.11-2.el8_3.x86_ 168 kB/s | 200 kB     00:01
(3/10): mariadb-connector-c-config-3.1.11-2.el8 122 kB/s |  15 kB     00:00
(4/10): mariadb-errmsg-10.3.28-1.module_el8.3.0 171 kB/s | 234 kB     00:01
(5/10): mariadb-gssapi-server-10.3.28-1.module_ 137 kB/s |  51 kB     00:00
(6/10): mariadb-backup-10.3.28-1.module_el8.3.0 180 kB/s | 6.1 MB     00:34
(7/10): mariadb-10.3.28-1.module_el8.3.0+757+d3 178 kB/s | 6.0 MB     00:34
(8/10): perl-DBD-MySQL-4.046-3.module_el8.3.0+4 174 kB/s | 156 kB     00:00
(9/10): mariadb-server-utils-10.3.28-1.module_e 176 kB/s | 1.1 MB     00:06
(10/10): mariadb-server-10.3.28-1.module_el8.3. 204 kB/s |  16 MB     01:21
--------------------------------------------------------------------------------
总计                                            363 kB/s |  30 MB     01:24
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1
  安装    : mariadb-connector-c-config-3.1.11-2.el8_3.noarch               1/10
  安装    : mariadb-common-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    2/10
  安装    : mariadb-errmsg-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    3/10
  安装    : perl-DBD-MySQL-4.046-3.module_el8.3.0+419+c2dec72b.x86_64      4/10
  安装    : mariadb-connector-c-3.1.11-2.el8_3.x86_64                      5/10
  安装    : mariadb-backup-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    6/10
  安装    : mariadb-gssapi-server-3:10.3.28-1.module_el8.3.0+757+d38299    7/10
  安装    : mariadb-server-utils-3:10.3.28-1.module_el8.3.0+757+d382997    8/10
  运行脚本: mariadb-server-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    9/10
  安装    : mariadb-server-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    9/10
  运行脚本: mariadb-server-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    9/10
  安装    : mariadb-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64        10/10
  运行脚本: mariadb-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64        10/10
  验证    : mariadb-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64         1/10
  验证    : mariadb-backup-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    2/10
  验证    : mariadb-common-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    3/10
  验证    : mariadb-connector-c-3.1.11-2.el8_3.x86_64                      4/10
  验证    : mariadb-connector-c-config-3.1.11-2.el8_3.noarch               5/10
  验证    : mariadb-errmsg-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    6/10
  验证    : mariadb-gssapi-server-3:10.3.28-1.module_el8.3.0+757+d38299    7/10
  验证    : mariadb-server-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_    8/10
  验证    : mariadb-server-utils-3:10.3.28-1.module_el8.3.0+757+d382997    9/10
  验证    : perl-DBD-MySQL-4.046-3.module_el8.3.0+419+c2dec72b.x86_64     10/10

已安装:
  mariadb-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64
  mariadb-backup-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64
  mariadb-common-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64
  mariadb-connector-c-3.1.11-2.el8_3.x86_64
  mariadb-connector-c-config-3.1.11-2.el8_3.noarch
  mariadb-errmsg-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64
  mariadb-gssapi-server-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64
  mariadb-server-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64
  mariadb-server-utils-3:10.3.28-1.module_el8.3.0+757+d382997d.x86_64
  perl-DBD-MySQL-4.046-3.module_el8.3.0+419+c2dec72b.x86_64

完毕!
[root@nextcloud yum.repos.d]# systemctl enable mariadb.service
Created symlink /etc/systemd/system/mysql.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/mysqld.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /usr/lib/systemd/system/mariadb.service.
[root@nextcloud yum.repos.d]# mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
Aborting!

Cleaning up...
[root@nextcloud yum.repos.d]# systemctl start mariadb.service
[root@nextcloud yum.repos.d]#
[root@nextcloud yum.repos.d]# cd /etc/
[root@nextcloud etc]# mkdir mysq
[root@nextcloud etc]# mkdir mysql
[root@nextcloud etc]# cd mysql
[root@nextcloud mysql]# pwd
/etc/mysql
[root@nextcloud mysql]# vi my.cnf
[root@nextcloud mysql]# mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[root@nextcloud mysql]# mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 9
Server version: 10.3.28-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
Query OK, 1 row affected (0.000 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES on nextcloud.* to 'username'@'localhost';
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> FLUSH privileges;
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> quit
Bye
[root@nextcloud mysql]# dnf install -y redis
Repository extras is listed more than once in the configuration
上次元数据过期检查:0:39:19 前,执行于 20220722日 星期五 092555秒。
依赖关系解决。
================================================================================
 软件包   架构      版本                                     仓库          大小
================================================================================
安装:
 redis    x86_64    5.0.3-5.module_el8.4.0+955+7126e393      AppStream    927 k
启用模块流:
 redis              5

事务概要
================================================================================
安装  1 软件包

总下载:927 k
安装大小:3.2 M
下载软件包:
redis-5.0.3-5.module_el8.4.0+955+7126e393.x86_6 265 kB/s | 927 kB     00:03
--------------------------------------------------------------------------------
总计                                            265 kB/s | 927 kB     00:03
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1
  运行脚本: redis-5.0.3-5.module_el8.4.0+955+7126e393.x86_64                1/1
  安装    : redis-5.0.3-5.module_el8.4.0+955+7126e393.x86_64                1/1
  运行脚本: redis-5.0.3-5.module_el8.4.0+955+7126e393.x86_64                1/1
  验证    : redis-5.0.3-5.module_el8.4.0+955+7126e393.x86_64                1/1

已安装:
  redis-5.0.3-5.module_el8.4.0+955+7126e393.x86_64

完毕!
[root@nextcloud mysql]# systemctl enable redis.service
Created symlink /etc/systemd/system/multi-user.target.wants/redis.service → /usr/lib/systemd/system/redis.service.
[root@nextcloud mysql]# systemctl start redis.service
[root@nextcloud mysql]#

安装NEXTCLOUD

[root@nextcloud html]# bzip2 -d nextcloud-24.0.3.tar.bz2
[root@nextcloud html]# tar -xvf nextcloud-24.0.3.tar
[root@nextcloud html]# cp -R nextcloud/ /var/www/html/
[root@nextcloud html]# mkdir /var/www/html/nextcloud/data
[root@nextcloud html]# chown -R apache:apache /var/www/html/nextcloud
[root@nextcloud html]# systemctl restart httpd.service
[root@nextcloud html]# firewall-cmd --zone=public --add-service=http --permanent
[root@nextcloud html]# firewall-cmd --reload
————————————————
版权声明:本文为CSDN博主「weixin_44048054」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_44048054/article/details/125893912

在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值