Kali系统的软件调整过程
来源:互联网 发布:天猫数据平台 编辑:程序博客网 时间:2024/05/21 00:18
Kali系统安装之后,按照我的需要,我将系统中的软件进行了调整。主要是修改软件源、调整时区、卸载gnome桌面、安装xfce4桌面、安装firefox浏览器等。
1.基本设置
调整网络连接模式为NAT模式。宿主机采用宽带入网。主要是因为在学校的网络出口有缓存,部分软件包会从缓存上直接下载,造成在文件MD5校验时出错。
关闭IPv6设置,因为首选用宽带连接,所以无法确保IPv6可用。
在配置文件(/etc/sysctl.conf)中追加以下设置:
net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1net.ipv6.conf.lo.disable_ipv6 = 1
2. 修改软件源
在Kali官网上提供了一下的修改方案,但只在USTC的软件源上也提供了Kali的软件源,至于可用不可用,待考究,先修改为Kali的官方软件源。
由于学校的对外出口有缓存,所以有些下载下来的包经过不了md5值检测。所以改用通过宽带更新软件包,并且使用USTC的软件源。
deb http://mirrors.aliyun.com/kali kali main non-free contribdeb http://mirrors.aliyun.com/kali-security kali/updates main non-free contribdeb-src http://mirrors.aliyun.com/kali kali main non-free contribdeb-src http://mirrors.aliyun.com/kali-security kali/updates main non-free contrib
这两个域名http.kali.org和security.kali.org都指向IP地址为192.99.150.28的服务器。
使用的软件源是官方提供的书写方法,如果发现有些软件无法安装,可以通过分析软件源的文件夹结构,得到软件源的进一步写法。
可以使用的软件源有几个,分别是Kali、USTC、Aliyun。这里优先选用Aliyun是因为通过ping测试发现它的网络最通常。
也可以使用中科大的软件源:
deb http://mirrors.ustc.edu.cn/kali kali main non-free contribdeb-src http://mirrors.ustc.edu.cn/kali kali main non-free contribdeb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
3.调整时区,修改时间
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtimedate -s “22:24:00 2015-05-07”
4.安装轻量级桌面xfce4
# apt-get install xfce4 xfce4-terminal
5.卸载现有的gnome桌面
# dpkg -l | grep gnome | awk '{ cc=cc" "$2;} END { end="yes | apt-get purge "cc";yes | apt-get autoremove"; print end | "/bin/bash"}'
6.卸载一些不必要的软件
# apt-get purge file-roller vim-gtk vim-gui-common vim-tiny zim ettercap-common ettercap-graphical chirp arduino arduino-core truecrypt bulk-extractor dff keepnote spectools mc reportbug unetbootin gparted pcsc-tools w3m florence python-wxtools sqlitebrowser vlc libvlc5 libvlccore5 vlc-data ophcrack ophcrack-cli lynis guymager xterm# apt-get autoremove
7.安装firefox浏览器
在kali的官方软件源中并没有提供,所以需要使用第三方软件源,按照下边步骤首先卸载自带的iceweasel,再安装firefox浏览器。
# apt-get remove iceweasel# echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29# apt-get update# apt-get install firefox-mozilla-build
8.安装firefox插件
firebug,Cookies Manager,Eat My Cookies,HackBar,HttpFox, Live HTTP headers,Modify Headers,Tamper Data,Greasemonkey
9.调整默认打开方式
在Applications Menu -> Settings -> Preferred Applications 中调整配置,把Web Browser修改为后安装的Firefox,Terminal Emulator修改为Xfce Terminal。
10.删除部分桌面控件
在Applications Menu -> Settings -> Panel 中删除Panel 2即可。
11.修改桌面背景
在桌面上点击右键 -> Desktop Setting,修改Image为None,将Colors修改为Solid color,并修改桌面颜色。
12.调整屏幕分辨率
修改分辨率,xrandr -s 1024x768
通过修改配置文件的方法永久性修改分辨率,可以参考这篇文献。操作步骤为:首先执行Xorg -configure
,该命令会在用户目录中创建一个xorg.conf.new文件,打开该文件,将其中的Screen0部分修改为:
Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1024x768" EndSubSectionEndSection
主要是添加Modes为1024x768。然后将修改后的文件复制到指定目录下# cp xorg.conf.new /etc/X11/xorg.conf
中科大的软件源
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
安装linux-headers
apt-get updateapt-get upgradeapt-get install -y linux-headers-`uname -r`
可以卸载掉的一些工具
这些工具可以写在到,应为在实验环境中用不到,但是为了保证系统工具的完整性,还是推荐不要卸载掉,况且删掉之后发现也节约不用多少空间,而且不知道会不会对其他软件造成依赖上的影响。
# apt-get purge aircrack-ng maltego dhcpig thc-ipv6 thc-ssl-dos iaxflood inviteflood siege t50 dsniff inundator wifitap bluelog bluesnarfer blueranger mfterm libnfc-bin mfcuk mfoc libfreefare-bin killerbee btscanner redfang bully spooftooph asleap cowpatty kismet eapmd5pass recordmydesktop cutycapt dradis pipal casefile magictree metagoofil cisco-torch ollydbg # apt-get autoremove
添加中文输入法
可以参考这个教程:blog.csdn.net/qq_30135181/article/details/51049419
- Kali系统的软件调整过程
- 调整Kali Linux的锁屏时间
- cms系统核心发布提取过程的调整优化
- kali linux的一些软件源
- kali无法正常上网的解决过程
- 记一次kali拿站的过程
- kali利用MS08_067简单渗透的过程
- 短消息系统的调整
- kali linux系统中搜狗输入法的安装
- kali系统下的MDK3攻击
- 删除Kali Linux多余的系统架构
- 调整法建堆过程的优化
- 一次网络调整的过程
- 树莓派(一) 树莓派分辨率调整(含官方默认和kali系统)
- vmware kali Linux 分辨率调整
- KALI 更新软件源
- Kali linux截图软件
- kali 2.0 安装软件
- lapack 在window下编译
- 剑指offer——面试题62:序列化二叉树
- EM 算法在高斯混合模型中的实现(未完成)
- 购买Vps
- Firefox 中文语言包安装方法
- Kali系统的软件调整过程
- OpenWRT与QNAP上通过PXE安装Xenial (by quqi99)
- Html常用标记总结
- win10安装ansys14.0
- 欧几里得算法
- sys.stdout、sys.stdin
- Largest Rectangle in Histogram
- centos开机启动自定义脚本
- 层次聚类算法的原理及实现Hierarchical Clustering