更新源
# 打开控制台, 输入以下命令打开编辑器修改配置文件
$ leafpad /etc/apt/sources.list
#kali官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib
# 清华大学的源
deb http://mirrors.tuna.tsinghua.edu.cn/kali/ kali-rolling contrib main non-free
#中科大的源
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
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
#阿里云源
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb http://mirrors.aliyun.com/kali-security/ kali-rolling main contrib non-free
deb-src http://mirrors.aliyun.com/kali-security/ kali-rolling main contrib non-free
# 以上的源四选一, 现在官方的源速度也还不错
更新系统和软件
$ apt-get update
$ ape-get upgrade
$ apt-get dist-upgrade
$ apt-get clean
apt-get install open-vm-tools-desktop fuse
安装中文输入法
apt-get install fcitx fcitx-googlepinyin
配置SSH
# 打开控制台, 输入以下命令打开编辑器修改配置文件
$ leafpad /etc/ssh/sshd_config
# 添加或者修改为如下两条:
PasswordAuthentcation yes
PermitRootLogin yes
# 修改完保存退出
# 启动SSH服务
service ssh start
# 查看服务状态
service ssh status
# 设置系统自启动
update-rc.d ssh enable # 系统自动启动SSH服务
update-rc.d ssh disabled # 关闭系统自动启动SSH服务