当前位置: 首页 > wzjs >正文

东莞市国外网站建设多少钱修改 wordpress footer

东莞市国外网站建设多少钱,修改 wordpress footer,网页设计入门书,优化网页设计是什么在 CentOS Stream 上安装 MySQL 的方法与传统的 CentOS 类似,但由于 CentOS Stream 的软件包更新策略不同,可能会遇到一些依赖问题。以下是详细安装步骤: 1. 添加 MySQL 官方 Yum 仓库 sudo rpm -Uvh https://dev.mysql.com/get/mysql80-co…

在 CentOS Stream 上安装 MySQL 的方法与传统的 CentOS 类似,但由于 CentOS Stream 的软件包更新策略不同,可能会遇到一些依赖问题。以下是详细安装步骤:

1. 添加 MySQL 官方 Yum 仓库

sudo rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-el9-1.noarch.rpm

注意

  • 如果是 CentOS Stream 8,使用 el8 版本:

    sudo rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-el8-4.noarch.rpm
  • 如果是 CentOS Stream 9,使用 el9 版本(如上)。


2. 检查可用的 MySQL 版本

sudo dnf module list mysql

如果默认启用的是 MySQL 8.0,可以直接安装。如果需要 MySQL 5.7(不推荐,即将停止支持),可以禁用 8.0 并启用 5.7:

sudo dnf config-manager --disable mysql80-community
sudo dnf config-manager --enable mysql57-community

3. 安装 MySQL Server

sudo dnf install mysql-community-server

 如果遇到依赖问题(如 libssl 或 libcrypto 缺失),可以尝试:

sudo dnf install openssl

或手动安装兼容版本:

sudo dnf install openssl1.1
在运行sudo dnf install mysql-community-server命令时报错
MySQL 8.0 Community Server                                                                                                                                                                                                                                                                                    3.0 MB/s | 3.1 kB     00:00    
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022 (0x3A79BD29) is already installed
The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: mysql-community-client-8.0.41-1.el9.x86_64GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Public key for mysql-community-client-plugins-8.0.41-1.el9.x86_64.rpm is not installed. Failing package is: mysql-community-client-plugins-8.0.41-1.el9.x86_64GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Public key for mysql-community-common-8.0.41-1.el9.x86_64.rpm is not installed. Failing package is: mysql-community-common-8.0.41-1.el9.x86_64GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Public key for mysql-community-icu-data-files-8.0.41-1.el9.x86_64.rpm is not installed. Failing package is: mysql-community-icu-data-files-8.0.41-1.el9.x86_64GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Public key for mysql-community-libs-8.0.41-1.el9.x86_64.rpm is not installed. Failing package is: mysql-community-libs-8.0.41-1.el9.x86_64GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Public key for mysql-community-server-8.0.41-1.el9.x86_64.rpm is not installed. Failing package is: mysql-community-server-8.0.41-1.el9.x86_64GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

这个错误是因为 MySQL 的 GPG 密钥验证失败(因为我之前安装了别的版本),导致无法安装软件包。错误信息表明:

  1. GPG 密钥已安装,但不匹配The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package)。

  2. 部分软件包的公共密钥未安装Public key for mysql-community-xxx is not installed)。


解决方案:重新导入正确的 MySQL GPG 密钥
1. 删除旧的 GPG 密钥
sudo rpm -e --allmatches gpg-pubkey $(rpm -qa | grep gpg-pubkey | grep -i mysql)

这会移除所有与 MySQL 相关的旧 GPG 密钥。

2. 重新下载并导入最新的 MySQL GPG 密钥
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023

注意

  • 如果 2023 版本的密钥仍然有问题,可以尝试 2022

    sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
3. 清理缓存并重新安装
sudo dnf clean all
sudo dnf install mysql-community-server

4. 启动 MySQL 并设置开机自启

sudo systemctl start mysqld
sudo systemctl enable mysqld

5. 获取临时 root 密码

sudo grep 'temporary password' /var/log/mysqld.log

输出类似:

2023-01-01T12:00:00.000000Z 1 [Note] A temporary password is generated for root@localhost: XXXXXXXXX

6. 运行安全配置向导

sudo mysql_secure_installation

按照提示:

  1. 输入临时密码。

  2. 设置新密码(需符合 MySQL 密码策略)。

  3. 移除匿名用户?Y

  4. 禁止 root 远程登录?Y

  5. 删除测试数据库?Y

  6. 重新加载权限表?Y


文章转载自:

http://Lyk2Qmmc.mjtft.cn
http://PEPif3mi.mjtft.cn
http://DThSreb1.mjtft.cn
http://tKDBsbiS.mjtft.cn
http://mbYgskwu.mjtft.cn
http://1uSOI2Il.mjtft.cn
http://0WqSKv8I.mjtft.cn
http://NDNbSzht.mjtft.cn
http://r4ueofcG.mjtft.cn
http://xPbuIONB.mjtft.cn
http://VHnGM7Ms.mjtft.cn
http://K8qNqLId.mjtft.cn
http://ekeWJfkz.mjtft.cn
http://rdNBybjJ.mjtft.cn
http://AYpXN2Wp.mjtft.cn
http://qi9C1FbC.mjtft.cn
http://gnAJYp3z.mjtft.cn
http://OwwtfJo5.mjtft.cn
http://SnbYHvOA.mjtft.cn
http://MfwUVyBW.mjtft.cn
http://9XqnKtuc.mjtft.cn
http://17p9jO4d.mjtft.cn
http://0JUDwINd.mjtft.cn
http://ks4VUULu.mjtft.cn
http://EYfEBars.mjtft.cn
http://7vc0jVTf.mjtft.cn
http://bteWKClK.mjtft.cn
http://fHHiOBds.mjtft.cn
http://EKyr0Vu4.mjtft.cn
http://QcD8AjzZ.mjtft.cn
http://www.dtcms.com/wzjs/689205.html

相关文章:

  • 网站开发一个人可以完成吗做led灯网站有哪些呢
  • 知名的教育行业网站开发ui自学网站
  • 俄语网站上海市建设工程招标公告
  • flash网站模板源码专业网站设计制作过程
  • 企业网站怎么管理系统招生处网站建设方案
  • 如何利用微信进行企业网站推广兴义网站建设网站建设
  • 做互联网网站需要什么资质吗鞍山网站制作推广
  • 网站是怎么建成的公司网站上线的通知
  • 做地方黄页网站外链代发公司
  • 电商企业门户网站建设方案国际军事新闻最新消息今天
  • dede网站模板页在什么文件夹自己做模板网站
  • 常用外贸网站企业网站建设的缺点
  • 网站打不开了怎么办商城小程序定制公司
  • 建设工程学部研究生培养网站商洛网站开发公司
  • 高档网站建设公司广州英文建站公司
  • 网站支付宝怎么做的数字广东网络建设有限公司地址
  • 做网站定制开发的公司哪家好济南快速网站排名
  • 网站开发+进度表做互联网产品和运营必备的网站
  • 张家港手机网站制作教育行业展示网站模板
  • 东莞正规的企业网站设计多少钱wordpress 标题长度 省略号
  • 做兼职一般去哪个网站好无锡网站的优化哪家好
  • 做网站 帮别人卖服务器湖州市交通建设管理局网站
  • 打开网站弹出qq对话框任务发布平台
  • 在淘宝上做网站如何付费网页兼容性站点
  • 单片机和做网站重庆营销型网站制作
  • 做树状图的网站深圳的网站建设公司推荐
  • 建设网站过程中天津seo霸屏
  • 海南综合网站电子商务网站功能介绍
  • 国内10大网站建设公司app外包公司推荐
  • 四川红叶建设有限公司网站六安网站制作多少钱