This guide explains how you can run virtual machines with VirtualBox 5.1 on a headless Ubuntu 16.04 server. Normally you use the VirtualBox GUI to manage your virtual machines, but a server does not have a desktop environment.
Page 1 of 1 | [ 11 posts ] |
|
Author | Message | ||
---|---|---|---|
| |||
Joined Wed May 02, 2012 12:57 am Posts 383 Favourite OS Windows NT 3.x |
| ||
Top |
| |||
Joined Thu May 17, 2018 5:51 am Posts 1 |
| ||
Top |
| |||
Joined Wed May 02, 2012 12:57 am Posts 383 Favourite OS Windows NT 3.x |
| ||
Top |
| |||
Joined Wed May 02, 2012 12:57 am Posts 383 Favourite OS Windows NT 3.x |
| ||
Top |
| |||
Joined Sun Feb 12, 2017 12:50 am Posts 42 Favourite OS Windows |
| ||
Top |
| |||
Joined Wed Sep 13, 2017 1:26 am Posts 357 Location Tlajomulco de Zu単iga, Jalisco, Mexico. Favourite OS Windows Longhorn 6.0.4093 |
| ||
Top |
| |||
Joined Sun Feb 25, 2018 6:49 pm Posts 282 Location GMT+2 w/dst Favourite OS 6.0.6001 |
| ||
Top |
| |||
Joined Wed Sep 13, 2017 1:26 am Posts 357 Location Tlajomulco de Zu単iga, Jalisco, Mexico. Favourite OS Windows Longhorn 6.0.4093 |
| ||
Top |
| |||
Joined Sun Feb 12, 2017 12:50 am Posts 42 Favourite OS Windows |
| ||
Top |
| |||
Joined Wed Sep 13, 2017 1:26 am Posts 357 Location Tlajomulco de Zu単iga, Jalisco, Mexico. Favourite OS Windows Longhorn 6.0.4093 |
| ||
Top |
| |||
Joined Wed May 02, 2012 12:57 am Posts 383 Favourite OS Windows NT 3.x |
| ||
Top |
Page 1 of 1 | [ 11 posts ] |
VirtualBox is a free and open-source virtualization software for x86 hardware. It is available for both Windows and Linux like operating system, it is one the most popular virtualization software used at Desktop level. VirtualBox provides a Graphical User interface (GUI) through which we can create and manage virtual machines, apart from this we can also create Snapshots of VMs, Cloning of the VMs and can create our own customize network for the VMs.
In this article we will discuss how to install latest version of VirtualBox (VirtualBox-5.1.26) on CentOS 7 / RHEL7 and Fedora 26.
Installation Steps of VirtualBox-5.1 on CentOS 7 / RHEL 7
Virtualbox rpm package and its dependencies are not available in the default CentOS 7 and RHEL 7 yum repositories, so we have to set virtualbox repository using the beneath command.
Before start installing virtualbox, first we should install all dependencies of virtualbox, some of the dependencies are available in EPEL repository. So let’s first enable epel repository and install the virtualbox dependencies.
Enable EPEL repository and Install all Virtualbox dependencies
Now Install VirtualBox-5.1 with yum Command
Once the VirtualBox package is installed then rebuild the kernel modules using the following command.
Above command will automatically create a group with name “vboxusers“. If any local user wants to use virtualbox then he/she has to be part of vboxusers group. Let’s assume ‘linuxtechi’ wants to use virtualbox
Now try accessing VirtualBox
Note: If you get an error related to ‘KERN_DIR’ while installing and rebuilding kernel module then set the following variable manually and again try to install and rebuild kernel module for VirtualBox.
Installation steps of VirtualBox-5.1 on Fedora 26
Installation steps of VirtualBox-5.1 on Fedora 26 are similar to CentOS 7 or RHEL 7. Let’s first set VirtualBox repository using the following wget command.
Update the repository list using the beneath dnf command.
Update your system and reboot
After Reboot our system will boot with latest kernel.
Install Virtualbox dependencies with below dnf command
Now Install VirtualBox 5.1 via dnf command
Note: We may get errors while building Kernel modules. After resolving the errors, run the beneath command to rebuild kernel modules for VirtualBox.
Access VirtualBox
Click on Oracle VM VirtualBox Icon
This concludes that VirtualBox 5.1 has been installed successfully. Now start creating your machines and manage your virtual environment from virtualbox GUI.