怎么给kali换源?
kali_linux吧
全部回复
仅看楼主
level 7
我是个小白,在网上看文章说需要换源,我不明白什么意思?能请大神给解释一下,和告诉我怎么换源。谢谢大神了
2014年06月09日 06点06分 1
level 11
1.打开命令行
2.$ su root
passwd:输入密码
转到超级管理员用户
3.$ leafpad /etc/apt/sources.list
跳出窗口,将下面代码替换原文:
##中科大软件源
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
##Bleeding Edge repositories
deb http://repo.kali.org/kali kali-bleeding-edge main
deb-src http://repo.kali.org/kali kali-bleeding-edge main
##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
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
保存关闭此窗口!
4.继续在命令行输入:
$ apt-get update && apt-get dist-upgrade -y
命令的作用是:更新源及更新系统软件
5.在此,就完成了换源及更新源及更新系统软件的工作啦!
2014年06月09日 14点06分 2
注意:美元符号仅仅是命令的开始符号,不用输入的。。。
2014年06月09日 14点06分
咋显示没有这个文件[汗]
2015年08月08日 12点08分
请问主机复制的东西怎么粘贴到虚拟机里呢?工具也安装了设置也是双向还是不可以脑袋疼
2015年08月09日 02点08分
回复
������������
:搞定了需要重启下
2015年08月09日 02点08分
level 7
请问是这样吗?我没有看到能输入密码啊?
2014年06月09日 15点06分 3
kali默认root登录,不需要密码的。
2014年06月10日 06点06分
你这个已经是root用户了,直接换源就行
2015年08月11日 04点08分
level 7
用什么超级啊!直接从 leafpad开始
2015年08月11日 11点08分 4
1