Oracle VirtualBox Installation

Oracle VirtualBox GNU / Linux installation, it is often used on GNU / Linux server systems to allow more hardware exploitation generating more virtual machines and often allowing a varied pool of use of multiple operating systems or systems protected for the most disparate uses

VirtualBox - Oracle VirtualBox Install - Oracle VirtualBox Installation - Oracle VirtualBox

Before installing Oracle VirtualBox, you need to perform all updates on the host operating system to ensure that the installation takes place on a regular basis:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

After updating the Ubuntu / Debian server, we will install the packages necessary for the continuation of our installation

sudo apt-get install build-essential dkms unzip wget

at this point, we will reboot our operating system

sudo reboot

When the computer is restarted, we will have to expand the sources.list file so that the primary installation system knows where to get and eventually update Oracle VirtualBox

sudo nano / etc / apt / sources.list

we will place ourselves on the last line of the file and insert it

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

where we will replace the word "xenial" depending on the distribution we are using

'vivid', 'utopic', 'trusty', 'raring', 'quantal', 'precise', 'lucid', 'jessie', 'wheezy', or 'squeeze'

Once the "nano" editor is closed, we can issue the following command

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

then we will give the command of

sudo apt-get update

to update the software available for the operating system and finally, we will install Oracle VirtualBox by issuing the command

sudo apt-get install virtualbox-5.X

where X is the version we are interested in installing: 5.0 - 5.1 - 5.2 etc
once the installation is finished, we will have to generate a user available for the "vboxusers" group

sudo adduser -a vbox

after making a series of acceptances during the installation of Oracle VirtualBox, our user will be generated, but we must remember to enter the password we want to use but never with spaces to avoid any inconsistencies and always put at least 4 numbers to the word we choose , as well as using some capital letter (not the first letter)

in the end we can give the command

sudo usermod -aG vboxusers vbox

now we will have to check if the Oracle VirtualBox kernel modules have been loaded or not

sudo systemctl status vboxdrv

and if the module does not result in start, we will give the following command to make it operational

sudo /etc/init.d/vboxdrv setup

At this point, our installation is finished and we just have to install the VirtualBox Extension Pack to allow additional features to virtual machines

The 2.0 USB virtual device (EHCI)
Support VirtualBox Remote Desktop Protocol (VRDP)
Passthrough of the host webcam
Intel PXE boot ROM
Experimental support for PCI passthrough on Linux hosts

Many have often found themselves in trouble not knowing where to take the Extension Pack, when it is enough to go to the site

https://www.virtualbox.org/

click on the image of the version that we have installed and scrolling through the lines that we will read, we will find the paragraph VM VirtualBox Extension Pack, the writing

All supported platforms

we click with the right button on the relevant line and choose copy link address

let's go back to our shell and type

wget "link we previously copied"

and immediately afterwards we will give the command

sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.XXX-XXX.vbox-extpack

Oracle_VM_VirtualBox_Extension_Pack-5.XXX-XXX.vbox-extpack should match the file name we downloaded before doing so.

The entire installation process of Oracle VirtualBox is therefore finished and there will be nothing left but to prepare the environments for our virtual machines and prepare for the installation of PHPVIRTUALBOX for the management and generation of virtual machines via web browser in simplified mode and above all, graphics.

Back Blog IT

Oracle VM VirtualBox

Oracle VM VirtualBox it is software, coming from the open source world, that has become the primary antagonist of Vmware for running virtual machines on x86 and 64bit architectures, supporting Windows, GNU / Linux and MacOS as host operating systems.

VirtualBox - Oracle VM VirtualBox

Oracle VM VirtualBox is able to allow the use of guest operating systems such as Microsoft Windows in all versions, GNU / Linux, OS / 2 Warp, BSD such as OpenBSD, FreeBSD, MacOS (with appropriate artifices) and finally Solaris and Open-Solaris, supporting Intel VT-x, AMD, AMD-V hardware virtualization solutions.

The use of Oracle VM VirtualBox, allows you to set up protected environments and test blocks for systems engineers and programmers, to be able to run multiple operating systems on the same physical machine in order to use them with the most varied applications as dbase server , web servers and many other ways; often we felt the need to compare Vmware Workstation, which is the version more similar to Virtualbox, noting that the speed of execution of virtual machines generated on the same hardware, occurred almost equally and, with the latest updates, it was noted a superiority for simplicity of use and code corrections that led it to be often superior as product quality.

VMware Server in GNU / Linux, up to the version of the UBUNTU 10.04 Server system, could be installed with sufficient simplicity, solving the problems related to network emulation, thanks to the support of the open source community, but with the evolution of the new kernels unfortunately, VMWare Server that previously could be used freely became impossible to install on penalty of the purchase of the paid version, not feasible by the small programmer or by those who did not want to give up the use of old operating systems migrated as virtual machines and that allowed yet the use of obsolete archives, but often important for small professionals.

Oracle VM VirtualBox, took control of the situation and allowed the continuation of the use of virtual machines replacing VMWare, resulting easy to install both on server systems and desktop systems and allowing the use of USB devices by simply installing the VirtualBox-Extension and having the advantage of being able to manage the emulation of the network cards with greater simplicity and speed.

The management of virtual disks, for creating, reading and writing supports the following formats:
VDI, VMDK and VHD, but we must not forget that there is the possibility to generate and manage RAW disks, that is, to intervene and directly associate physical disks.

Oracle VM VirtualBox emulates hardware components with a speed dictated only by the physical hardware we have, allowing the emulation of a configurable graphics card from a minimum of 12 Mb, the network emulation for multiple network cards in both desktop and server, emulation of sound cards and the use of freely configurable USB ports up to 3.0 version (if supported by our hardware).

Many have tried, on GNU / Linux Server versions, to configure the 3D video emulation, failing to get any results, as this mode does not depend on the amount of memory allocated to the video card but the OpenGL libraries can only be used with the versions GNU / Linux Desktop.

Oracle VM VirtualBox, allows the installation of Guest Additions, which are nothing more than drivers and proprietary applications that must be installed separately on virtual machines created with Virtualbox, improving the performances and usability of the system.

The benefits provided by the Guest Additions are numerous even if not essential for the correct use of the guest system and among them there is the opportunity to manage the capture of the mouse pointer in a simplified way, the improvement of the graphics drivers, the use the clipboard between the host system and the guest system, the use of USB ports as if they were part of our hardware system and more.

There are no fixed rules to determine the minimum requirements of Oracle VM VirtualBox as they can differ a lot, especially depending on the operating system we intend to virtualize.

The actual machine must have as hardware requirements at least the sum of the resources between the real and virtualized operating system, because, if the host physical machine has the hardware virtualization instructions (Intel VT-x / Vanderpool or AMD-V) it will be possible to obtain performances similar to those of the real machine, which is contrary if Oracle VM VirtualBox runs on a machine not equipped with hardware virtualization, the performances will be much lower than those of the real machine and also it will not be possible to use 64 bit guest systems.

Back Blog IT