repo update

centos7.1 repo update

cd /etc/yum.repos.d/
mv /etc/yum.repos.d/CentOS-Base.repo
/etc/yum.repos.d/CentOS-Base.repo.backup

網易:

wget http://mirrors.163.com/.help/CentOS7-Base-163.repo

阿里:

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all
yum makecache

fedora repo:

wget http://repo.fdzh.org/FZUG/FZUG.repo -P /etc/yum.repos.d/
dnf install FZUG.repo

查看軟件包列表

dnf list --disablerepo=* --enablerepo=FZUG

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章