【汇总】Kali Linux 10系统介绍、安装、配置、软件安装步骤教程

解决VMware Workstation 17 Pro不显示鼠标光标

国内镜像源,修改字体,修改root密码



一、下载镜像

直接去国内镜像站下载:

https://mirrors.tuna.tsinghua.edu.cn/kali-images/current/

文件选:kali-linux-2026.1-vmware-amd64

下载解压

用VMware Workstation 17 Pro打开,先不着急启动

右键设置cpu和内存

右键-管理-更改兼容性,选择Workstation 17.x,就可以解决UI不显示鼠标光标问题



二、系统设置

2.1 root密码

登录 kali/kali

修改root密码,sudo passwd root

只需要kali的密码就能改root的密码,以后可以以root登录



2.2 国内镜像源

cp /etc/apt/sources.list /etc/apt/sources.list.bak
tee /etc/apt/sources.list > /dev/null <<'EOF'
deb https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free non-free-firmware
EOF

apt clean
apt update



2.3 字体 & 汉化 & 输入法

2.3.1 字体大小

桌面左上角图标 - 右下角设置 - appearance - fonts

终端左上角session - perference - font



2.3.2 汉化

apt install -y locales task-chinese-s-desktop fonts-noto-cjk fonts-wqy-microhei fonts-wqy-zenhei
dpkg-reconfigure locales
# 在界面最下方找到并勾选zh_CN.UTF-8 UTF-8,空格勾选,遇到en_US.UTF-8 UTF-8不用管,保留

cat /etc/default/locale
# 检查

后面安装了输入法再一起重启



2.3.3 中文输入法

apt install -y fcitx5 fcitx5-chinese-addons fcitx5-pinyin fcitx5-config-qt

reboot

重启后到 设置-最下方fcitx5配置,设置第一个为键盘-汉语,第二个为拼音

这样默认打英文,左shift可以切换为拼音



2.4 安装oh-my-zsh

# 可以先设置临时代理
export http_proxy=http://192.168.1.2:7890
export https_proxy=http://192.168.1.2:7890


git clone https://github.com/ohmyzsh/ohmyzsh.git .oh-my-zsh
# 下载插件
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git .oh-my-zsh/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git .oh-my-zsh/plugins/zsh-autosuggestions

cp .zshrc .zshrc.back
cp .oh-my-zsh/templates/zshrc.zsh-template .zshrc
source ~/.zshrc

个人.zshrc配置,只需要注释掉原本的主题ZSH_THEME="robbyrussell"和插件plugins=(git)两行就行

ZSH_THEME="agnoster"

# 右侧打印时间
RPROMPT='%D{%H:%M:%S}'

# 解决zsh-autosuggestions显示白色
export TERM=xterm-256color

# 禁用自动更新 
zstyle ':omz:update' mode disabled

# 绑定按键
bindkey "^[[1~" beginning-of-line
bindkey "^[[4~" end-of-line

# 自带的ui文本编辑器,适合直接通过vm使用kali,而不是ssh
alias vi='mousepad'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# ls -a无法生效
alias ll='ls -lh'

CASE_SENSITIVE="true"

HYPHEN_INSENSITIVE="true"
# 80G
plugins=(
    git 
    zsh-autosuggestions 
    zsh-syntax-highlighting 
)

# 系统代理
export http_proxy=http://192.168.1.2:7890
export https_proxy=http://192.168.1.2:7890

posted @ 2026-06-03 17:04  云牧青  阅读(19)  评论(0)    收藏  举报