记录一下配置kali的过程,方便下次需要直接复制粘贴
直接终端按照顺序输入就可以配置好
kali更换国内源
sudo su
进入root 模式vim /etc/apt/sources.list
编辑软件源配置文件
i 进入编辑模式,esc退出,:wq保存退出
# 官方源
# 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.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.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.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#浙大
#deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#东软大学
#deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#重庆大学
#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
kali更改语言
sudo su
dpkg-reconfigure locales
- 使用空格键取消勾选
en_US.UTF-8 UTF-
8选项 - 勾选
[ ]zh_CN.GBK_GBK
和[ ] zh-CN.UTF-8.UTF-8
两个选项
kali更新
sudo su
apt update
apt upgrade -y
apt autoremove -y
reboot
kali安装中文输入法
apt install fcitx
apt install fcitx-googlepinyin
reboot
ctrl
+Space bar
切换
kali ssh配置
sudo su
rm -rf /etc/ssh/ssh_host*
dpkg-reconfigure openssh-server
kali安装 Google Chrome
sudo su
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
apt intsll gdebi-core
gdebi google-chrome-stable_current_amd64.deb
google-chrome
kali安装vscode
sudo su
apt install curl gpg software-properties-common apt-transport-https -y
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" | sudo tee /etc/apt/sources.list.d/vscode.list
apt update
apt install code -y
其他
apt install terminator -y
- tor
标签:non,http,kali,几件事,free,从零开始,deb,main From: https://www.cnblogs.com/Tcilay/p/17743889.html待续