Original production environment:
Os:centos release6.7 (Final)
[[Email protected]]# uname-a
Linux sky9896 2.6.32-573.12.1.el6.x86_64#1 SMP Tue Dec 21:19:08 UTC x86_64 x86_64 x86_64 gnu/linux
Will the version and kernel change after the upgrade?
1. #yum –y Upgrade
// upgrade all packages, do not change the software settings and system settings, System version upgrade, the kernel does not change.
[Email protected]]# yum–y Upgrade
After executing upgrade ,the OS version environment and package changed, but the kernel did not change.
[[Email protected] ~] #cat/etc/redhat-release
CentOS Release 6.8 (Final) #版本由6.7 Upgrade to 6.8
[[Email protected] ~] #uname-A
Linux sky9896 2.6.32-573.12.1.el6.x86_64#1 SMP Tue Dec 21:19:08 UTC x86_64 x86_64 x86_64 gnu/linux #内核没有变化
2. Upgrade All packages, change software settings and system settings, and upgrade the system version kernel.
[Email protected]]# yum-y-update
// in a production environment, if Update upgrade, unable to estimate the consequences of the upgrade, do not do here Update upgrade the experiment.
Here also ask you a question: On the production server, whether the above two ways to upgrade the system, so that the appropriate operation?
This article is from the "Linux~dba~mba~eie" blog, make sure to keep this source http://sky9896.blog.51cto.com/2330653/1784526
The difference between yum-y upgrade and yum-y update