kali linux




































































-
更新
apt-get update & apt-get upgrade 更新源和升级软件包
apt-get dist-upgrade 软件升级
apt-get clean 删除已经下载的安装包
rebootapt full-upgrade # 更新系统
apt-get install kali-linux-all #kali安装所有工具(时间需要很久,可以不执行此命令)
leafpad /etc/apt/sources.list -
一个完整的源包括:deb 和 deb-src;
源地址:http://http.kali.org/;
kali-rolling是kali目前最新的代号,kali有两个代号(codename):sana和kali-rolling。
打开http://http.kali.org/源地址,dists文件夹就是所包含的源。
dists文件夹下面的kali-rolling文件夹是所对应的代号。
main non-free contrib :这个代表收费软件,免费软件,主要软件什么的......
注意: (linux standard base linux标准库),以下的更新源均为rolling版本。如果不是,请自行修改。 -
kali linux版本:lsb_release -a
-
查询服务:systemctl list-unit-files --type=service
有则systemctl daemon-reload
systemctl restart ntpd
systemctl enable ntpd
[root@localhost ~]# service ntpd start
[root@localhost ~]# ntpdate -u cn.pool.ntp.org //同步网络时间
[root@localhost ~]# vi /etc/ntp.conf //配置时间同步 -
Linux 桌面环境:https://blog.csdn.net/csdnnews/article/details/128423279
kali linux查看系统版本 内核
- 系统版本
Release: 2023.1 //kali版本
Codename: kali-rolling //系统内核 - 系统内核
Linux version 6.1.0-kali5-amd64 (devel@kali.org) //linux内核版本号
(gcc-12 (Debian 12.2.0-14) 12.2.0 //gcc编译器版本号
Debian 6.1.12-1kali2 (2023-02-23) //Debain版本号






















在终端输入leafpad /etc/apt/sources.list 回车
然后添加以下更新源:
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib

浙公网安备 33010602011771号