安装kali linux

安装kali linux

环境:
  vmware 10.0.1
  kali1.0 vmware镜像,kali linux官方直接提供了wmware镜像, 下载地址

安装镜像
  官方镜像默认账户为root, 密码toor

更新vmware-tools
  按指示操作即可

创建账户
官方镜像默认使用root账户,不适合日常使用,需要创建新用户,
操作方式:
  • 应用程序--系统工具-首选项-系统设置,选择+号;
  • 类型选择管理员;
  • 记得要设置密码,并选择激活此账号;
  • 默认语言选择Chinese(Simplified);
  • 重启  reboot
  • 使用新创建的用户登录


添加源
可选,kali官方源要比这几个源新一些,我添加这些源后sudo apt-get upgrade没有变化,后来恢复成默认源就有更新了

备份源:
sudo cp /etc/apt/sources.list /etc/apt/source.list.backup

添加以下源:
# kali mainland mirror
deb http://mirrors.neusoft.edu.cn/kali/ kali main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali/ kali main non-free contrib
deb http://mirrors.neusoft.edu.cn/kali-security kali/updates main contrib non-free

# deb mainland mirror
deb http://mirrors.163.com/debian wheezy main contrib non-free
deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free

# deb mainland official
deb http://ftp.cn.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ wheezy main contrib non-free

# debian security updates
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free


更新系统
sudo apt-get upgrade



系统配置
  • 修改背景,原生的黑色跟任务栏太难区分了
  • 应用程序 -- 系统工具 -- 首选项 -- 系统设置 -- 背景 -- 选择一个不黑的
  • 安装中文字体和五笔拼音输入法
  • apt-get install fcitx-table-wbpy ttf-wqy-microhei ttf-wqy-zenhei
    

  • 设置字体
  • 默认字体看不清,调整一下
    安装并运行gnome-tweak-tool工具,在字体设置里面把Antialiasing(反锯齿)调整为Rgba,Hinting(字体微调)调整为Slight,这样看起来会好些。
    # 安装Gnome3优化设置工具
    sudo apt-get install gnome-tweak-tool
    gnome-tweak-tool
    

  • 安装flash
  • sudo apt-get install flashplugin-nonefre
    update-flashplugin-nonfree --install
    

  • 安装快捷工具
  • # 安装"Open In Terminal”的快捷方式
    sudo apt-get install nautilus-open-terminal
    # 安装rar工具
    sudo apt-get install rar
    


    安装新立得
    # 安装新立得软件包管理工具
    sudo apt-get install synaptic
    


    python工具
    # Python类工具需要
    apt-get install python-dev python-greenlet python-gevent python-vte python-openssl python-crypto python-appindicator libnss3-tools
    
    # 安装pip,方便升级gevent1.0
    sudo apt-get install python-setuptools
    sudo easy_install pip
    sudo pip install gevent --upgrade
    


    最后一步报错  pip's wheel support requires setuptools >= 0.8 for dist-info support
    解决方案如下:
    sudo pip install setuptools --no-use-wheel --upgrade
    


    清理系统
    参考 http://health256.com/server/linux/2013/0814/497.html
    sudo apt-get autoclean #清理旧版本的软件缓存
    sudo apt-get clean #清理所有软件缓存
    sudo apt-get autoremove #删除系统不再使用的孤立软件
    
    sudo nautilus /boot #删除除了最新内核以外的其它文件
    
    


    常用命令
    # xz 文件
    xz -d ***.tar.xz
    tar -xvf  ***.tar
    
    # 另一种用法
    tar -Jxvf *.tar.sz
    


    参考 :
    http://blog.sina.com.cn/s/blog_40983e5e0101dhz0.html
    http://www.16kan.com/post/914871.html

    猜你喜欢

    转载自tinyhema.iteye.com/blog/1999220