求知若饥,虚心若愚

linux软件源

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
 
然后
 
apt-get update 就可以了。
 
==================================================================
 
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
 
 
生成缓存
 
 
==================================================================
 
debian 7 163源
 
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb http://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
 
 
deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
 
posted @   初行  阅读(539)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· [AI/GPT/综述] AI Agent的设计模式综述

点击右上角即可分享
微信分享提示