1、備份源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下載新的 CentOS-Base.repo 到 /etc/yum.repos.d/ wget ...
1、備份源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下載新的 CentOS-Base.repo 到 /etc/yum.repos.d/ wget ...
一、安裝epel安裝 epel是個好東西,不過國外的速度實在是不能忍受。所以 有了這篇文章。 1、 首先卸載以前裝的epel以免影響 rpm -e epel-release 2、 下載阿里提供的epel wget -P /etc/yum.repos.d/ http ...
/ sudo wget -O /etc/yum.repos.d/CentOS-Base.repo ht ...
個人比較喜歡阿里雲yum源,同時使用centos7 首先 cd /etc/yum.repos.d/ wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum ...
1 備份本地源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak 2 獲取阿里源配置文件 wget -O /etc/yum.repos.d/CentOS-Base.repo http ...
更換之前確保自己安裝wget 若沒有安裝: 首先備份原版/etc/yum.repos.d/CentOS-Base.repo 下載阿里的yum源配置文件,放入/etc/yum.repos.d/CentOS-Base.repo 運行yum ...
1. 備份原來的yum源 cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 2.設置aliyun的yum源 wget -O /etc/yum.repos.d/CentOS ...