kali 安装virtualbox

安装virualbox 的三大步:

1、添加源:

Add the following line to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian artful contrib

2、添加公钥

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

3、更新并安装

sudo apt-get update
sudo apt-get install virtualbox-5.2

然后可以在https://www.virtualbox.org/wiki/Downloads 下载扩展 增强功能

当然可以直接下载安装包安装

参考:

-----------------------------------------------------------------------------

https://www.virtualbox.org/wiki/Linux_Downloads

VirtualBox 5.2.2 for Linux

Note: The package architecture has to match the Linux kernel architecture, that is, if you are running a 64-bit kernel, install the appropriate AMD64 package (it does not matter if you have an Intel or an AMD CPU). Mixed installations (e.g. Debian/Lenny ships an AMD64 kernel with 32-bit packages) are not supported. To install VirtualBox anyway you need to setup a 64-bit chroot environment.

The VirtualBox base package binaries are released under the terms of the GPL version 2.

Please choose the appropriate package for your Linux distribution:

  • Ubuntu 17.04 ("Zesty") / 17.10 ("Artful") i386 | AMD64
  • Ubuntu 16.10 ("Yakkety") i386 | AMD64
  • Ubuntu 16.04 ("Xenial") i386 | AMD64
  • Ubuntu 14.04 ("Trusty") / 14.10 ("Utopic") / 15.04 ("Vivid") i386 | AMD64
  • Debian 9 ("Stretch") i386 | AMD64
  • Debian 8 ("Jessie") i386 | AMD64
  • Debian 7 ("Wheezy") i386 | AMD64
  • openSUSE 13.2 ("Harlequin") / Leap 42.1 ("Malachite") i386 | AMD64
  • Fedora 26 / 27 i386 | AMD64
  • Fedora 25 i386 | AMD64
  • Oracle Linux 7 ("OL7") / Red Hat Enterprise Linux 7 ("RHEL7") / CentOS 7 AMD64
  • Oracle Linux 6 ("OL6") / Red Hat Enterprise Linux 6 ("RHEL6") / CentOS 6 i386 | AMD64
  • Oracle Linux 5 ("OL5") / Red Hat Enterprise Linux 5 ("RHEL5") / CentOS 5 i386 | AMD64
  • All distributions (built on EL5 and therefore do not require recent system libraries) i386 | AMD64

You might want to compare the SHA256 checksum or the MD5 checksum to verify the integrity of downloaded packages. The SHA256 checksums should be favored as the MD5 algorithm must be treated as insecure!

Oracle Linux

Users of Oracle Linux 5, 6 and 7 can use the Oracle Linux yum repository and enable the el5_addons (OEL5), the ol6_addons (OL6) or the ol7_addons (OL7). If an Oracle yum repo file already exists in /etc/yum.repos.d, do not overwrite it but just enable the addons! After that, do

yum install VirtualBox-5.2

to the latest maintenance release of VirtualBox 5.1.x.

Debian-based Linux distributions

Add the following line to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian artful contrib

According to your distribution, replace ‘artful‘ with ‘zesty‘, ‘yakkety‘, ‘xenial‘, ‘vivid‘, ‘utopic‘, ‘trusty‘, ‘raring‘, ‘quantal‘, ‘precise‘, ‘stretch‘, ‘lucid‘, ‘jessie‘, ‘wheezy‘, or ‘squeeze‘.

(Up to version 3.2 the packages were located in the non-free section. Starting with version 4.0 they are located in the contrib section.)

The Oracle public key for apt-secure can be downloaded

  • here for Debian 8 ("Jessie") / Ubuntu 16.04 ("Xenial") and later
  • here for older distributions.

You can add these keys with

sudo apt-key add oracle_vbox_2016.asc
sudo apt-key add oracle_vbox.asc

or combine downloading and registering:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

The key fingerprint for oracle_vbox_2016.asc is

B9F8 D658 297A F3EF C18D  5CDF A2F6 83C5 2980 AECF
Oracle Corporation (VirtualBox archive signing key) <[email protected]>

The key fingerprint for oracle_vbox.asc is

7B0F AB3A 13B9 0743 5925  D9C9 5442 2A4B 98AB 5139
Oracle Corporation (VirtualBox archive signing key) <[email protected]>

(As of VirtualBox 3.2, the signing key was changed. The old Sun public key for apt-secure can be downloaded here.)

To install VirtualBox, do

sudo apt-get update
sudo apt-get install virtualbox-5.2

Replace virtualbox-5.2 by virtualbox-5.1 to install VirtualBox 5.1.30 Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade. For Debian it is available in Lenny backports and in the normal repository for Squeeze and later. The dkms package can be installed through the Synaptic Package manager or through the following command:

sudo apt-get install dkms

What to do when experiencing The following signatures were invalid: BADSIG ... when refreshing the packages from the repository?

# sudo -s -H
# apt-get clean
# rm /var/lib/apt/lists/*
# rm /var/lib/apt/lists/partial/*
# apt-get clean
# apt-get update

RPM-based Linux distributions

Starting with VirtualBox 3.0.12 we provide a yum-style repository for Oracle Linux/Fedora/RHEL/openSUSE. Note that 3.0.x .rpm packages are named VirtualBox-3.0.x while 3.1.x .rpm packages are named VirtualBox-3.1-3.1.x. This naming scheme allows to use the older 3.0.x packages without changing the repository.

Furthemore, all .rpm packages are signed. The Oracle public key for rpm can be downloaded here. You can add this key (not necessary for yum users, see below!) with

sudo rpm --import oracle_vbox.asc

or combine downloading and registering:

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | rpm --import -

The key fingerprint is

7B0F AB3A 13B9 0743 5925  D9C9 5442 2A4B 98AB 5139
Oracle Corporation (VirtualBox archive signing key) <[email protected]>

After importing the public key, the package signature can be checked with

rpm --checksig PACKAGE_NAME

Note that importing the key is not necessary for yum users (Oracle Linux/Fedora/RHEL/CentOS) when using one of the virtualbox.repo files from below as yum downloads and imports the public key automatically!

The package signature is checked by yum/zypper as well:

Note: Users of Fedora/Mandriva might want to install the dkms package (not available on openSUSE) to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next kernel update.

时间: 2024-10-23 10:29:47

kali 安装virtualbox的相关文章

PJzhang:kali linux安装virtualbox虚拟机和chrome浏览器

猫宁!!! 参考链接: https://www.cnblogs.com/zhishuai/p/8007410.html kali linux 安装virtualbox. 查询系统的版本 apt-cache search linux-header 选择apt-get install linux-headers-5.2.0-kali3-amd64 apt-cache search linux-image 选择apt-get install linux-image-5.2.0-kali3-amd64

kali linux安装virtualbox

仅次记录,不喜无喷,高手请绕行,谢谢!反复折腾了一天,结果比较遗憾,没有安装成功.不过从过程中加深了对kali的认识.但是但是,么有放弃,最后安装成功了!!!以前只知道更新源,让apt-get自己去更新安装依赖包.现在晓得了,其实Debian有软件仓库,可以手动去软件仓库搜索需要安装的依赖包,然后下载,使用dpkg -i安装.Ubuntu软件仓库中的依赖包(.deb)也可以用于Debian系统.命令apt-get -f install和apt --fix-broken install在某种程度上

Kali linux virtualbox rc=1908 错误解决办法

Kali linux virtualbox rc=1908 错误解决办法: 当我尝试启动virtualbox时候提示: Kernel driver not installed (rc=-1908)The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module

2018-2019-2 《网络对抗技术》Exp0 Kali安装 Week1 20165308 张士洋

2018-2019-2 <网络对抗技术>Exp0 Kali安装 Week1 20165308 张士洋 1.进入官网下载Kali Linux VirtualBox版本的镜像文件. 2.解压并打开下载好的镜像文件. 3.选择网络格式,导入. 4.导入成功后,安装扩展包. 5.设置好共享文件夹. (过程忘记截图只有设置之后的) 默认账号是root密码是toor 原文地址:https://www.cnblogs.com/1252854089qq/p/10467284.html

CentOS7.3安装VirtualBox

安装 DKMS.更新内核 # yum -y install gcc make glibc kernel-headers kernel-devel dkms Installed: dkms.noarch 0:2.3-1.20161202gitde1dca9.el7 # yum -y update kernel # reboot 安装VirtualBox 浏览器打开: http://www.oracle.com/technetwork/server-storage/virtualbox/downlo

在VirtualBox中的CentOS 6.3下安装VirtualBox增强包

在VirtualBox中安装好客户操作系统(GuestOS)之后,建议安装VirtualBox增强包(VirtualBox GuestAddition),它的作用是对GuestOS的性能和可用性进行优化(也就是提高GuestOS的性能和提升使用者的使用体验). GuestAddition实质上是安装在GuestOS上的一组驱动程序和应用程序. 注意,很多人把下载的增强包双击之后,看到VirtualBox的"全局设定"--"扩展"中已经显示出了增强包的名字就认为已经安

Windows系统下安装VirtualBox,系统找不到指定路径的做法

在虚拟机软件中,VMware.Virtual PC等都不支持目前Windows 8各版本的安装.无奈之下,只剩下一个选择——VitualBox. 但是很多朋友在下载VitualBox之后,在Windows 7下安装碰到了问题(Windows Vista.Windows XP系统也一样),他会弹出一个对话框“Installation failed! Error: 系统找不到指定的路径.”(一些较早期的VitualBox会显示为“Installation failed!ERROR:3”) 这个问题产

Ubuntu下安装VirtualBox并为其添加USB支持

1.下载VirtualBox软件包和USB支持包 下载网址均为为:https://www.virtualbox.org/wiki/Downloads VirtualBox软件包下载项: VirtualBox 4.3.10 for Linux hosts USB支持包下载项: VirtualBox 4.3.10 Oracle VM VirtualBox Extension Pack All supported platforms 2.下载完成后,进行安装 3.添加当前用户到组 sudo gedit

CentOS 7 安装VirtualBox

昨天给centos6.5装VirtualBox,装了一天也没,今天闲着没事,试试centos7,结果成功了 PS 小弟也是初学linux,许多地方只是找到了解决方法,但不知道为什么,莫见 怪O(∩_∩)O哈! 1.安装centos7,这个就不说了,centos7的安装比旧版本简单的多. 2.连网设置,刚装完centos后用ifconfig查看发现没有ip地址,解决办法: cd /etc/sysconfig/network-scripts/ vi ifcfg-eno16777736 #注意,我们平