首先查看当前版本信息
# uname -a
Linux localhost.localdomain3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64GNU/Linux
# cat/etc/redhat-release
CentOS Linux release 7.0.1406 (Core)
通过yum命令进行系统升级
[root@ZZSRV2 ~]# yum update →更新软件包不带任何参数的选项update可以更新所有已安装的软件包
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00
extras | 3.3 kB 00:00
updates | 3.4 kB 00:00
updates/7/x86_64/primary_db | 2.8 MB 00:03
Loading mirror speeds from cached hostfile
* base: mirrors.neusoft.edu.cn
* extras: mirrors.skyshe.cn
* updates: mirrors.neusoft.edu.cn
Resolving Dependencies
--> Running transaction c