Kali 2016.2 安装后需要做的事

VIM语法着色

vim /etc/vim/vimrc

syntax on前面的注释符去掉即可

更换源

leafpad /etc/apt/sources.list

文件内容修改为:

deb http://http.kali.org/kali kali-rolling main non-free contrib
# deb-src http://http.kali.org/kali kali-rolling main non-free contrib

# deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
# deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
# deb http://mirrors.aliyun.com/kali-security kali-rolling/updates main contrib non-free
# deb-src http://mirrors.aliyun.com/kali-security kali-rolling/updates main contrib non-free

# deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
# deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
# deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free

更新

apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot

重装ssh

# 卸载
service ssh stop
apt-get –-purge remove openssh-server openssh-client

# 安装
apt-get install openssh-server

# 启动
systemctl start ssh

# 设置开机启动
systemctl enable ssh

安装vm-tools

apt-get install open-vm-tools-desktop fuse
reboot

声卡驱动 其实并不是不支持声卡驱动了,只是root用户下默认关闭。 设置声卡驱动开机启动:

systemctl --user enable pulseaudio

重启系统后生效。

安装中文输入法

首先,更换为国内可用的源

vim /etc/apt/sources.list

添加以下内容:

deb [http://mirrors.ustc.edu.cn/kali](http://mirrors.ustc.edu.cn/kali) sana main non-free contrib
deb [http://mirrors.ustc.edu.cn/kali-security/](http://mirrors.ustc.edu.cn/kali-security/) sana/updates main contrib non-free
deb-src [http://mirrors.ustc.edu.cn/kali-security/](http://mirrors.ustc.edu.cn/kali-security/) sana/updates main contrib non-free

然后执行以下命令:

apt-get update
apt-get install fcitx fcitx-googlepinyin     # google拼音

无法挂载Windows硬盘

是因为Windows开启了UEFI快速启动导致的,但我们可以只读挂载:

# 挂载
mount -t ntfs-3g /dev/sdb5 /mnt/ -ro force
# 取消挂载
umount /mnt

也可以运行如下命令,运行完就可以直接点击盘符打开了,但依旧是只读模式:

ntfsfix /dev/sdb5

代理设置

1:软件自带代理设置,如冰鼬浏览器【推荐下载一个autoproxy插件】

2:软件源代理设置:

编辑配置文件

vi /etc/apt/apt.conf

输入信息:

Acquire::http::proxy=”http://127.0.0.1:8087″;

(注意:里面的地址和监听的端口默认是这么多,如果自己改了就换成更改后的)