In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Operating system: CentOS6.10
This system source
# wget-O / etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
1. View the current CentOS version
[root@sky9890 sky9890] # cat / etc/redhat-release
CentOS release 6.10 (Final)
two。 Update sourc
# vim / etc/yum.repos.d/upgrade.repo
[upgrade]
Name=upgrade
Baseurl= https://buildlogs.centos.org/centos/6/upg/x86_64/
Enable=1
Gpgcheck=0
3. Uninstall the newer helper that comes with 6.x and install the old version, otherwise an error will be reported.
# delete the old version first
# yum erase openscap-y
# the following cannot be connected
# yum install http://dev.centos.org/centos/6/upg/x86_64/Packages/openscap-1.0.8-1.0.1.el6.centos.x86_64.rpm-y
# both of the following connections are valid
Yum install ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6.5/x86_64/updates/fastbugs/openscap-1.0.8-1.el6_5.x86_64.rpm-y
Yum install https://buildlogs.centos.org/centos/6/upg/x86_64/Packages/openscap-1.0.8-1.0.1.el6.centos.x86_64.rpm-y
4. Install upgrade system Assistant
# leveraging upgrade.repo sources
# yum install redhat-upgrade-tool preupgrade-assistant-contents-y
5. Detect whether it can be upgraded
# preupg-s CentOS6_7
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 finished 11... finished (time 0000s)
All changed files: 02 finished 11... finished (time 01VR 56s)
Changed config files: 03Compare 11... finished (time 00VERV 00s)
All users: 04Compare 11... finished (time 0000s)
All groups: 05Compare 11... finished (time 00VERV 00s)
RedHat signed packages: 10 take 11... finished (time 0000s)
CentOS signed packages: 11 take 11... finished (time 0000s)
.
Tarball with results is stored here / root/preupgrade-results/preupg_results-200304120406.tar.gz.
The latest assessment is stored in directory / root/preupgrade.
Summary information:
We found some critical issues. In-place upgrade is not advised.
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.
# the following errors are mainly due to the failure to use the latest openscap software package
I warning: failed to load external entity "/ usr/share/openscap/xsl/security-guide.xsl"
Compilation error: file / usr/share/preupgrade/xsl/preup.xsl line 40 element import
Xsl:import: unable to load / usr/share/openscap/xsl/security-guide.xsl
I warning: failed to load external entity "/ usr/share/openscap/xsl/oval-report.xsl"
Compilation error: file / usr/share/preupgrade/xsl/preup.xsl line 41 element import
Xsl:import: unable to load / usr/share/openscap/xsl/oval-report.xsl
I warning: failed to load external entity "/ usr/share/openscap/xsl/sce-report.xsl"
Compilation error: file / usr/share/preupgrade/xsl/preup.xsl line 42 element import
Xsl:import: unable to load / usr/share/openscap/xsl/sce-report.xsl
OpenSCAP Error:: Could not parse XSLT file'/ usr/share/preupgrade/xsl/preup.xsl' [oscapxml.c:416]
Unable to open file / root/preupgrade/result.html
Usage: preupg [options]
Preupg: error: [Errno 2] No such file or directory:'/ root/preupgrade/result.html'
6. Import key of CentOS7
# rpm-- import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7
7. Start the upgrade
# multiple system versions have been tried and cannot be upgraded.
# centos-upgrade-tool-cli-- network 7-- instrepo= http://vault.centos.org/centos/7.2.1511/os/x86_64/
Setting up repos...
Cmdline-instrepo
Cmdline-instrepo/primary_db
No upgrade available for the following repos: base extras updates upgrade.treeinfo
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.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.