Installing VirtualBox DKMS in Kali 2.0
Kali linux is one of the mainly used operating system by the Ethical hackers and information security professionals. This write up is a small one which covers the solution for a proper upgrade to Kali 2.0.
How to upgrade Kali linux to 2.0?
The latest version which got released is "Sana" Kali 2.0. I had a hard time upgrading to Kali linux 2.0 lately and lot of things did not work and the hard part is installing virtual box DKMS. It was giving error and I tried most of the things but it did not work. After 2 days of struggle I was able to complete it. The steps are as below. Linux Kali 4.0.0-Kali1-amd64 is the kernel version in Kali 2.0 which is based on Debian Jessie, it aso packs with improved hardware and wireless driver coverage, support for a variety of Desktop Environments like gnome, kde, xfce, lxde etc.
The main features of Kali 2.0 is that its a rolling distribution which means all the packages are pulled from Debian testing and upgrades the Kali core linux. The other feature is that you can see alert system in the desktop whenever there is an update for the new package. There are still many features which I have not covered here.
- Below command to update the repo to latest.
 
 cat << EOF > /etc/apt/sources.list
 deb http://http.kali.org/kali sana main non-free contrib
 deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
 EOF
- command to do update and upgrade. 
apt-get update apt-get dist-upgrade; reboot
what is DKMS?
According to Wikipedia : https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support
Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.
An essential feature of DKMS is that it automatically recompiles all DKMS modules if a new kernel version is installed. This allows drivers and devices outside of the mainline kernel to continue working after a Linux kernel upgrade.
Another benefit of DKMS is that it allows the installation of a new driver on an existing system, running an arbitrary kernel version, without any need for manual compilation or precompiled packages provided by the vendor.
DKMS was written by the Linux Engineering Team at Dell in 2003. It is included in many distributions, such as Ubuntu, Debian, Fedora, and SuSE. DKMS is free software released under the terms of the GNU General Public License (GPL) v2 or later.
DKMS supports both the RPM and DEB package formats out-of-the-box.
Steps to do proper DKMS installation.
sudo apt-get install build-essential dkms sudo apt-get remove --purge virtualbox-dkms - For some crazy reason there is a bug report which says you need to reboot the OS before installing again. so the reboot and issue the below command.
sudo apt-get install virtualbox-dkms 
The other important thing is that Kali 2.0 does not ship with metasploit pro. The latest version includes only the open-source based metasploit framework. The pro version can be downloaded from the Rapid7 website. The starting of metasploit service also got changed , please note it below.
 /etc/init.d/postgresql start msfdb init msfconsole
Installing VirtualBox DKMS in Kali 2.0的更多相关文章
- Installing VirtualBox
		
The (VirtualBox) website has a lot of quality documentation including: End-user documentation Techni ...
 - 安装在virtualbox中的kali linux如何配置无线网卡
		
1.安装在virtualbox里的kali无法使用所在物理机的wifi 2.必须通过usb方式,如图所示 3.所使用的usb无线网卡必须是kali2.0支持的 4.我的型号是TL-WN823N 2.0 ...
 - 3.Kali 1.0 / 2.0 安装中文输入法(谷歌pinyin + 其他)
		
1.kali默认是没有中午输入法的,需要自己安装一下 2.首先我们先获取root权限 dnt@HackerKali:~$ su密码: 3.安装中文输入法(apt-get 指令不会的同学可以学习一下基础 ...
 - 4.修改更新源sources.list,提高软件下载安装速度(提供Kali 2.0 更新源)
		
1.切换到root用户(如果已经是root用户就直接看第二步) dnt@HackerKali:~$ su 密码: 2.用文本编辑器打开sources.list,手动添加下面的更新源 root@Hack ...
 - kali 2.0 U盘安装错误Your installation cd-rom couldn't be mounted
		
1.kali 2.0前天(2015.08.11)发布了.果断下载下来换掉本机的1.0版本. 2.用U盘安装的过程中,出现cd-rom无法挂载.提示错误Your installation CD-ROM ...
 - kali 2.0 启动metasploit服务
		
kali 2.0 已经没有metasploit 这个服务了,所以service metasploit start 的方式不起作用. 在kali 2.0中启动带数据库支持的MSF方式如下: 首先启动po ...
 - kali 2.0源更新
		
摘自网址: 修改更新源sources.list,提高软件下载安装速度(提供Kali 2.0 更新源) - 月黑风寒 - 博客园http://www.cnblogs.com/webyihui/p/485 ...
 - 修改更新源sources.list,提高软件下载安装速度(提供Kali 2.0 更新源)
		
1.切换到root用户(如果已经是root用户就直接看第二步) dnt@HackerKali:~$ su 密码: 2.用文本编辑器打开sources.list,手动添加下面的更新源 root@Hack ...
 - kali 2.0中msf连接postgres数据库
		
装好kali 2.0后直接运行msfconsole msf> db_status postgres selected, no connection 百度到的解决方法多是针对BT和kali 1.0 ...
 
随机推荐
- java框架---->zxing框架的使用
			
今天我们就来学习一下zxing的用法,这里只涉及到java se的部分. zxing的学习 如果在java se环境中使用zxing,需要在maven的pom.xml中添加依赖: <depend ...
 - 【黑金ZYNQ7000系列原创视频教程】06.ZYNQ来自FPGA的中断——按键中断实验
			
黑金论坛地址: http://www.heijin.org/forum.php?mod=viewthread&tid=36640&extra=page%3D1 爱奇艺地址: http: ...
 - 去面试H5游戏问的一些问题
			
首先肯定是自我介绍,然后问一些基础题,然后问简历上的相关问题. 1. WebSocket和Socket的区别 2.Http和Https的区别,get和post区别 3.进程和线程 4.H5的渲染流程 ...
 - 您需要安装旧 Java SE 6 运行环境才能打开“Eclipse”。
			
mac删除jdk: sudo rm -rf /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk 旧版本sdk地址: http://www.oracle. ...
 - Android在ArrayAdapter<>里如何得到List<>的Items
			
public class ItemAdapter extends ArrayAdapter<DemoModel> { private final List<DemoModel> ...
 - 用CMAKE编译配置的项目进行调试的方法
			
在Linux 下用CMAKE编译的项目进行Debug 需进行设置: 1.在未设置之前 进行调试可能会出现错误报告:No source available for ...等一系列错误,这些错误可能就是你 ...
 - 查看、关闭登录到linux的终端
			
基本概念: tty(终端设备的统称):tty一词源于Teletypes,原来指的是电传打字机,是通过串行线用打印机键盘阅读和发送信息的东西,后来这东西被键盘和显示器取代,所以现在叫终端比较合适.终端是 ...
 - EF的使用(DbContext对象的共用问题)
			
1.问题的引入 对于某一个数据库的EF操作对象,当执行某一次请求的时候,可能会多次操作数据库,也就是可能创建很多MyDbContext(继承自DbContext对象,EF上下文对象) 2.代码创建 当 ...
 - jenkins之构建maven项目
			
新建java项目 修改列子的pop.xml提交 在git的web界面打一个tag 再次修改代码 再次push 5.38
 - Oracle性能优化之表压缩及并行提高效率的测试
			
1.制作测试表 create table t1 as select * from FW_T_GTXLOG insert into t1 select * from t1; create table t ...