Linux:安装虚拟机:VirtualBox

搜索 Linux VirtualBox 大部分都是使用VirtualBox安装Linux系统。
本帖子是介绍在Linux 系统上安装VirtualBox 虚拟机。


下载页面的地址:
https://www.oracle.com/virtualization/technologies/vm/downloads/virtualbox-downloads.html


本人使用的文件下载地址:
VirtualBox-6.0.12-133076-Linux_amd64.run


在下载VirtualBox-6.0.12-133076-Linux_amd64.run之前,测试了
VirtualBox-6.0-6.0.12_133076_el6-1.x86_64.rpm
VirtualBox-6.0-6.0.12_133076_fedora29-1.x86_64.rpm

安装包时都需要很多依赖,很麻烦,懒得下了,就没有再研究。直接使用VirtualBox-6.0.12-133076-Linux_amd64.run

下载过程:

[adams@down]$ aria2c https://download.oracle.com/virtualbox/6.0.12/VirtualBox-6.0.12-133076-Linux_amd64.run
 *** Download Progress Summary as of Fri Nov 29 11:20:21 2019 ***                                                                                            
=============================================================================================================================================================
[#2ab8e9 59MiB/121MiB(48%) CN:1 DL:0.9MiB ETA:1m2s]
FILE: /home/adams/down/VirtualBox-6.0.12-133076-Linux_amd64.run
-------------------------------------------------------------------------------------------------------------------------------------------------------------

[#2ab8e9 120MiB/121MiB(99%) CN:1 DL:1.3MiB]                                                                                                                  
11/29 11:21:05 [NOTICE] Download complete: /home/adams/down/VirtualBox-6.0.12-133076-Linux_amd64.run

下载结果:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
2ab8e9|OK  |   1.1MiB/s|/home/adams/down/VirtualBox-6.0.12-133076-Linux_amd64.run

状态标识:
(OK):完成下载。
[adams@down]$ 

前提是先安装了aria2c 工具。如果没有aria2c,直接使用wget也是可以的。

下载完成后,修改.run文件的权限为0755,然后直接./ 运行就可以。

[adams@down]$ chmod 755 VirtualBox-6.0.12-133076-Linux_amd64.run 
[adams@down]$ ./VirtualBox-6.0.12-133076-Linux_amd64.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.............
VirtualBox Version 6.0.12 r133076 (2019-09-03T09:58:04Z) installer
This program must be run with administrator privileges.  Aborting
[adams@down]$ sudo ./VirtualBox-6.0.12-133076-Linux_amd64.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.......1......
VirtualBox Version 6.0.12 r133076 (2019-09-03T09:58:04Z) installer
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...

VirtualBox has been installed successfully.

You will find useful information about using VirtualBox in the user manual
  /opt/VirtualBox/UserManual.pdf
and in the user FAQ
  http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.

[adams@down]$ VirtualBox

安装完成后,使用VirtualBox 命令启动虚拟机。界面如下:
Linux:安装虚拟机:VirtualBox_第1张图片

完成。

你可能感兴趣的:(Tools,Linux)