1. 添加更新源(目录:/etc/apt/sources.list)
deb http://http.kali.org/kali kali-rolling main non-free contrib
官网的源已经更新,它能自动寻找你机器附近的源并连接上。所以大家不用再安装各种源了,只需要这一个。
2. 更新和升级
apt-get clean && apt-get update
apt-get upgrade -y && apt-get dist-upgrade -y
3. 安装vmtools
由于vmtools存在兼容性问题,所以官网建议大家安装open-vm-tools-desktop(安装方法:apt-get install open-vm-tools-deskto)
4. 安装中文字体
apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy -y
5. 汉化iceweasel浏览器
apt-get install iceweasel-l10n-zh-cn -y
6. 修改开机等待时间
vi /boot/grub/grub.cfg
输入以下内容以快速查找定位相关配置信息
:/timeout
改红色标注处为你想要的时间。
7. 启用自动登录用户
vi /etc/gdm3/daemon.conf
红色标记处取消注释。如果用其他用户登录,AutomaticLogin = 你的登录用户名。
8. 设置VPN代理
apt-get install network-manager-open -y && apt-get install network-manager-open-gnome -y && apt-get install network-manager-pptp -y && apt-get install network-manager-pptp-gnome -y && apt-get install network-manager-strongswan -y && apt-get install network-manager-c -y && apt-get install network-manager-c-gnome -y
/etc/init.d/network-manager restart
9. 安装搜狗输入法
apt-get install fcitx-libs -y && \
apt-get install fcitx-libs-qt -y && \
apt-get install fcitx-bin -y && \
apt-get install fcitx-data -y && \
apt-get install fcitx-modules -y && \
apt-get install fcitx-module-dbus -y && \
apt-get install fcitx-module-kimpanel -y && \
apt-get install fcitx-module-lua -y && \
apt-get install fcitx-module-x11 -y && \
apt-get install fcitx -y && \
apt-get install fcitx-tools -y && \
apt-get install fcitx-ui-classic -y && \
apt-get install fcitx-config-gtk2 -y && \
apt-get install libopencc1
以上是依赖,顺序必须是这个顺序,需要手动安装(直接粘贴到shell就能用)。
到搜狗输入法官网下载安装包(搜狗官网 http://pinyin.sogou.com/linux/)
开始安装:
dpkg -i sogoupinyin_2.0.0.0068_amd64.deb
注:最后必须执行:echo "sogoupinyin hold" | dpkg --set-selections
把sougoupinyin这个程序锁住,因为在用更新命令时,会把它删除
。
10. 安装新立得(可选)
新立得(Synaptic)是 debian 及其衍生版本如Ubuntu Linux操作系统的包管理工具apt的图形化前端。
apt-get install synaptic
11. 安装GDebi:软件包安装工具(可选)
apt-get install gdebi -y
本人亲测,所有方法都能用。如果还对以上有问题,可以百度找找。希望对大家有帮助!!!