VMware安装kali linux后的一些系统设置
更新源:vim /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.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
语言设置成中文
1.dpkg-reconfigure locales
2.下面这种有个*属于已经勾选,使用空格勾选[ ]zh_CN.GBK_GBK 和[ ] zh-CN.UTF-8.UTF-8两个选项。
3.按下enter 表示ok,选择语言zh_CN.UTF-8
4.修改完成
更新软件:
①输入 sudo apt-get clean 清理旧软件缓存;
②输入sudo apt -f install 修复损坏的软件包;
③输入sudo apt update 更新自带软件库;
④输入sudo apt-get update 更新软件;
⑤输入sudo apt-get dist-upgrade 更新系统;
⑥输入sudo apt --fix-broken install 解决依赖关系缺少问题;
⑦输入sudo reboot 重启系统。
配置NTP同步步骤:
第一步:安装NTP服务
apt-get install ntp
第二步:查看是否安装
dpkg --get-selections ntp
第三步:修改ntp.conf
vi /etc/ntp.conf
第四步:找到pool行添加自己 的ntp服务器(这里用*代替,需要替换成自己的ntp服务器地址),修改后wq保存并退出
pool 192.168.*.* iburst
pool *.*.*.* iburst
第五步:重启ntp服务
service ntp restart
第六步:查看ntp服务
ntpq -pn
0条评论