摘要: 1.安装epel仓库 yum install -y epel-release 2.清理旧缓存,重新生成yum缓存 yum clean all && yum makecache 3.安装nginx yum install -y nginx 阅读全文
posted @ 2026-10-20 15:10 水流深 阅读(3) 评论(0) 推荐(0)
摘要: 确认服务器版本: cat /etc/centos-release 换阿里云的数据源: curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo 查看文件: head -5 /etc/ 阅读全文
posted @ 2026-10-20 15:03 水流深 阅读(2) 评论(0) 推荐(0)
摘要: 一、explain 核心字段重点 type(访问类型,性能从优到劣) system > const > eq_ref > ref > range > index > ALL ALL:全表扫描,需要优化 ref:等值匹配普通索引 range:范围查询(> < between in) key:本次查询实 阅读全文
posted @ 2026-10-07 23:23 水流深 阅读(5) 评论(0) 推荐(0)