初探kali linux笔记-阿里云开发者社区

开发者社区> 开发与运维> 正文

初探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



本文转自 tianya1993 51CTO博客,原文链接:http://blog.51cto.com/dreamlinux/1860136,如需转载请自行联系原作者

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

分享:
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

其他文章