找回密码
 register
搜索
查看: 1927|回复: 4

[游戏教程] 源端单机保姆级单机搭建教程 64位引擎源端怀旧 Centos 9.5 Mysql 8

[复制链接]
  • 打卡等级:本地老炮
  • 打卡总天数:523
  • 打卡月天数:12
  • 打卡总奖励:521
  • 最近打卡:2026-06-14 09:46:51
Waylee 发表于 2025-4-25 13:33 | 显示全部楼层 |阅读模式 | Google Chrome | Windows 10

更新时间:2025-05-29

CentOS Stream 9 配置

1.1 mysql 安装即配置

先上传软件包里面的 mysql-connector-odbc-8.3.0-1.el8.x86_64.rpm 到 root 目录。

关闭 selinux

修改 /etc/selinux/config 找到 22 行,把 enforce 改成 disabled
一键修改命令:

sudo sed -i 's/^SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config

上传附件到 /opt

附件: mysql-connector-odbc-8.3.0-1.el8.x86_64.rpm 下载地址: https://www.123684.com/s/xZouVv-0RZW3

关闭防火墙并禁止开机启动

systemctl stop firewalld
systemctl disable firewalld

安装核心组件

cd /opt
dnf clean all
dnf makecache
dnf -y install vim wget
dnf -y install mysql mysql-errmsg mysql-selinux mysql-server mysql-common unixODBC
dnf -y install mysql-connector-odbc-8.3.0-1.el8.x86_64.rpm

查看 myql 版本

mysql -V

输出参考信息:mysql Ver 8.0.41 for Linux on x86_64 (Source distribution)

开启 mysql 服务

# 启动 mysql 服务
systemctl start mysqld
# 开机自动启动 mysql 服务
systemctl enable mysqld

***付费内容***

付费看帖
剩余 65% 内容需要支付 5.00 金币 后可完整阅读
支持付费阅读,激励作者创作更好的作品。
已有12人购买阅读
  • 955
  • 1304
  • 665
  • 1225
  • 1488
  • 1538
  • 1433
  • 1358
  • 1864
  • 1011

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?register

×
  • 打卡等级:即来则安
  • 打卡总天数:18
  • 打卡月天数:0
  • 打卡总奖励:18
  • 最近打卡:2026-03-24 00:08:59
繁星 发表于 2025-5-3 15:10 | 显示全部楼层 | Google Chrome | Windows 10
感谢雪舞分享,尝试写一个一键搭建环境的脚步
  • 打卡等级:初来乍到
  • 打卡总天数:5
  • 打卡月天数:0
  • 打卡总奖励:5
  • 最近打卡:2026-03-21 02:47:34
ad9527 发表于 2026-2-2 13:14 | 显示全部楼层 | Edg | Windows 10
感谢雪舞分享,尝试写一个一键搭建环境的脚步
  • 打卡等级:即来则安
  • 打卡总天数:16
  • 打卡月天数:0
  • 打卡总奖励:16
  • 最近打卡:2026-05-01 18:08:55
4197323 发表于 2026-2-15 22:16 | 显示全部楼层 | Edg | Windows 10
感谢雪舞分享,尝试写一个一键搭建环境的脚步
  • 打卡等级:即来则安
  • 打卡总天数:17
  • 打卡月天数:3
  • 打卡总奖励:17
  • 最近打卡:2026-06-14 22:32:39
hy123 发表于 2026-5-5 22:20 | 显示全部楼层 | Edg | Windows 10
感谢雪舞分享,尝试写一个一键搭建环境的脚步                                          
您需要登录后才可以回帖 登录 | register

本版积分规则

QQ|雪舞知识库 ( 浙ICP备15015590号-1 | 萌ICP备20232229号|浙公网安备33048102000118号 )|天天打卡

GMT+8, 2026-6-14 23:52 , Processed in 0.078312 second(s), 37 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表