如何在kali Linux中添加软件源

如何在kali Linux中添加软件源,第1张

vim /etc/apt/sources.list

然后选择适合自己较快的源:

#中科大kali源

deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib

deb http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free

deb-src http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free

#阿里云kali源

deb http://mirrors.aliyun.com/kali sana main non-free contrib

deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free

deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free

对软件进行一次整体更新:

apt-get update &apt-get upgrade

apt-get dist-upgrade

apt-get clean

kali高速更新源以及主题修改方法-洛维花 – 每天都是花开的季节

kali高速更新源以及主题修改方法

1_20140716203622.png

kali高速更新源

安装完kali之后,需要对软件进行一次整体更新:apt-get update &apt-get upgrade

但是,先别着急,默认kali安装完之后,里面的更新源很慢,是kali官网的更新源,我们从国内进行下载,肯定会很慢。

所以,我们要添加一些速度快的更新源,以方便我们进行更新:

首先,我们要打开sources.list文件,进行添加更新源:

leafpad /etc/apt/sources.list

然后选择添加以下较快的源:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

#官方源

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

#中科大kali源

deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib

deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib

deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free

#新加坡kali源

deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib

deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib

deb http://security.kali.org/kali-security kali/updates main contrib non-free

deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free

deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free

#debian_wheezy国内源

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

然后执行:apt-get update &apt-get upgrade 即可。

安装主题

那么,一切更新完之后,我们想要修改主题该怎么办呢?首先,需要安装一个主题管理软件,名字叫:gnome-tweak-tool

那么,只需要执行:apt-get install gnome-tweak-tool 就可以了。

安装完之后,执行:gnome-tweak-tool 命令进行打开Gnome。

2_20140716203801.png

在这里可以看到,我们可以修改很多东西。

我们到:http://gnome-look.org 这个网站,选取我们喜欢的主题。

3_20140716203826.png

下载下来之后,解压,把主题文件夹 复制到我们的kali主题存放文件夹:/usr/share/themes下面。

之后,再回到刚才那个gnome-tweak-tool界面。

4_20140716203852.png

OK,就这么简单,修改图标和鼠标什么的,谨慎 *** 作。在/usr/share/icons这个文件夹。小心别把系统按钮图标删掉了。

1.切换到root用户(如果已经是root用户就直接看第二步)

1

2

dnt@HackerKali:~$ su

密码:

2.用文本编辑器打开sources.list,手动添加下面的更新源

在此之前先确定自己是什么版本:

1

lsb_release -a

1

root@Kali:/usr/xiaocan# leafpad /etc/apt/sources.list

kali-rolling版本:(中科大的就够用了,个人按需吧)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

#中科大

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

#重庆大学

#deb http://http.kali.org/kali kali-rolling main non-free contrib


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/bake/11601764.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-17
下一篇 2023-05-17

发表评论

登录后才能评论

评论列表(0条)

保存