特级无码毛片免费视频尤物_国产性片在线观看_翁熄粗大交换王丽霞_超h变态重口小说

0712-2888027 189-8648-0214
微信公眾號

孝感風(fēng)信網(wǎng)絡(luò)科技有限公司微信公眾號

當(dāng)前位置:主頁 > 技術(shù)支持 > Linux > CentOS 6.1操作系統(tǒng)升級至Centos 7.7.1908

CentOS 6.1操作系統(tǒng)升級至Centos 7.7.1908

時(shí)間:2020-04-06來源:風(fēng)信官網(wǎng) 點(diǎn)擊: 3116次
CentOS 6.1操作系統(tǒng)升級至Centos 7.7.1908操作過程記錄步驟如下:
 
1.查看下當(dāng)前的系統(tǒng)版本
 
cat /etc/redhat-release
 
CentOS release 6.10 (Final)
 
2.配置更新源
 
vi /etc/yum.repos.d/upgradetool.repo
 
[upgrade]
name=upgrade
baseurl=http://vault.centos.org/centos/6/upg/x86_64/
enable=1
gpgcheck=0
 
安裝更新助手
 
由于centos 6.5自帶的助手之一版本較高,所以需要卸載了裝個(gè)更老的:
yum erase openscap -y
yum install redhat-upgrade-tool preupgrade-assistant-contents -y
 
如果提示以下錯(cuò)誤信息:
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: my.mirrors.thegigabit.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
http://vault.centos.org/centos/6/upg/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below wiki article 
 
https://wiki.centos.org/yum-errors
 
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
 
No package redhat-upgrade-tool available.
No package preupgrade-assistant-contents available
 
可以下載rmp包進(jìn)行本地安裝
 
https://buildlogs.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64.rpm
https://buildlogs.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-contents-0.5.13-1.0.5.el6.centos.noarch.rpm
https://buildlogs.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-ui-1.0.2-33.0.3.el6.centos.x86_64.rpm
https://buildlogs.centos.org/centos/6/upg/x86_64/Packages/redhat-upgrade-tool-0.7.22-3.el6.centos.noarch.rpm
 
使用yum localinstall redhat-upgrade-tool preupgrade-assistant-* -y
 
執(zhí)行工具的預(yù)升級助手查看可用內(nèi)容
 
preupg -s CentOS6_7
 
采用本地ISO更新升級系統(tǒng)
 
cd /home
wget http://mirrors.aliyun.com/centos/7.7.1908/isos/x86_64/CentOS-7-x86_64-DVD-1908.iso
centos-upgrade-tool-cli --iso=/home/CentOS-7-x86_64-DVD-1908.iso
(如果有問題可以加--force參數(shù),但生產(chǎn)環(huán)境不建議)
 
設(shè)置好之后,執(zhí)行重啟系統(tǒng), 重啟系統(tǒng)會進(jìn)入更新的操作
熱門關(guān)鍵詞: CentOS 操作系統(tǒng)升級 Centos 7
欄目列表
推薦內(nèi)容
熱點(diǎn)內(nèi)容
展開