当前 CentOS 最新发行版本是 CentOS 7.6.1810。本文为将 CentOS 更新至最新版本(CentOS 7.6.1810)教程。
使用 “更新” 即将所有 CentOS 系统软件升级至最新版本。
yum 操作不建议使用 “-y”。
检查 CentOS 版本
# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
备份重要数据及目录
更新升级
# yum clean all
# yum update
重新启动服务器
# reboot
检查 CentOS 版本
# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)