1.更换国内源:
leafpad /etc/apt/sources.list
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
其实使用官方源即可,会自动定位到官方国内的neusoft源:
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
2.更新系统
apt-get update
apt-get upgrade
apt-get dist-upgrade
3.安装xfce4
apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies slim
4.更改默认桌面及管理器
dpkg-reconfigure gdm3
update-alternatives --config x-session-manager
5.解决Virtualbox 1908问题
apt-get install linux-headers-x.x.x-kali1-amd64
6.安装FLASH
apt-get install flashplugin-nonfree
update-flashplugin-nonfree --install
7.安装File Roller(归档管理器)
apt-get install unrar unace rar unrar p7zip zip unzip p7zip-full p7zip-rar file-roller
8. 添加标准用户
useradd -m user1
passwd user1
usermod -a -G sudo user1
chsh -s /bin/bash user1
9.安装VPN
apt-get install network-manager-pptp
apt-get install network-manager-pptp-gnome
apt-get install network-manager-openconnect
apt-get install network-manager-openconnect-gnome
/etc/init.d/network-manager restart
10.Shadowsocks
git clone https://github.com/shadowsocks/libQtShadowsocks.git
sudo apt-get install qt5-qmake qtbase5-dev libqrencode-dev libqtshadowsocks-dev libappindicator-dev libzbar-dev libbotan1.10-dev qt5-default unzip debhelper
cd libqtshadowsocks-dev
qmake && make
dpkg-buildpackage -uc -us -b
sudo dpkg -i ../libqtshadowsocks-dev_xxx_amd64.deb ../libqtshadowsocks_xxx_amd64.deb
cd ..
git clone https://github.com/shadowsocks/shadowsocks-qt5.git
cd shadowsocks-qt5
qmake && make
dpkg-buildpackage -uc -us -b
cd ..
sudo dpkg -i shadowsocks-qt5_xxx_amd64.deb
所有评论(0)