cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.bak
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean all
yum makecache
yum -y update
Centos7系統更換yum源鏡像爲國內鏡像
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Linux 下 Apache 模塊開發
JK璐
2020-07-08 10:03:37
Centos 安裝 memcached, 並增加到php應用中. yii框架
音乐流星
2020-07-08 07:53:02
Centos7 安裝部署Nacos服務
清晨先生
2020-07-08 06:40:26
[Linux] 修改系統默認 Python 版本
風の唄を聴け
2020-07-08 04:26:34
[Python] 安裝 bcolz 模塊
風の唄を聴け
2020-07-08 04:26:33
[Lunix] 將 Python 任務設爲守護進程(一)
風の唄を聴け
2020-07-08 04:26:33
[Lunix] 將 Python 任務設爲守護進程(二)
風の唄を聴け
2020-07-08 04:26:33
[Centos] 安裝和配置 MongoDB
風の唄を聴け
2020-07-08 04:26:33
[Centos] 從零開始單機部署可遠程訪問的 DolphinScheduler
風の唄を聴け
2020-07-08 04:26:20
Apisix網關搭建
No丶不Yes
2020-07-08 01:09:39
Centos Squid 淺入淺出
大锅霍皮久
2020-07-06 22:34:54
letsencrypt nginxparser.py UnicodeDecodeError: ‘ascii‘ codec can‘t decode byte 0xe2 in position 29:
大锅霍皮久
2020-07-06 22:34:54
關於常用Linux內核參數的優化---持續更新
大锅霍皮久
2020-07-06 22:34:54