3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

2017年4月5日再次更新源

 

1.切换到root用户(如果已经是root用户就直接看第二步)

dnt@HackerKali:~$ su
密码:

2.用文本编辑器打开sources.list,手动添加下面的更新源

root@HackerKali:/home/dnt# leafpad /etc/apt/sources.list

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

3.添加完毕后执行下面的更新指令,进行系统或者工具的更新

root@HackerKali:/home/dnt# apt-get update && apt-get upgrade && apt-get dist-upgrade 

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

 

apt-get clean

先确定自己是什么版本:lsb_release -a

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

---------------------------------Kali 2.0 ---更新源-----------------------------------

kali-rolling版本:(中科大的就够用了,个人按需吧)

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)
#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

#阿里云
#deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

#清华大学
#deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

#浙大
#deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free

#东软大学
#deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib

#官方源
#deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib

#重庆大学
#deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib
3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

sana版本:(其实你把上面的版本都改成sana就可以了)

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

#科大的云
deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali sana main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security sana/updates main contrib non-free


#阿里云
deb http://mirrors.aliyun.com/kali sana main non-free contrib
deb-src http://mirrors.aliyun.com/kali sana main non-free contrib
deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

----------------------------------Kali 1.0--更新源-------------------------------------

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)
#官方源
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free

#中科大kali源
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

#新加坡kali源
deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free

#阿里云kali源
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free

#163 Kali源
deb http://mirrors.163.com/debian wheezy main non-free contrib 
deb-src http://mirrors.163.com/debian wheezy main non-free contrib 
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib 
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib 
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib 
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib


#上海交大 Kali源 (比较慢,直接忽略)
#deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
#deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib 
#deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib 
#deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib 
#deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib 
#deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

 

-------------------------------------这个是我的sources.list(64位kali)----------------------------------------

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)
#

# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150312-17:50]/ kali contrib main non-free

#deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150312-17:50]/ kali contrib main non-free

deb http://http.kali.org/kali moto main non-free contrib
deb-src http://http.kali.org/kali moto main non-free contrib

deb http://security.kali.org/ moto/updates main contrib non-free
deb-src http://security.kali.org/ moto/updates main contrib non-free

#中科大kali源
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

#新加坡kali源
deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free

#阿里云kali源
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free


#163 Kali源
deb http://mirrors.163.com/debian wheezy main non-free contrib 
deb-src http://mirrors.163.com/debian wheezy main non-free contrib 
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib 
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib 
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib 
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

 

如果出现下面这种情况,说明权限不够,请切换到root权限

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)

3.修改更新源sources.list,提高软件下载安装速度(2017.04.05)


本文转自毒逆天博客园博客,原文链接:http://www.cnblogs.com/dunitian/p/4712852.html,如需转载请自行联系原作者


上一篇:什么是数据、信息、知识和智慧?


下一篇:杨格门锁 YGSLockSDK V3.3酒管软件接口_99v