You are on page 1of 16

How to upgrade from CentOS 6 to 7 - Nam Huy Linux

NAM HUY LINUX

Geeky Open Source Linux Tutorials

HOME

ABOUT

ARCHIVES

Search me...

CONTACT

How to upgrade from CentOS 6 to 7


11/03/2014 by namhuy Leave a Comment

CentOS 7 was released few months ago which I was


very excited, but I have been waiting for a while for
bugs fixing. Usually when any Linux distro is released,
they usually comes with unknow bugs which may break
your system. CentOS is always my favorite linux distro
since its a very stable distro, and CentOS is basically
RHEL (Red Hat Enterprise Linux) but its free. Lets
http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux

talk a little bit about new version of CentOS, CentOS 7


comes with systemd which incorporates features that
help enhance scalability and optimize performance,
Docker (open-source engine that automates deploy any
application) integration, and many more great new
features:
Supports For Linux Containers
XFS as the default filesystem
Updated kernel to 3.10.0
LVM-snapshots with ext4 and XFS
Switched from MySQL to MariaDB
Support up to 40G Ethernet Cards
Support instalations in UEFI mode
Comes with VMware Tools & 3D graphics drivers
For full CentOS release notes, you can visit http://wiki.centos.org/Manuals/ReleaseNotes/CentOS7
At the time Im writing, CentOS 7 only comes with x86_64 version, we are
expected to see 32 bit x86, ARM, and PowerPC releases later. So, if you have old
32bit version of CentOS 6, if you want to use CentOS 7, you will have to clean
install CentOS 7 x86_64 (if your cpu and motherboard supports x86_64). The
good new is, if you are using CentOS 6 x86_64 or 64 bit version of CentOS 6, you
can upgrade to CentOS 7 without reinstall your whole system again.
** Before we do anything, I have tested upgrading from CentOS 6 to 7 on several systems, there are risks
involved. It means after upgrading, some of the services will not be 100% functional. Luckily, preupg will
analyze and let you know the risk factors before you actually do the upgrade.
So lets get started!

Update your current CentOS 6 system


Before you do anything, you should update all your packages to the newest versions to avoid any problem
later on.
# yum -y update

Check your current CentOS 6 version


http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux

You can upgrade from CentOS 6.5 or 6.6 to 7, if you have older version, you should update your CentOS 6 to
the newest version which is 6.6 as of Im writing this.
# cat /etc/redhat-release

This is the output on my machine


CentOS release 6.6 (Final)

Install some required packages and upgrade tools


You may have these packages installed on your system, but in case you dont, you will need to install them.
yum -y install openscap pcre-devel libxml2-devel libxslt-devel m2crypto
python-simplejson mod_wsgi

Starting from RHEL 7, Red Hat start to support for upgrading to major releases (RHEL 6.5 > RHEL 7) via
a tool called redhat-upgrade-tool.
To install upgarde tools, there are two ways to do it. Easy/quick way is to create a new repo file, or the
long/hard way is to download each package and install them. Im going to show you both ways.
The long way: the tools you need should be available to download at
http://dev.centos.org/centos/6/upg/x86_64/Packages/ The files you will need are:
preupgrade-assistant
preupgrade-assistant-contents
preupgrade-assistant-ui
redhat-upgrade-tool
To download and install those packages:
# cd /etc
# wget http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-1.0.233.0.3.el6.centos.x86_64.rpm http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgradeassistant-contents-0.5.13-1.0.5.el6.centos.noarch.rpm
http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-ui-1.0.233.0.3.el6.centos.x86_64.rpm http://dev.centos.org/centos/6/upg/x86_64/Packages/redhat-upgradetool-0.7.22-3.el6.centos.noarch.rpm
# yum localinstall preupgrade-assistant-*

Another way to install preupgrade and redhat upgrade tools is to add a new repo file. So lets create a new

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux

repo file named upgradetool.repo in /etc/yum.repos.d/


# nano /etc/yum.repos.d/upgradetool.repo

with the content


1
2
3
4
5
6

[upg]
name=CentOS-$releasever - Upgrade Tool
baseurl=http://dev.centos.org/centos/6/upg/x86_64/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

The command to install preupgrade and redhat upgrade tools


# yum -y install redhat-upgrade-tool preupgrade-assistant-contents

Run preupgrade assistant


As I mentioned about preupg (Preupgrade Assistant), preupg does not do the actual upgrading but will check
for potential problems you might get from upgrading from CentOS 6 to 7. To run preupg
# preupg

preupg will ask you if you want to continue, say yes


1
2
3
4

[root@namhuy ~]# preupg


Preupg tool doesn't do the actual upgrade.
Please ensure you have backed up your system and/or data in the event of a failed upgrade
that would require a full re-install of the system from installation media.
Do you want to continue? y/n

This is the result preupg tool give me for my system


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Gathering logs used by preupgrade assistant:


All installed packages : 01/11 ...finished (time 00:00s)
All changed files: 02/11 ...finished (time 00:12s)
Changed config files : 03/11 ...finished (time 00:00s)
All users: 04/11 ...finished (time 00:00s)
All groups : 05/11 ...finished (time 00:00s)
Service statuses : 06/11 ...finished (time 00:00s)
All installed files: 07/11 ...finished (time 00:00s)
All local files: 08/11 ...finished (time 00:00s)
All executable files : 09/11 ...finished (time 00:00s)
RedHat signed packages : 10/11 ...finished (time 00:00s)
CentOS signed packages : 11/11 ...finished (time 00:00s)
Assessment of the system, running checks / SCE scripts:
001/096 ...done(Configuration Files to Review)
002/096 ...done(File Lists for Manual Migration)
003/096 ...done(Bacula Backup Software)
004/096 ...done(MySQL configuration)
005/096 ...done(Migration of the MySQL data stack)
006/096 ...done(Changes related to moving from MySQL to MariaDB)
007/096 ...done(PostgreSQL upgrade content)

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85

008/096 ...done(GNOME Desktop Environment underwent several design


modificat
ions in CentOS 7 release)
009/096 ...done(KDE Desktop Environment underwent several design
modificatio
ns in CentOS 7 release)
010/096 ...done(several graphic drivers not supported in CentOS 7)
011/096 ...done(several input drivers not supported in CentOS 7)
012/096 ...done(several kernel networking drivers not available in CentOS 7)
013/096 ...done(several kernel storage drivers not available in CentOS 7)
014/096 ...done(Names, Options and Output Format Changes in arptables)
015/096 ...done(BIND9 running in a chroot environment check.)
016/096 ...done(BIND9 configuration compatibility check)
017/096 ...done(Move dhcpd/dhcprelay arguments from /etc/sysconfig/* to
*.se
files)
018/096 ...done(DNSMASQ configuration compatibility check)
019/096 ...done(Dovecot configuration compatibility check)
020/096 ...done(Compatibility Between iptables and ip6tables)
021/096 ...done(Net-SNMP check)
022/096 ...done(Squid configuration compatibility check)
023/096 ...done(Reusable Configuration Files)
024/096 ...done(VCS repositories)
025/096 ...done(Added and extended options for BIND9 configuration)
026/096 ...done(Added options in DNSMASQ configuration)
027/096 ...done(Packages not signed by CentOS)
028/096 ...done(Obsoleted rpms)
029/096 ...done(w3m not available in CentOS 7)
030/096 ...done(report incompatibilities between CentOS 6 and 7 in
qemu-gues
t-agent package)
031/096 ...done(Removed options in coreutils binaries)
032/096 ...done(Removed options in gawk binaries)
033/096 ...done(Removed options in netstat binary)
034/096 ...done(Removed options in quota tools)
035/096 ...done(Removed rpms)
036/096 ...done(Replaced rpms)
037/096 ...done(GMP library incompatibilities)
038/096 ...done(package downgrades)
039/096 ...done(restore custom selinux configuration)
040/096 ...done(General)
041/096 ...done(samba shared directories selinux)
042/096 ...done(CUPS Browsing/BrowsePoll configuration)
043/096 ...done(CVS Package Split)
044/096 ...done(FreeRADIUS Upgrade Verification)
045/096 ...done(httpd configuration compatibility check)
046/096 ...done(bind-dyndb-ldap)
047/096 ...done(Identity Management Server compatibility check)
048/096 ...done(IPA Server CA Verification)
049/096 ...done(NTP configuration)
050/096 ...done(Information on time-sync.target)
051/096 ...done(OpenLDAP /etc/sysconfig and data compatibility)
052/096 ...done(OpenSSH sshd_config migration content)
053/096 ...done(OpenSSH sysconfig migration content)
054/096 ...done(Configuration for quota_nld service)
055/096 ...done(Disk quota netlink message daemon moved into quota-nld
packa
056/096 ...done(SSSD compatibility check)
057/096 ...done(Luks encrypted partition)
058/096 ...done(Clvmd and cmirrord daemon management.)
059/096 ...done(State of LVM2 services.)
060/096 ...done(device-mapper-multipath configuration compatibility check)
061/096 ...done(Removal of scsi-target-utils)
062/096 ...done(Configuration for warnquota tool)
063/096 ...done(Disk quota tool warnquota moved into quota-warnquota package)

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux


86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149

064/096 ...done(Architecture Support)


065/096 ...done(Binary rebuilds)
066/096 ...done(Debuginfo packages)
067/096 ...done(Cluster and High Availability)
068/096 ...done(Quorum implementation)
069/096 ...done(fix krb5kdc config file)
070/096 ...done(File Systems, Partitions and Mounts Configuration Review)
071/096 ...done(Read Only FHS directories)
072/096 ...done(Sonamebumped libs)
073/096 ...done(SonameKept Reusable Dynamic Libraries)
074/096 ...done(Removed .so libs)
075/096 ...done(In-place Upgrade Requirements for the /usr/ Directory)
076/096 ...done(CA certificate bundles modified)
077/096 ...done(Developer Tool Set packages)
078/096 ...done(Hyper-V)
079/096 ...done(Content for enabling and disabling services based on CentOS 6 system)
080/096 ...done(Check for ethernet interface naming)
081/096 ...done(User modification in /etc/rc.local and /etc/rc.d/rc.local)
082/096 ...done(cgroups configuration compatibility check)
083/096 ...done(Plugable authentication modules (PAM))
084/096 ...done(Foreign Perl modules)
085/096 ...done(Python 2.7.5)
086/096 ...done(Ruby 2.0.0)
087/096 ...done(SCL collections)
088/096 ...done(System kickstart)
089/096 ...done(YUM)
090/096 ...done(Check for usage of dangerous range of UID/GIDs)
091/096 ...done(Incorrect usage of reserved UID/GIDs)
092/096 ...done(NIS ypbind config files back-up)
093/096 ...done(NIS Makefile back-up)
094/096 ...done(NIS server maps check)
095/096 ...done(NIS server MAXUID and MAXGID limits check)
096/096 ...done(NIS server config file back-up)
Assessment finished (time 00:54s)
Result table with checks and their results for main contents:
----------------------------------------------------------------------------------------------------|Bacula Backup
Software|notapplicable
|MySQL configuration
|notapplicable |
|Migration of the MySQL data stack
|notapplicable |
|Changes related to moving from MySQL to MariaDB
|notapplicable |
|PostgreSQL upgrade
content|notapplicable |
|GNOME Desktop Environment underwent several design modifications in CentOS 7
release|notapplicable |
|KDE Desktop Environment underwent several design modifications in CentOS 7
release|notapplicable |
|several graphic drivers not supported in CentOS 7
|notapplicable |
|several input drivers not supported in CentOS 7
|notapplicable |
|Names, Options and Output Format Changes in arptables
|notapplicable |
|BIND9 running in a chroot environment
check.|notapplicable |
|BIND9 configuration compatibility check
|notapplicable |
|Move dhcpd/dhcprelay arguments from /etc/sysconfig/* to *.service files
|notapplicable |
|DNSMASQ configuration compatibility check

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux


150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214

|notapplicable |
|Dovecot configuration compatibility check
|notapplicable |
|Net-SNMP
check|notapplicable
|Squid configuration compatibility check
|notapplicable |
|Added and extended options for BIND9
configuration|notapplicable |
|Added options in DNSMASQ
configuration|notapplicable |
|w3m not available in CentOS 7
|notapplicable |
|report incompatibilities between CentOS 6 and 7 in qemu-guest-agent package
|notapplicable |
|Removed options in quota
tools|notapplicable |
|General
|notapplicable |
|samba shared directories
selinux|notapplicable |
|CUPS Browsing/BrowsePoll
configuration|notapplicable |
|CVS Package Split
|notapplicable |
|FreeRADIUS Upgrade Verification
|notapplicable |
|httpd configuration compatibility check
|notapplicable |
|bind-dyndb-ldap
|notapplicable |
|Identity Management Server compatibility
check|notapplicable |
|IPA Server CA
Verification|notapplicable
|OpenLDAP /etc/sysconfig and data
compatibility|notapplicable |
|Configuration for quota_nld service
|notapplicable |
|Disk quota netlink message daemon moved into quota-nld
package|notapplicable |
|SSSD compatibility
check|notapplicable |
|Luks encrypted
partition|notapplicable |
|Clvmd and cmirrord daemon management.
|notapplicable |
|State of LVM2 services.
|notapplicable |
|device-mapper-multipath configuration compatibility check
|notapplicable |
|Removal of
scsi-target-utils|notapplicable
|Configuration for warnquota
tool|notapplicable |
|Disk quota tool warnquota moved into quota-warnquota
package|notapplicable |
|Quorum implementation
|notapplicable |
|fix krb5kdc config file
|notapplicable |
|Ruby
2.0.0|notapplica
|SCL collections
|notapplicable |

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux


215 |System
216 kickstart|notapplicabl
|NIS ypbind config files back-up
|notapplicable |
|NIS Makefile
back-up|notapplicable
|NIS server maps check
|notapplicable |
|NIS server MAXUID and MAXGID limits check
|notapplicable |
|NIS server config file
back-up|notapplicable |
|several kernel networking drivers not available in CentOS 7
|pass|
|several kernel storage drivers not available in CentOS
7|pass|
|Reusable Configuration
Files|pass|
|Information on time-sync.target
|pass|
|OpenSSH sshd_config migration content
|pass|
|Architecture
Support|pass
|Debuginfo
packages|pass
|Cluster and High Availability
|pass|
|Read Only FHS directories
|pass|
|In-place Upgrade Requirements for the /usr/ Directory
|pass|
|CA certificate bundles modified
|pass|
|Developer Tool Set packages
|pass|
|Hyper-V
|pass|
|Check for ethernet interface naming
|pass|
|User modification in /etc/rc.local and /etc/rc.d/rc.local
|pass|
|Plugable authentication modules (PAM)
|pass|
|Check for usage of dangerous range of
UID/GIDs|pass|
|Incorrect usage of reserved
UID/GIDs|pass|
|Compatibility Between iptables and
ip6tables|informational |
|VCS
repositories|informati
|Removed options in coreutils binaries
|informational |
|Removed options in gawk
binaries|informational |
|Removed options in netstat binary
|informational |
|GMP library incompatibilities
|informational |
|NTP configuration
|informational |
|File Systems, Partitions and Mounts Configuration
Review|informational |
|Sonamebumped libs

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux


|informational |
|SonameKept Reusable Dynamic Libraries
|informational |
|Removed .so
libs|informational
|Foreign Perl
modules|informational
|YUM
|informational |
|Replaced rpms
|fixed |
|package
downgrades|fixed
|restore custom selinux
configuration|fixed |
|OpenSSH sysconfig migration content
|fixed |
|Configuration Files to Review
|needs_inspection|
|File Lists for Manual Migration
|needs_inspection|
|Obsoleted
rpms|needs_inspectio
|Binary rebuilds
|needs_inspection|
|Python
2.7.5|needs_inspec
|Packages not signed by CentOS
|needs_action|
|Removed
rpms|needs_action
|Content for enabling and disabling services based on CentOS 6
system|needs_action|
|cgroups configuration compatibility check
|needs_action|
----------------------------------------------------------------------------------------------------Tarball with results is stored here /root/preupgrade-results/preupg_results-141103172105.tar.
The latest assessment is stored in directory /root/preupgrade .
Summary information:
We found some potential in-place upgrade risks.
Read the file /root/preupgrade/result.html for more details.
Upload results to UI by command:
e.g. preupg -u http://127.0.0.1:8099/submit/ -r /root/preupgrade-results/preupg_results-*.ta

Exit Codes meaning


After running preupg tool, you will get the result with exit codes, here are the meaning of them
PASS: Everything is good
FAIL: something goes wrong, may have to do with compatibility problem
FIXED: incompatibility was detected, but there are solutions to fix by
running postupgrade.d scripts after the upgrade.
INFORMATIONAL: information for admins
NOT_APPLICABLE: some packages are not installed on your system but should be checked
ERROR: means there are errors in the preupgrade-assistant framework (you dont need to worry about

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux

this)

Upgrade from CentOS 6 to 7


Once you run preupg tool and reviewing the errors, risks in the results, you should be ready to upgrade from
CentOS 6 to 7. You will need to import the CentOS 6 RPM key
# rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7

Finally, run this command to upgrade


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

You can choose another mirror which is close to you for faster download, the full mirror list is available at
http://www.centos.org/download/mirrors/
The output after I ran the command:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

setting up repos...
.treeinfo
| 1.1 kB 00:00
Preupgrade assistant risk check found risks for this upgrade.
You can run preupg --riskcheck --verbose to view these risks.
Addressing high risk issues is required before the in-place upgrade
and ignoring these risks may result in a broken upgrade and unsupported upgrade.
Please backup your data.

List of issues:
INPLACERISK: HIGH: We detected some non-CentOS signed packages, you can find the list in /root
handle them yourself!
INPLACERISK: HIGH: Package python-cheetah(required by NonCentOS signed package(s):cloud-ini
INPLACERISK: HIGH: After upgrading to CentOS 7 there are still some el6 packages left. Add -to remove them automatically.
INPLACERISK: HIGH: The service ip6tables on CentOS 7 is disabled by default. Enable them via c
start ip6tables.service .
INPLACERISK: HIGH: The service netfs on CentOS 7 is disabled by default. Enable them via comma
netfs.service .
INPLACERISK: HIGH: The service network on CentOS 7 is disabled by default. Enable them via com
network.service .
INPLACERISK: HIGH: The service ntpd on CentOS 7 is disabled by default. Enable them via comman
ntpd.service .
INPLACERISK: HIGH: The service postfix on CentOS 7 is disabled by default. Enable them via com
postfix.service .
INPLACERISK: HIGH: The service udev-post on CentOS 7 is disabled by default. Enable them via c
start udev-post.service .
INPLACERISK: HIGH: additional libcgroup configuration files were created (/etc/cgconfig.d)
INPLACERISK: MEDIUM: We detected some packages installed on the system were removed (obsoleted
functionality of the packages depending on them.
INPLACERISK: MEDIUM: We detected some packages installed on the system were removed between Ce
of the packages depending on them.
INPLACERISK: MEDIUM: Package coreutils-libs not provided by its replacement coreutils. In-plac
by postupgrade script!
INPLACERISK: MEDIUM: having one of [audit-libs nss-util nss-sysinit nss-tools audit-libs-pyth
tzdata nss openldap ca-certificates nspr] package installed breaks upgrade
INPLACERISK: MEDIUM:We detected some soname bumps in the libraries installed on the system.

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux


38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

party applications. They may need rebuild. Please check their requirements.
INPLACERISK: MEDIUM:We detected some .so libraries installed on the system were removed betw
functionality of some of your 3rd party applications.
INPLACERISK: MEDIUM: The service cloud-config is not installed by CentOS signed packages and w
upgrade.
INPLACERISK: MEDIUM: The service cloud-final is not installed by CentOS signed packages and wi
upgrade.
INPLACERISK: MEDIUM: The service cloud-init is not installed by CentOS signed packages and wil
upgrade.
INPLACERISK: MEDIUM: The service cloud-init-local is not installed by CentOS signed packages
upgrade.
INPLACERISK: SLIGHT: We detected some files where modifications are not tracked in the rpms. Y
successful upgrade.
INPLACERISK: SLIGHT: We detected some files untracked by rpms. Some of these may need manual c
cause conflicts or troubles during the installation. Try to reduce unnecessary untracked files
INPLACERISK: SLIGHT: Package procps(required by NonCentOS signed package(s):cloud-init ) re
INPLACERISK: SLIGHT: We detected some packages installed on the system changed their name betw
compatible, monitoring after the update is recommended.
INPLACERISK: SLIGHT: export shell commands will be deleted from /etc/sysconfig/sshd
INPLACERISK: SLIGHT: Some scripts untracked by RPM were discovered on the system and may not w
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg-info is owned
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/backports is owned by an RPM package th
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/backports.ssl_match_hostname-3.4.0.2-py
signed by CentOS.
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/boto is owned by an RPM package that wa
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/boto-2.32.1-py2.6.egg-info is owned by
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/chardet is owned by an RPM package that
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/cloud_init-0.7.4-py2.6.egg-info is own
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/cloudinit is owned by an RPM package th
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/jsonpatch-1.2-py2.6.egg-info is owned
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/prettytable-0.7.2-py2.6.egg-info is ow
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/requests is owned by an RPM package tha
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/six-1.7.3-py2.6.egg-info is owned by a
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/tests is owned by an RPM package that w
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/urllib3 is owned by an RPM package that
INPLACERISK: SLIGHT: /usr/lib/python2.6/site-packages/urllib3-1.5-py2.6.egg-info is owned by
INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/backports is owned by an RPM package
INPLACERISK: NONE: Custom selinux configuration has been saved and it will be restored by a po
Continue with the upgrade [Y/N]?

After running the centos-upgrade-tool-cli command, centos-upgrade-tool-cli gives me a list of issues if I do


the upgrade. There are some differences between Centos 6 and 7 as HIGH issues show. I will go ahead and
say yes to get the upgrading process started. centos-upgrade-tool-cli will ask you to reboot after download
some pacakges, go ahead and reboot your system to complete the upgrade.
# reboot

When your system is booted up, check your system if its Centos 7
# cat /etc/redhat-release

This is what I see after the upgrade


1 CentOS Linux release 7.0.1406 (Core)

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux


Share It:

Related

What is Linux ?
06/09/2014
In "Linux"

How To Install WordPress with nginx on Centos 6


04/26/2014
In "CentOS"

Filed Under: CentOS


Tagged With: centos 7, upgrade centos

Leave a Reply
Enter your comment here...

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to install OpenVPN Access Server OpenVPN-AS


on CentOS 6
11/13/2014
In "CentOS"

How to upgrade from CentOS 6 to 7 - Nam Huy Linux

RECENT POSTS
How to install OpenVPN Access Server OpenVPN-AS on CentOS 6
How to upgrade from CentOS 6 to 7
Linux file system structure
Browse web in linux via terminal with w3m and xterm
How to secure Apache HTTP Web Server
Netflix supports HTML5 and ditches Silverlight
Tracking centos server with bash script
What is Linux ?
How to install nginx as frontend for apache

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux

IP Restrict access with GeoIP database on nginx

SPONSORED LINKS

Advertise Here

Advertise Here

Advertise Here

CATEGORIES
Android
Bash Scripting
CentOS
Debian
Fedora
Firefox
Games
Hardware
Linux
Linux Mint
MariaDB
MySQL
Networking

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

Advertise Here

How to upgrade from CentOS 6 to 7 - Nam Huy Linux

Open Source
Security
Server
Software
Tips Tricks
Ubuntu
Wordpress
Xubuntu

MONTHLY POPULAR POSTS


How to change date, time, timezone on centos 6
How to install VNC Server on Ubuntu 14.04
Install GUI on debian 7 wheezy
How to install gui to centos minimal
How to tweak and optimize SSD for Ubuntu, Linux Mint
How to fix slow performance ubuntu 13.04 running in virtualbox
SSH login without password
add delete and switch user in ubuntu by command lines
How to upgrade from Ubuntu 12.04 LTS to Ubuntu 14.04 LTS
How to install Netflix on Ubuntu, Linux Mint and Fedora

ABOUT US
Huy Tran
Contribute
Copyright
Privacy Policy
Terms Of Service

SUBSCRIBE
RSS Feed
XML RSS Feed
Subscribe by Email

2014 Nam Huy Linux. Generated in 0.723 seconds.

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

How to upgrade from CentOS 6 to 7 - Nam Huy Linux

http://www.namhuy.net/3253/upgrade-centos-6-7.html[11/14/2014 8:03:00 PM]

You might also like