CentOS 修改yum源爲阿里源

cd /etc/yum.repos.d     # 進入yum文件夾 mv CentOS-Base.repo CentOS-Base.repo.bak        # 備份原文件 wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo    # 下載阿里源的文件 wget -O /etc/yum.repos.d/
相關文章
相關標籤/搜索