初探kali linux笔记
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了初探kali linux笔记相关的知识,希望对你有一定的参考价值。
1、kali linux 安装vmware tools时报错
What is the location of the "gcc" program on your machine?
你点击what is the location of "gcc"program on your machine 然后回车,它会问你:Would you like to change it 注意这项,
你选 NO ,输入的方法就是 空格+no 然后它就不会出现那个what is the location of "gcc"program on your machine,
然后出现警告,不管他,直接全部回车按下去,
2、kali linux 源
#官方源
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
deb http://security.kali.org/ kali/updates main contrib non-free
deb-src http://security.kali.org/ kali/updates main contrib non-free
# 上海交大的源
#deb 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 http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
# 163的源
#deb http://mirrors.163.com/debian wheezy main non-free contrib
#deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
#deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://archive-6.kali.org/kali kali main non-free contrib
deb-src http://archive-6.kali.org/kali kali main non-free contrib
deb http://archive-6.kali.org/kali-security kali/updates main contrib non-free
#debian_wheezy国内源
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
#中科大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
#激进源,新手不推荐使用这个软件源
deb http://repo.kali.org/kali kali-bleeding-edge main
deb-src http://repo.kali.org/kali kali-bleeding-edge main
#阿里云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
3、更新源文件名 /etc/apt/sources.list
更新命令:
apt-get update & apt-get upgrade
apt-get dist-upgrade
apt-get clean
4、 设置SSH 开机自启动:
update-rc.d ssh enable
以上是关于初探kali linux笔记的主要内容,如果未能解决你的问题,请参考以下文章