Centos7.3修改yum源爲阿里雲yum源

yum源的位置在 /etc/yum.repos.d 下,Centos-Base.repo爲yum源配置文件 備份原來的yum文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak 下載阿里雲的 CentOS-Base.repo 到/etc/yum.repos.d/ wget -O /etc/yum.
相關文章
相關標籤/搜索