INFORMATICS

The Best

The procedure for raising the CentOS version 6.5 to version 7.0

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

The document translated automatically

The procedure for raising the CentOS version 6.5 to version 7.0

We start with the installation of Redhat upgrade tool:

We add a new repository since redhat-upgrade-tool is not available in the standard repositories.

# Vi /etc/yum.repos.d/upgrade.repo

Add the following entry:

[upgrade] name = upgrade baseurl = http: //dev.centos.org/centos/6/upg/x86_64/

enabled = 1

gpgcheck = 1

The second stage of installing these packages

# Yum install preupgrade es-assistant-contents redhat-upgrade-tool preupgrade-assistant

Enter the command preupg to diagnose any problems that arise during the renovation

# preupg

or you can enter a command that will show errors

# Preupg --riskcheck --verbose

  We import the GPG key needed:

# Rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7

Charge to initiate the update package:

# Centos-upgrade-tool-cli --network 7 --instrepo = http: //mirror.centos.org/centos/7/os/x86_64/

If at this point we find the problems wymuśmy power To assume:

# Centos-upgrade-tool-cli --network 7 --force --instrepo = http: //mirror.centos.org/centos/7/os/x86_64/

rpm transaction 100%

setting up the system for upgrade Finished. Reboot to start the upgrade.

At the end we reboot the system during boot is updated.

#reboot

If during testing preupg command will show the errors could mean that the execution of the upgrade is virtually impossible.

Errors found during the installation that prevent the upgrade:

preupgrade-assistant risk check found EXTREME risks for this upgrade.
Run preupg --riskcheck --verbose to view these risks.
Continuing with this upgrade is not recommended.

preupg --riskcheck --verbose INPLACERISK: EXTREME: You have GNOME Desktop Environment session as an option in  your X11 session manager. GNOME Desktop Environment as a part of the yum group 'Desktop' underwent serious redesign in its user interface as well as underlying  technologies in CentOS 7. INPLACERISK: HIGH: We detected some non-CentOS signed packages, you can find the  list in /root/preupgrade/./kickstart/noncentospkgs. You need to handle them you rself! INPLACERISK: HIGH: Package php-tidy  (required by NonCentOS signed package(s):ph p-tcpdf ) removed between CentOS 6 and CentOS 7 INPLACERISK: HIGH: After upgrading to CentOS 7 there are still some el6 packages  left. Add --cleanup-post option to redhat-upgrade-tool if you want to remove th em automatically. INPLACERISK: HIGH: There were changes in SELinux policies between CentOS 6 and C entOS 7. Please, check solution in order to resolve this issue. INPLACERISK: HIGH: Library avahi (required by NonCentOS signed package(s):nss-md ns nss-mdns ) changed soname between CentOS 6 and CentOS 7 INPLACERISK: HIGH: The service blk-availability on CentOS 7 is disabled by defau lt. Enable them via commands: systemctl enable blk-availability && systemctl sta rt blk-availability.service . INPLACERISK: HIGH: The service dovecot on CentOS 7 is disabled by default. Enabl e them via commands: systemctl enable dovecot && systemctl start dovecot.service  . INPLACERISK: HIGH: The service haldaemon on CentOS 7 is disabled by default. Ena ble them via commands: systemctl enable haldaemon && systemctl start haldaemon.s ervice . INPLACERISK: HIGH: The service httpd on CentOS 7 is disabled by default. Enable them via commands: systemctl enable httpd && systemctl start httpd.service . INPLACERISK: HIGH: The service iscsi on CentOS 7 is disabled by default. Enable them via commands: systemctl enable iscsi && systemctl start iscsi.service . INPLACERISK: HIGH: The service iscsid on CentOS 7 is disabled by default. Enable  them via commands: systemctl enable iscsid && systemctl start iscsid.service . INPLACERISK: HIGH: The service messagebus on CentOS 7 is disabled by default. En able them via commands: systemctl enable messagebus && systemctl start messagebu s.service . INPLACERISK: HIGH: The service mysqld on CentOS 7 is disabled by default. Enable  them via commands: systemctl enable mysqld && systemctl start mysqld.service . INPLACERISK: HIGH: The service netfs on CentOS 7 is disabled by default. Enable them via commands: systemctl enable netfs && systemctl start netfs.service . INPLACERISK: HIGH: The service network on CentOS 7 is disabled by default. Enabl e them via commands: systemctl enable network && systemctl start network.service  . INPLACERISK: HIGH: The service postfix on CentOS 7 is disabled by default. Enabl e them via commands: systemctl enable postfix && systemctl start postfix.service  . INPLACERISK: HIGH: The service saslauthd on CentOS 7 is disabled by default. Ena ble them via commands: systemctl enable saslauthd && systemctl start saslauthd.s ervice . INPLACERISK: HIGH: The service udev-post on CentOS 7 is disabled by default. Ena ble them via commands: systemctl enable udev-post && systemctl start udev-post.s ervice . INPLACERISK: MEDIUM: We detected some packages installed on the system were remo ved (obsoleted) between CentOS 6 and CentOS 7. This may break the functionality of the packages depending on them. INPLACERISK: MEDIUM: We detected some packages installed on the system were remo ved between CentOS 6 and CentOS 7. This may break the functionality of the packa ges depending on them. INPLACERISK: MEDIUM: Package NetworkManager-gnome not provided by its replacemen t nm-connection-editor,network-manager-applet. In-place upgrade might not work p roperly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package coreutils-libs not provided by its replacement core utils. In-place upgrade might not work properly, will be finished by postupgrade  script! INPLACERISK: MEDIUM: Package xorg-x11-drv-ast not provided by its replacement xo rg-x11-drv-modesetting. In-place upgrade might not work properly, will be finish ed by postupgrade script! INPLACERISK: MEDIUM: Package libudev not provided by its replacement systemd-lib s. In-place upgrade might not work properly, will be finished by postupgrade scr ipt! INPLACERISK: MEDIUM: Package xorg-x11-drv-mga not provided by its replacement xo rg-x11-drv-modesetting. In-place upgrade might not work properly, will be finish ed by postupgrade script! INPLACERISK: MEDIUM: Package libudev not provided by its replacement systemd-lib s. In-place upgrade might not work properly, will be finished by postupgrade scr ipt! INPLACERISK: MEDIUM: Package xorg-x11-drv-cirrus not provided by its replacement  xorg-x11-drv-modesetting. In-place upgrade might not work properly, will be fin ished by postupgrade script! INPLACERISK: MEDIUM: having one of [mesa-private-llvm libxcb mesa-private-llvm n spr mesa-libEGL systemtap device-mapper-multipath-libs redhat-menus nss-tools xo rg-x11-drv-synaptics elfutils-libelf mesa-dri-drivers pixman nss-util xorg-x11-d rv-qxl elfutils-libs libdrm mesa-libGLU systemtap-runtime nss-util gtk2 openldap  device-mapper-multipath nss openldap elfutils-libelf xkeyboard-config ca-certif icates audit-libs elfutils mesa-libGL glx-utils mesa-libGLU xorg-x11-server-Xorg  kpartx libxcb xorg-x11-glamor xorg-x11-drv-ati xorg-x11-drv-intel audit xorg-x1 1-drv-v4l mesa-dri-drivers mesa-libGL xorg-x11-server-common libX11 libdrm xorg- x11-drv-vesa xorg-x11-drv-modesetting mesa-libgbm systemtap-client pixman libpci access nss-sysinit tzdata libX11-common openscap mdadm libpciaccess nspr systemt ap-devel nss libX11] package installed breaks upgrade INPLACERISK: MEDIUM: a number of default configuation settings have changed in C entOS7. Users should verify that their devices are still optimally configured INPLACERISK: MEDIUM:  We detected some soname bumps in the libraries installed o n the system. This may break the functionality of some of your 3rd party applica tions. They may need rebuild. Please check their requirements. INPLACERISK: MEDIUM:  We detected some .so libraries installed on the system wer e removed between CentOS 6 and CentOS 7. This may break the functionality of som e of your 3rd party applications. INPLACERISK: MEDIUM: The /etc/pki/java/cacerts /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.trust.crt  CA certificate bundles have been modifie d and cannot be automatically migrated to the upgraded system. INPLACERISK: MEDIUM: The service webmin is not installed by CentOS signed packag es and will not be automatically enabled after in-place upgrade. INPLACERISK: MEDIUM: The service wine is not installed by CentOS signed packages  and will not be automatically enabled after in-place upgrade. INPLACERISK: SLIGHT: We detected some files where modifications are not tracked in the rpms. You may need to check their functionality after successful upgrade. INPLACERISK: SLIGHT: We detected some files untracked by rpms. Some of these may  need manual check/migration after redhat-upgrade-tool and/or can cause conflict s or troubles during the installation. Try to reduce unnecessary untracked files  before running redhat-upgrade-tool. INPLACERISK: SLIGHT: We detected some packages installed on the system changed t heir name between CentOS 6 and CentOS 7. Although they should be compatible, mon itoring after the update is recommended. INPLACERISK: SLIGHT: export shell commands will be deleted from /etc/sysconfig/s shd INPLACERISK: SLIGHT: Some binaries untracked by RPM were discovered on the syste m and may need rebuild after upgrade. INPLACERISK: SLIGHT: Some scripts untracked by RPM were discovered on the system  and may not work properly after upgrade. INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/gtk-2.0 is owned by an R PM package that was not signed by CentOS. INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/report is not owned by a ny RPM package. INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/reportclient is not owne d by any RPM package.

If you have installed GNOME or KDE update may not work or may cause problems. The GNOME desktop environment over a major redevelopment of its interface, and there were changes in the technology of the new version of CentOS

Search