码迷,mamicode.com
首页 > 系统相关 > 详细

初探kali linux笔记

时间:2016-10-11 00:51:24      阅读:364      评论:0      收藏:0      [点我收藏+]

标签:machine   linux   change   

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笔记

标签:machine   linux   change   

原文地址:http://dreamlinux.blog.51cto.com/9079323/1860136

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!