linux 软件源

2019年5月23日 0 条评论 59 次阅读 0 人点赞

ubuntu  /etc/apt/sources.list
Centos /etc/yum.repos.d/CentOS-Base.repo
清华TUNA镜像源https://mirrors.tuna.tsinghua.edu.cn/  中科大USTC镜像源https://mirrors.ustc.edu.cn/  阿里云http://mirrors.aliyun.com/网易http://mirrors.163.com/   Kali科大软件源: vim /etc/apt/sources.list deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free   首发:http://www.cnblogs.com/zxlovenet/p/4567889.html=================================================================================CentOS 163软件源: 首先备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份) CentOS5 http://mirrors.163.com/.help/CentOS5-Base-163.repo CentOS6 http://mirrors.163.com/.help/CentOS6-Base-163.repo 运行 yum clean all yum makecache 生成缓存http://mirrors.163.com/.help/centos.html========================================================================= debian 7 163源 deb http://mirrors.163.com/debian wheezy main non-free contrib debhttp://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian wheezy main non-free contrib deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free debhttp://mirrors.163.com/debian-security wheezy/updates main contrib non-free deb-src http://mirrors.163.com/debian-securitywheezy/updates main contrib non-free http://blog.csdn.net/caspiansea/article/details/8991278 debian 8 163源http://my.oschina.net/qxa1982/blog/215587

头像

zhangji

技术流走起,软硬通吃!We work in the dark to serve the light!

文章评论(0)