Difference between revisions of "hidden:RHL-Upgrade from 6.4 to 6.7"
From Lsdf
Line 1: | Line 1: | ||
+ | '''BEGIN''' |
||
+ | |||
1. change yum.conf |
1. change yum.conf |
||
vi /etc/yum.conf |
vi /etc/yum.conf |
||
Line 8: | Line 10: | ||
Release set to: 6.7 |
Release set to: 6.7 |
||
3.yum --enablerepo=rhel-6-server-rpms update |
3.yum --enablerepo=rhel-6-server-rpms update |
||
+ | |||
4.reboot |
4.reboot |
||
+ | |||
5. vi /etc/yum.conf |
5. vi /etc/yum.conf |
||
Line 15: | Line 19: | ||
'''END''' |
'''END''' |
||
− | ''' |
+ | '''MISCELLANEOUS''' |
− | |||
− | yum --security --enablerepo=rhel-6-server-rpms check-update |
||
− | yum --security --enablerepo=rhel-6-server-rpms update |
||
− | |||
− | 15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)~~ |
||
− | archive-sftp-01/02 |
||
− | |||
− | Ich habe jetzt geändert: |
||
− | |||
− | In /etc/sysconfig/yum-autoupdate habe ich folgendes eingetragen: |
||
− | |||
− | CHECK_ONLY="true" (yum schaut jeden Tag ob es neue Updates gibt und schickt |
||
− | eine Email an hpss-admin@lists.kit.edu) |
||
− | |||
− | Wir werden entscheiden ob wir die Updates installieren. |
||
− | |||
− | Da die Updates nicht automatisch geupdatet werden, habe ich auch die |
||
− | folgende Zeile auskommentiert: |
||
− | |||
− | #EXCLUDE="kernel* openafs* *-kmdl-* kmod-* *firmware*" |
||
+ | yum --security --enablerepo=rhel-6-server-rpms check-update |
||
− | d.h: wir werden über alle Updates informiert. |
||
+ | yum --security --enablerepo=rhel-6-server-rpms update |
||
+ | |||
+ | '''archive-sftp-01/02''' |
||
+ | vi /etc/sysconfig/yum-autoupdate |
||
− | 15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)15:05, 12 July 2016 (CEST)[[User:Dorin-daniel.lobontu|Dorin-daniel.lobontu]] ([[User talk:Dorin-daniel.lobontu|talk]]) 15:05, 12 July 2016 (CEST) |
||
+ | CHECK_ONLY="true" (yum checks every day if there is a new update and send an email at hpss-admin@lists.kit.edu) |
||
+ | The administrators decide if the updates have to be applied or not |
||
+ | Since the updates are not automatically applied we can also have: |
||
+ | EXCLUDE="kernel* openafs* *-kmdl-* kmod-* *firmware*" |
||
+ | so that the administrators are informed about all existing updates |
Revision as of 15:16, 12 July 2016
BEGIN
1. change yum.conf
vi /etc/yum.conf #exclude=redhat-release*,kernel*,glibc*
2.[root@hpsscr02 bin]# subscription-manager release
Release: 6.4 [root@hpsscr02 bin]# subscription-manager release --set=6.7 Release set to: 6.7
3.yum --enablerepo=rhel-6-server-rpms update
4.reboot
5. vi /etc/yum.conf
exclude=redhat-release*,kernel*,glibc*
END
MISCELLANEOUS
yum --security --enablerepo=rhel-6-server-rpms check-update yum --security --enablerepo=rhel-6-server-rpms update archive-sftp-01/02
vi /etc/sysconfig/yum-autoupdate CHECK_ONLY="true" (yum checks every day if there is a new update and send an email at hpss-admin@lists.kit.edu) The administrators decide if the updates have to be applied or not Since the updates are not automatically applied we can also have: EXCLUDE="kernel* openafs* *-kmdl-* kmod-* *firmware*" so that the administrators are informed about all existing updates