linux CentOS 6.5升级至CentOS 7完整步骤

查看当前的系统版本

[root@dev-middleware ~]# cat /etc/redhat-release 
CentOS release 6.5 (Final)
[root@dev-middleware ~]# uname -rm
2.6.32-431.el6.x86_64 x86_64

升级

添加1个yum的repo文件

vi /etc/yum.repos.d/upgrade.repo

[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

安装升级工具

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

执行预升级检查

# 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
y
Gathering logs used by preupgrade assistant:
All installed packages : 01/11 ...finished (time 00:00s)
All changed files      : 02/11 ...finished (time 00:33s)
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:01s)
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)
008/096 ...done    (GNOME Desktop Environment underwent several design modifications in CentOS 7 rel                                                                   ease)
009/096 ...done    (KDE Desktop Environment underwent several design modifications in CentOS 7 relea                                                                   se)
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 *.service 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-guest-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 package)
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)
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 01:12s)
Result table with checks and their results for main contents:
----------------------------------------------------------------------------------------------------                                                                   -----------
|Bacula Backup Software                                                                    |notappli                                                                   cable     |
|Migration of the MySQL data stack                                                         |notappli                                                                   cable     |
|Changes related to moving from MySQL to MariaDB                                           |notappli                                                                   cable     |
|PostgreSQL upgrade content                                                                |notappli                                                                   cable     |
|GNOME Desktop Environment underwent several design modifications in CentOS 7 release      |notappli                                                                   cable     |
|KDE Desktop Environment underwent several design modifications in CentOS 7 release        |notappli                                                                   cable     |
|several graphic drivers not supported in CentOS 7                                         |notappli                                                                   cable     |
|several input drivers not supported in CentOS 7                                           |notappli                                                                   cable     |
|Names, Options and Output Format Changes in arptables                                     |notappli                                                                   cable     |
|BIND9 running in a chroot environment check.                                              |notappli                                                                   cable     |
|BIND9 configuration compatibility check                                                   |notappli                                                                   cable     |
|Move dhcpd/dhcprelay arguments from /etc/sysconfig/* to *.service files                   |notappli                                                                   cable     |
|DNSMASQ configuration compatibility check                                                 |notappli                                                                   cable     |
|Dovecot configuration compatibility check                                                 |notappli                                                                   cable     |
|Net-SNMP check                                                                            |notappli                                                                   cable     |
|Squid configuration compatibility check                                                   |notappli                                                                   cable     |
|Added and extended options for BIND9 configuration                                        |notappli                                                                   cable     |
|Added options in DNSMASQ configuration                                                    |notappli                                                                   cable     |
|w3m not available in CentOS 7                                                             |notappli                                                                   cable     |
|report incompatibilities between CentOS 6 and 7 in qemu-guest-agent package               |notappli                                                                   cable     |
|restore custom selinux configuration                                                      |notappli                                                                   cable     |
|samba shared directories selinux                                                          |notappli                                                                   cable     |
|FreeRADIUS Upgrade Verification                                                           |notappli                                                                   cable     |
|bind-dyndb-ldap                                                                           |notappli                                                                   cable     |
|Identity Management Server compatibility check                                            |notappli                                                                   cable     |
|IPA Server CA Verification                                                                |notappli                                                                   cable     |
|OpenLDAP /etc/sysconfig and data compatibility                                            |notappli                                                                   cable     |
|SSSD compatibility check                                                                  |notappli                                                                   cable     |
|Clvmd and cmirrord daemon management.                                                     |notappli                                                                   cable     |
|device-mapper-multipath configuration compatibility check                                 |notappli                                                                   cable     |
|Removal of scsi-target-utils                                                              |notappli                                                                   cable     |
|Quorum implementation                                                                     |notappli                                                                   cable     |
|fix krb5kdc config file                                                                   |notappli                                                                   cable     |
|cgroups configuration compatibility check                                                 |notappli                                                                   cable     |
|Ruby 2.0.0                                                                                |notappli                                                                   cable     |
|NIS ypbind config files back-up                                                           |notappli                                                                   cable     |
|NIS Makefile back-up                                                                      |notappli                                                                   cable     |
|NIS server maps check                                                                     |notappli                                                                   cable     |
|NIS server MAXUID and MAXGID limits check                                                 |notappli                                                                   cable     |
|NIS server config file back-up                                                            |notappli                                                                   cable     |
|several kernel networking drivers not available in CentOS 7                               |pass                                                                                 |
|several kernel storage drivers not available in CentOS 7                                  |pass                                                                                 |
|Compatibility Between iptables and ip6tables                                              |pass                                                                                 |
|NTP configuration                                                                         |pass                                                                                 |
|Information on time-sync.target                                                           |pass                                                                                 |
|OpenSSH sshd_config migration content                                                     |pass                                                                                 |
|Configuration for quota_nld service                                                       |pass                                                                                 |
|Disk quota netlink message daemon moved into quota-nld package                            |pass                                                                                 |
|Luks encrypted partition                                                                  |pass                                                                                 |
|Configuration for warnquota tool                                                          |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                                                                                 |
|User modification in /etc/rc.local and /etc/rc.d/rc.local                                 |pass                                                                                 |
|Plugable authentication modules (PAM)                                                     |pass                                                                                 |
|SCL collections                                                                           |pass                                                                                 |
|System kickstart                                                                          |pass                                                                                 |
|MySQL configuration                                                                       |informat                                                                   ional     |
|VCS repositories                                                                          |informat                                                                   ional     |
|Removed options in coreutils binaries                                                     |informat                                                                   ional     |
|Removed options in gawk binaries                                                          |informat                                                                   ional     |
|Removed options in netstat binary                                                         |informat                                                                   ional     |
|Removed options in quota tools                                                            |informat                                                                   ional     |
|GMP library incompatibilities                                                             |informat                                                                   ional     |
|CVS Package Split                                                                         |informat                                                                   ional     |
|httpd configuration compatibility check                                                   |informat                                                                   ional     |
|Disk quota tool warnquota moved into quota-warnquota package                              |informat                                                                   ional     |
|File Systems, Partitions and Mounts Configuration Review                                  |informat                                                                   ional     |
|Sonamebumped libs                                                                         |informat                                                                   ional     |
|SonameKept Reusable Dynamic Libraries                                                     |informat                                                                   ional     |
|Removed .so libs                                                                          |informat                                                                   ional     |
|Foreign Perl modules                                                                      |informat                                                                   ional     |
|YUM                                                                                       |informat                                                                   ional     |
|Reusable Configuration Files                                                              |fixed                                                                                |
|Replaced rpms                                                                             |fixed                                                                                |
|package downgrades                                                                        |fixed                                                                                |
|CUPS Browsing/BrowsePoll configuration                                                    |fixed                                                                                |
|OpenSSH sysconfig migration content                                                       |fixed                                                                                |
|State of LVM2 services.                                                                   |fixed                                                                                |
|Configuration Files to Review                                                             |needs_in                                                                   spection  |
|File Lists for Manual Migration                                                           |needs_in                                                                   spection  |
|Obsoleted rpms                                                                            |needs_in                                                                   spection  |
|Binary rebuilds                                                                           |needs_in                                                                   spection  |
|Python 2.7.5                                                                              |needs_in                                                                   spection  |
|Check for usage of dangerous range of UID/GIDs                                            |needs_in                                                                   spection  |
|Incorrect usage of reserved UID/GIDs                                                      |needs_in                                                                   spection  |
|Packages not signed by CentOS                                                             |needs_ac                                                                   tion      |
|Removed rpms                                                                              |needs_ac                                                                   tion      |
|General                                                                                   |needs_ac                                                                   tion      |
|Content for enabling and disabling services based on CentOS 6 system                      |needs_ac                                                                   tion      |
|Check for ethernet interface naming                                                       |needs_ac                                                                   tion      |
----------------------------------------------------------------------------------------------------                                                                   -----------
Tarball with results is stored here /root/preupgrade-results/preupg_results-181120084709.tar.gz .
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-*.tar.gz .

导入RPM签名证书

rpm --import https://mirrors.ustc.edu.cn/epel/RPM-GPG-KEY-EPEL-7

上传Centos7.xx-DVD.iso文件

用sftp上传CentOS-7-x86_64-DVD-1511

执行升级操作

# centos-upgrade-tool-cli  --iso=/home/zmdgsl/CentOS-7-x86_64-DVD-1511.iso                                                                     --force
setting up repos...
upgradeiso                                                                   | 3.6 kB     00:00 ...
upgradeiso/primary_db                                                        | 2.8 MB     00:00 ...
getting boot images...
initramfs-redhat-upgrade-tool.img                                            |  42 MB     00:00 ...
setting up update...
upgradeiso/filelists_db                                                      | 2.9 MB     00:00 ...
finding updates 100% [=============================================================================]                                                                   testing upgrade transaction
rpm transaction 100% [=============================================================================]
rpm install 100% [=================================================================================]
setting up system for upgrade
Finished. Reboot to start upgrade.
[root@HNZMDWeb01 zmdgsl]# nmtui
bash: nmtui: command not found
[root@HNZMDWeb01 zmdgsl]# setup
[root@HNZMDWeb01 zmdgsl]# reboot

Broadcast message from zmdgsl@HNZMDWeb01
        (/dev/pts/1) at 9:18 ...

The system is going down for reboot NOW!

查看升级后的系统版本

$ cat redhat-release
CentOS Linux release 7.2.1511 (Core)

执行更新命令即可

# yum upgrade
...
(475/475): kernel-tools-libs-3.10.0-862.14.4.el7.x86_64.rpm                                                                                     | 6.2 MB  00:01:03
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                  5.1 MB/s | 446 MB  00:01:27
Running transaction check
ERROR with transaction check vs depsolve:
httpd-mmn = 20051115 is needed by (installed) mod_perl-2.0.4-10.el6.x86_64
python(abi) = 2.6 is needed by (installed) python-simplejson-2.0.9-3.1.el6.x86_64
python(abi) = 2.6 is needed by (installed) python-paste-deploy-1.3.3-2.1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-decoratortools-1.7-4.1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-weberror-0.10.2-2.el6.noarch
python(abi) = 2.6 is needed by (installed) python-routes-1.10.3-2.el6.noarch
python(abi) = 2.6 is needed by (installed) python-webhelpers-0.6.4-4.el6.noarch
python(abi) = 2.6 is needed by (installed) python-peak-util-addons-0.6-4.1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-toscawidgets-0.9.8-1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-formencode-1.2.2-2.1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-webflash-0.1-0.2.a9.el6.noarch
python(abi) = 2.6 is needed by (installed) python-genshi-0.5.1-7.1.el6.x86_64
python(abi) = 2.6 is needed by (installed) python-myghty-1.1-11.el6.noarch
python(abi) = 2.6 is needed by (installed) python-peak-util-extremes-1.1-4.1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-transaction-1.0.1-1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-repoze-who-1.0.18-1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-repoze-what-1.0.8-6.el6.noarch
python(abi) = 2.6 is needed by (installed) python-repoze-tm2-1.0-0.5.a4.el6.noarch
python(abi) = 2.6 is needed by (installed) python-zope-sqlalchemy-0.4-3.el6.noarch
python(abi) = 2.6 is needed by (installed) python-paste-script-1.7.3-5.el6_3.noarch
python(abi) = 2.6 is needed by (installed) python-pylons-0.9.7-2.el6.noarch
python(abi) = 2.6 is needed by (installed) python-repoze-what-pylons-1.0-4.el6.noarch
python(abi) = 2.6 is needed by (installed) python-peak-util-symbols-1.0-4.1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-peak-util-assembler-0.5.1-1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-prioritized-methods-0.2.1-5.1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-turbojson-1.2.1-8.1.el6.noarch
python(abi) = 2.6 is needed by (installed) python-iwlib-0.1-1.2.el6.x86_64
python(abi) = 2.6 is needed by (installed) TurboGears2-2.0.3-4.el6.noarch
python(abi) = 2.6 is needed by (installed) cas-0.15-1.el6.1.noarch
** Found 83 pre-existing rpmdb problem(s), 'yum check' output follows:
TurboGears2-2.0.3-4.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
apr-util-ldap-1.3.9-3.el6_0.1.x86_64 has missing requires of apr-util = ('0', '1.3.9', '3.el6_0.1')
cas-0.15-1.el6.1.noarch has missing requires of python(abi) = ('0', '2.6', None)
classpathx-mail-1.1.1-9.4.el6.noarch has missing requires of jaf >= ('0', '1.0', None)
hal-info-20090716-3.1.el6.noarch has missing requires of hal >= ('0', '0.5.10', None)
ipa-client-4.5.4-10.el7.centos.4.4.x86_64 has installed conflicts freeipa-client: ipa-client-4.5.4-10.el7.centos.4.4.x86_64
ipa-client-4.5.4-10.el7.centos.4.4.x86_64 has installed conflicts freeipa-admintools: ipa-client-4.5.4-10.el7.centos.4.4.x86_64
ipa-client-common-4.5.4-10.el7.centos.4.4.noarch has installed conflicts freeipa-client-common: ipa-client-common-4.5.4-10.el7.centos.4.4.noarch
ipa-common-4.5.4-10.el7.centos.4.4.noarch has installed conflicts freeipa-common: ipa-common-4.5.4-10.el7.centos.4.4.noarch
ipa-python-compat-4.5.4-10.el7.centos.4.4.noarch has installed conflicts freeipa-python-compat: ipa-python-compat-4.5.4-10.el7.centos.4.4.noarch
1:java_cup-0.10k-5.el6.x86_64 has missing requires of java-gcj-compat
libgcj-4.4.7-4.el6.x86_64 has missing requires of libgmp.so.3()(64bit)
libproxy-bin-0.3.0-4.el6_3.x86_64 has missing requires of libproxy = ('0', '0.3.0', '4.el6_3')
libproxy-bin-0.3.0-4.el6_3.x86_64 has missing requires of libproxy.so.0()(64bit)
libproxy-python-0.3.0-4.el6_3.x86_64 has missing requires of libproxy = ('0', '0.3.0', '4.el6_3')
libproxy-python-0.3.0-4.el6_3.x86_64 has missing requires of python(abi) = ('0', '2.6', None)
libreport-compat-2.0.9-19.el6.centos.x86_64 has missing requires of libreport = ('0', '2.0.9', '19.el6.centos')
libreport-compat-2.0.9-19.el6.centos.x86_64 has missing requires of libreport-plugin-rhtsupport = ('0', '2.0.9', '19.el6.centos')
libreport-plugin-kerneloops-2.0.9-19.el6.centos.x86_64 has missing requires of libabrt_web.so.0()(64bit)
libreport-plugin-kerneloops-2.0.9-19.el6.centos.x86_64 has missing requires of libproxy.so.0()(64bit)
libreport-plugin-kerneloops-2.0.9-19.el6.centos.x86_64 has missing requires of libreport = ('0', '2.0.9', '19.el6.centos')
libreport-plugin-logger-2.0.9-19.el6.centos.x86_64 has missing requires of libreport = ('0', '2.0.9', '19.el6.centos')
mod_perl-2.0.4-10.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
mod_perl-2.0.4-10.el6.x86_64 has missing requires of perl(:MODULE_COMPAT_5.10.1)
1:mx4j-3.0.1-9.13.el6.noarch has missing requires of axis >= ('0', '1.1', None)
1:mx4j-3.0.1-9.13.el6.noarch has missing requires of jaf
perl-BSD-Resource-1.29.03-3.el6.x86_64 has missing requires of perl(:MODULE_COMPAT_5.10.1)
python-cheetah-2.4.1-1.el6.x86_64 has missing requires of libpython2.6.so.1.0()(64bit)
python-cheetah-2.4.1-1.el6.x86_64 has missing requires of python(abi) = ('0', '2.6', None)
python-crypto-2.0.1-22.el6.x86_64 has missing requires of libgmp.so.3()(64bit)
python-crypto-2.0.1-22.el6.x86_64 has missing requires of libpython2.6.so.1.0()(64bit)
python-crypto-2.0.1-22.el6.x86_64 has missing requires of python(abi) = ('0', '2.6', None)
python-decoratortools-1.7-4.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-formencode-1.2.2-2.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-genshi-0.5.1-7.1.el6.x86_64 has missing requires of libpython2.6.so.1.0()(64bit)
python-genshi-0.5.1-7.1.el6.x86_64 has missing requires of python(abi) = ('0', '2.6', None)
python-iwlib-0.1-1.2.el6.x86_64 has missing requires of libpython2.6.so.1.0()(64bit)
python-iwlib-0.1-1.2.el6.x86_64 has missing requires of python(abi) = ('0', '2.6', None)
python-markdown-2.0.1-3.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-myghty-1.1-11.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-paramiko-1.7.5-2.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-paste-deploy-1.3.3-2.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-paste-script-1.7.3-5.el6_3.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-peak-util-addons-0.6-4.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-peak-util-assembler-0.5.1-1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-peak-util-extremes-1.1-4.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-peak-util-symbols-1.0-4.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-prioritized-methods-0.2.1-5.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-pygments-1.1.1-1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-pylons-0.9.7-2.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-repoze-tm2-1.0-0.5.a4.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-repoze-what-1.0.8-6.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-repoze-what-pylons-1.0-4.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-repoze-who-1.0.18-1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-routes-1.10.3-2.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-simplejson-2.0.9-3.1.el6.x86_64 has missing requires of libpython2.6.so.1.0()(64bit)
python-simplejson-2.0.9-3.1.el6.x86_64 has missing requires of python(abi) = ('0', '2.6', None)
python-sqlalchemy-0.5.5-3.el6_2.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-toscawidgets-0.9.8-1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-transaction-1.0.1-1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-turbojson-1.2.1-8.1.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-weberror-0.10.2-2.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-webflash-0.1-0.2.a9.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-webhelpers-0.6.4-4.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-webob-0.9.6.1-3.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-webtest-1.2-2.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
python-zope-filesystem-1-5.el6.x86_64 has missing requires of python(abi) = ('0', '2.6', None)
python-zope-interface-3.5.2-2.1.el6.x86_64 has missing requires of libpython2.6.so.1.0()(64bit)
python-zope-interface-3.5.2-2.1.el6.x86_64 has missing requires of python(abi) = ('0', '2.6', None)
python-zope-sqlalchemy-0.4-3.el6.noarch has missing requires of python(abi) = ('0', '2.6', None)
1:readahead-1.5.6-2.el6.x86_64 has missing requires of upstart
1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch has missing requires of preupgrade-assistant >= ('0', '1.0.2', '4')
1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch has missing requires of python(abi) = ('0', '2.6', None)
samba-winbind-clients-3.6.9-164.el6.x86_64 has missing requires of samba-winbind = ('0', '3.6.9', '164.el6')
system-config-firewall-tui-1.2.27-5.el6.noarch has missing requires of system-config-firewall-base = ('0', '1.2.27', '5.el6')
tomcat6-6.0.24-62.el6.noarch has missing requires of jakarta-commons-dbcp
tomcat6-6.0.24-62.el6.noarch has missing requires of jakarta-commons-pool
tomcat6-lib-6.0.24-62.el6.noarch has missing requires of jakarta-commons-dbcp
tomcat6-lib-6.0.24-62.el6.noarch has missing requires of jakarta-commons-pool
xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64 has missing requires of liblzma.so.0()(64bit)
xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64 has missing requires of xz = ('0', '4.999.9', '0.3.beta.20091007git.el6')
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2018-11-20.14-29.3_gfQ6.yumtx

  • 2
    点赞
  • 24
    收藏
    觉得还不错? 一键收藏
  • 9
    评论
Linux CentOS 6.5上安装.rpm文件的步骤如下: 1. 首先,下载.rpm文件。可以使用wget命令从指定的URL下载.rpm文件。例如,使用以下命令下载mysql-community-release-el6-5.noarch.rpm文件: ``` wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm ``` 2. 下载完成后,使用rpm命令安装.rpm文件。执行以下命令: ``` rpm -ivh mysql-community-release-el6-5.noarch.rpm ``` 3. 这个命令将在/etc/yum.repos.d/目录下创建两个yum源文件:mysql-community-source.repo和mysql-community.repo。这些文件将用于安装MySQL。 4. 安装完成后,可以使用rpm -qa命令来验证安装是否成功。例如,执行以下命令来查找已安装的MySQL相关软件包: ``` rpm -qa | grep mysql ``` 以上是在CentOS 6.5上安装.rpm文件的步骤。请注意,下载速度可能会受到网络连接的影响,因为MySQL的yum源服务器位于国外。\[1\]\[2\]\[3\] #### 引用[.reference_title] - *1* *3* [linux CentOS6.5 yum安装mysql 5.6](https://blog.csdn.net/yaca/article/details/78295691)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [安装Centos6.5 安装Oracle 11g详细过程](https://blog.csdn.net/weixin_32161697/article/details/116442491)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值