Kali安装

Kali Linux 前身是 BackTrack ,不过Kali Linux是基于Debian 的 Linux 发行版,而BackTrack 则是基于Uubntu的,现在BackTrack 已经不更新了,所以自己也安装Kali折腾下,

由于使用的是VMware Workstation来运行,所以我直安装的是Kali的VM版本,这样就省去了安装VMware Tools的麻烦了,在安装结束后我启动了一些默认的服务和安装一些软件:

1.启动Apache服务

root@kali:~# service apache2 start
[....] Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

. ok 

  访问本地回环地址:

Kali安装

2.启动Secure Shell(SSH)服务:

root@kali:~# service ssh start

[ ok ] Starting OpenBSD Secure Shell server: sshd.
root@kali:~# netstat -tpan | grep 22

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      3549/sshd       

tcp        0      0 192.168.119.128:34957   208.80.154.224:80       TIME_WAIT   -               

tcp6       0      0 :::22                   :::*                    LISTEN      3549/sshd     

3.安装gedit,kali默认下没有gedit,虽然VI是款非常强大的编辑器,但是有些地方,自己还是觉得gedit好点:

root@kali:~# apt-get install gedit

4. kali更新Metasploit

msf > msfupdate

  

---------------

补充

  1. 更新源列表
    leafpad /etc/apt/sources.list
    
    
    
    #官方源
    
    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
    
     
    
    #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
    
    

     

  2. 修改主题
    #可到http://gnome-look.org选择喜欢的主题下载到/usr/share/themes下面在gnome-tweak-tool修改相应信息即可
    
    

     

  3. install vmtools
    # 在虚拟机菜单栏中点击虚拟机->安装VMWARE TOOLS
    
    # tar zxf vmware-linux-tools.tar.gz
    
    # 进入vm目录  ./*.pl
    
    

     

  4. 常用软件
    # 解压软件
    
    apt-get install unrar unace rar unrar p7zip zip unzip p7zip-full p7zip-rar file-roller
    
    
    
    # 安装chromium
    
    apt-get install chromium-browser 
    
    

     

你可能感兴趣的:(安装)