成人午夜视频全免费观看高清-秋霞福利视频一区二区三区-国产精品久久久久电影小说-亚洲不卡区三一区三区一区

CentOS6升級到CentOS7失敗的解決辦法-創(chuàng)新互聯(lián)

操作系統(tǒng): CentOS6.10

白銀網(wǎng)站建設(shè)公司創(chuàng)新互聯(lián),白銀網(wǎng)站設(shè)計制作,有大型網(wǎng)站制作公司豐富經(jīng)驗。已為白銀超過千家提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\成都外貿(mào)網(wǎng)站建設(shè)要多少錢,請找那個售后服務(wù)好的白銀做網(wǎng)站的公司定做!

本系統(tǒng)源

#wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

1.查看當(dāng)前CentOS版本

[root@sky9890 sky9890]# cat /etc/redhat-release

CentOS release 6.10 (Final)

2.更新源

#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.卸載6.x自帶的較新的助手,并安裝老版,否則會報錯。

#先刪除舊版本

#yum erase openscap -y

#以下無法連接

#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

#以下兩個連接都有效

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.安裝升級系統(tǒng)助手

#利用到upgrade.repo源

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

5.檢測是否可以升級

#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/11 ...finished (time 00:00s)

All changed files   : 02/11 ...finished (time 01:56s)

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)

RedHat signed packages : 10/11 ...finished (time 00:00s)

CentOS signed packages : 11/11 ...finished (time 00:00s)

......

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 .

#以下的報錯,主要原因是沒有用最新的openscap軟件包

I/O 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/O 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/O 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.導(dǎo)入CentOS7的key

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

7.開始升級

#嘗試過多個系統(tǒng)版本,均無法升級。

#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.

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

新聞名稱:CentOS6升級到CentOS7失敗的解決辦法-創(chuàng)新互聯(lián)
文章鏈接:http://jinyejixie.com/article16/dsidgg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供用戶體驗、網(wǎng)站導(dǎo)航品牌網(wǎng)站設(shè)計、自適應(yīng)網(wǎng)站、網(wǎng)站改版、面包屑導(dǎo)航

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

小程序開發(fā)
体育| 荆州市| 江津市| 赞皇县| 桃园市| 耒阳市| 察哈| 津南区| 昌邑市| 临洮县| 澎湖县| 永清县| 宣武区| 静宁县| 平南县| 芜湖市| 河间市| 洪雅县| 宜春市| 徐水县| 蒙自县| 石门县| 漾濞| 汝州市| 甘洛县| 延寿县| 安岳县| 石林| 修水县| 襄樊市| 雅安市| 姚安县| 新巴尔虎左旗| 敦煌市| 阜平县| 大同市| 资溪县| 长岛县| 新干县| 云和县| 常熟市|