kali安装到手后必须要做的几件事——kali从零开始配置

记录一下配置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

待续

posted @   Tcilay-xi  阅读(623)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
点击右上角即可分享
微信分享提示