hidden:RHL-Upgrade from 6.4 to 6.7: Difference between revisions

From Lsdf
Jump to navigationJump to search
(Created page with "'''BEGIN''' 1. '''change yum.conf''' vi /etc/yum.conf <nowiki>#</nowiki>exclude=redhat-release*,kernel*,glibc* 2.[root@hpsscr02 bin]# subscription-manager release Release...")
 
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 5: Line 5:
<nowiki>#</nowiki>exclude=redhat-release*,kernel*,glibc*
<nowiki>#</nowiki>exclude=redhat-release*,kernel*,glibc*


2.[root@hpsscr02 bin]# subscription-manager release
2.'''[root@hpsscr02 bin]# subscription-manager release'''
Release: 6.4
Release: 6.7
[root@hpsscr02 bin]# subscription-manager release --set=6.7
[root@hpsscr02 bin]# subscription-manager release --set=6.7
Release set to: 6.7
Release set to: 6.7
'''NOTE:'''subscription-manager release --set has to be run again after a new subscription
3.yum --enablerepo=rhel-6-server-rpms update
Or only ask the set release:
4.reboot
[root@hpsstcr03 ~]# subscription-manager release
5. vi /etc/yum.conf
Release: 6.7


3.'''yum --enablerepo=rhel-6-server-rpms update'''
exclude=redhat-release*,kernel*,glibc*


'''END'''
4.'''reboot'''


'''OTHERS'''
5. '''vi /etc/yum.conf'''
exclude=redhat-release*,kernel*,glibc*


'''END'''
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:


'''MISCELLANEOUS'''
CHECK_ONLY="true" (yum schaut jeden Tag ob es neue Updates gibt und schickt
yum --enablerepo=rhel-6-server-rpms clean all
eine Email an hpss-admin@lists.kit.edu)
yum --security --enablerepo=rhel-6-server-rpms check-update
yum --security --enablerepo=rhel-6-server-rpms update
'''archive-sftp-01/02 && archive-gftp-fuse'''


vi /etc/sysconfig/yum-autoupdate
Wir werden entscheiden ob wir die Updates installieren.
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:
<nowiki>#</nowiki>EXCLUDE="kernel* openafs* *-kmdl-* kmod-* *firmware*"
so that the administrators are informed about all existing updates
Enable only security updates checks(yum-plugin-security has to be installed)
#Dorin on 03.08.2017
USE_YUMSEC="true"
#Dorin 09.03.2018 changed to false, there is a similar check in icinga
#ENABLED="true"
ENABLED="false"


Da die Updates nicht automatisch geupdatet werden, habe ich auch die
'''MISCELLANEOUS'''
folgende Zeile auskommentiert:
yum repolist
yum --enablerepo=sl6x-security update


Stop/start gridFTP servers
#EXCLUDE="kernel* openafs* *-kmdl-* kmod-* *firmware*"
[root@archive-sftp-01 init.d]# service gridftpd stop/start


d.h: wir werden über alle Updates informiert.


----[[ hidden:HPSS|<small>back to HPPS main page</small>]]
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)

Latest revision as of 12:17, 9 March 2018

BEGIN

1. change yum.conf

vi /etc/yum.conf
#exclude=redhat-release*,kernel*,glibc*

2.[root@hpsscr02 bin]# subscription-manager release

Release: 6.7
[root@hpsscr02 bin]# subscription-manager release --set=6.7
Release set to: 6.7
NOTE:subscription-manager release --set has to be run again after a new subscription
Or only ask the set release:
[root@hpsstcr03 ~]# subscription-manager release
Release: 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 --enablerepo=rhel-6-server-rpms clean all
yum --security --enablerepo=rhel-6-server-rpms check-update
yum --security --enablerepo=rhel-6-server-rpms update 

archive-sftp-01/02 && archive-gftp-fuse

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
Enable only security updates checks(yum-plugin-security has to be installed)
#Dorin on 03.08.2017
USE_YUMSEC="true"
#Dorin 09.03.2018 changed to false, there is a similar check in icinga
#ENABLED="true"
ENABLED="false"


MISCELLANEOUS

yum repolist
yum --enablerepo=sl6x-security update
Stop/start gridFTP servers
[root@archive-sftp-01 init.d]# service gridftpd stop/start



back to HPPS main page