Kali Linux 安装后优化

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

 

转载于:https://my.oschina.net/unclesu/blog/701194

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值