Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
When you have to test multiple operating systems and software on different platforms, VirtualBox is a tool to have. It is a cross-
platform virtualization software that allows you to run guest operating system inside a windows of the host computer. The guest
machine can Windows, Linux or Mac operating systems.
VirtualBox is a powerful application that I’d recommend every IT student to download and install to create virtual labs. These
labs can be a self-contained environments where you can test different applications and settings.
This brief tutorial shows students and new users how to install VirtualBox on Ubuntu 16.04 LTS servers. If you’re reading this
post then you probably know a thing or two about VirtualBox.
Before installing VirtualBox, run the commands below to update the Ubuntu server.
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove
Now that your system is updated, run the commands below to install required Ubuntu linux headers.
After installing the required package above, run the commands below to install VirtualBox repository key.
Next run the commands below to add VirtualBox repository to your system.
Step 4: Install VirtualBox
https://websiteforstudents.com/virtualbox-5-2-on-ubuntu-16-04-lts-server-headless/ 1/6
6/16/2019 VirtualBox 5.2 on Ubuntu 16.04 LTS Server (Headless) | Website for Students
After adding the repository and key, run the commands below to install VirtualBox 5.2. At the time of this writing the latest
version of the software was 5.2. If there are newer versions available, please replace the 2 below with the current latest.
VBoxManage -v
Everytime you install VirtualBox make sure to install the extension pack as well. The pack enables VRDP (Virtual Remote Desktop
Protocol) and many other enhancements.
curl -O http://download.virtualbox.org/virtualbox/5.2.4/Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack
Enjoy!
In our next post, we’ll show you how to create new guest machines from the command line in VirtualBox. Until then, please stay
tuned.
Install WordPress on Ubuntu 16.04 LTS with Nginx, MariaDB and PHP 7.1 Support
(https://websiteforstudents.com/install-wordpress-on-ubuntu-16-04-lts-with-nginx-mariadb-and-php-7-
1-support/)
Currently Tranding
(https://websiteforstudents.com/connect-to-ubuntu-16-04-17-10-18-04-desktop-via-remote-desktop-connection-
rdp-with-xrdp/)
Connect to Ubuntu 16.04 / 17.10 / 18.04 Desktop via Remote Desktop Connection (RDP) with Xrdp
(https://websiteforstudents.com/connect-to-ubuntu-16-04-17-10-18-04-desktop-via-remote-desktop-
connection-rdp-with-xrdp/)
(https://websiteforstudents.com/switch-static-ip-address-ubuntu-17-04-17-10/)
Switch to Static IP Address on Ubuntu 17.04 / 17.10 (https://websiteforstudents.com/switch-static-ip-
address-ubuntu-17-04-17-10/)
(https://websiteforstudents.com/how-to-install-eclipse-oxygen-ide-on-ubuntu-167-04-17-10-18-04/)
How to Install Eclipse Oxygen IDE on Ubuntu 16.04 / 17.10 / 18.04 (https://websiteforstudents.com/how-
to-install-eclipse-oxygen-ide-on-ubuntu-167-04-17-10-18-04/)
https://websiteforstudents.com/virtualbox-5-2-on-ubuntu-16-04-lts-server-headless/ 3/6
6/16/2019 VirtualBox 5.2 on Ubuntu 16.04 LTS Server (Headless) | Website for Students
(https://websiteforstudents.com/installing-the-latest-python-3-7-on-ubuntu-16-04-18-04/)
Installing the Latest Python 3.7 on Ubuntu 16.04 / 18.04 (https://websiteforstudents.com/installing-the-
latest-python-3-7-on-ubuntu-16-04-18-04/)
(https://websiteforstudents.com/configure-static-ip-addresses-on-ubuntu-18-04-beta/)
Configure Static IP Addresses on Ubuntu 18.04 LTS Server (https://websiteforstudents.com/configure-
static-ip-addresses-on-ubuntu-18-04-beta/)
(https://websiteforstudents.com/how-to-install-anydesk-on-ubuntu-16-04-17-10-18-04-desktop/)
How to Install AnyDesk on Ubuntu 16.04 / 17.10 / 18.04 Desktop (https://websiteforstudents.com/how-to-
install-anydesk-on-ubuntu-16-04-17-10-18-04-desktop/)
(https://websiteforstudents.com/access-ubuntu-18-04-lts-beta-desktop-via-vnc-from-windows-machines/)
Enable Screen Sharing on Ubuntu 18.04 LTS Desktop via VNC from Windows Machines
(https://websiteforstudents.com/access-ubuntu-18-04-lts-beta-desktop-via-vnc-from-windows-
machines/)
(https://websiteforstudents.com/install-the-latest-node-js-and-nmp-packages-on-ubuntu-16-04-18-04-lts/)
Install the Latest Node.js and NPM Packages on Ubuntu 16.04 / 18.04 LTS
(https://websiteforstudents.com/install-the-latest-node-js-and-nmp-packages-on-ubuntu-16-04-18-04-
lts/)
(https://websiteforstudents.com/install-adobe-flash-player-on-ubuntu-18-04-lts-beta-desktop/)
Install Adobe Flash Player on Ubuntu 18.04 LTS Desktop (https://websiteforstudents.com/install-adobe-
flash-player-on-ubuntu-18-04-lts-beta-desktop/)
https://websiteforstudents.com/virtualbox-5-2-on-ubuntu-16-04-lts-server-headless/ 4/6
6/16/2019 VirtualBox 5.2 on Ubuntu 16.04 LTS Server (Headless) | Website for Students
(https://websiteforstudents.com/how-to-install-video-audio-codecs-on-ubuntu-18-10-18-04-16-04-lts/)
How to Install Video / Audio Codecs on Ubuntu 18.10 / 18.04 / 16.04 LTS
(https://websiteforstudents.com/how-to-install-video-audio-codecs-on-ubuntu-18-10-18-04-16-04-lts/)
Fastest Electric Scooter Create VirtualBox Guest Fuh Se Fantasy- Final Episode VirtualBox 6.0.4 Relea
Machines on Ubuntu 16.04 LTS Here’s How to Install /
Server (Headless on Ubuntu 16.04 / 18.0
Ad Ather Energy websiteforstudents.com Ad Voot websiteforstudents.com
Play PUBGM On PC For Free Manage Headless VirtualBox VirtualBox 6.0 is Out — Here’s VirtualBox
Host on Ubuntu 16.04 LTS with How to Install / Upgrade on
phpVirtualBox, Apache2 and... Ubuntu 16.04 / 18.04 / 18.10
Chaosmstr says:
01/14/2018 at 9:37 PM (https://websiteforstudents.com/virtualbox-5-2-on-ubuntu-16-04-lts-server-headless/#comment-1001)
https://websiteforstudents.com/virtualbox-5-2-on-ubuntu-16-04-lts-server-headless/ 5/6
6/16/2019 VirtualBox 5.2 on Ubuntu 16.04 LTS Server (Headless) | Website for Students
You are missing the step to add the hdd to the VM.
The current setup has a DVD drive as port0, device 0.. and no hdd to install the os onto.
This setup works great if you are running a live cd image or the like…
Loading...
Reply (/virtualbox-5-2-on-ubuntu-16-04-lts-server-headless/?replytocom=1001#respond)
Dgiraldom says:
07/01/2018 at 1:57 PM (https://websiteforstudents.com/virtualbox-5-2-on-ubuntu-16-04-lts-server-headless/#comment-8422)
Excellent, the procedure, the information provided and everything very clear and very specific.
Thank you and keep moving forward.
From Colombia. dgiraldom@gmail.com (mailto:dgiraldom@gmail.com)
Loading...
Reply (/virtualbox-5-2-on-ubuntu-16-04-lts-server-headless/?replytocom=8422#respond)
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
POST COMMENT
This site uses Akismet to reduce spam. Learn how your comment data is processed (https://akismet.com/privacy/).
https://websiteforstudents.com/virtualbox-5-2-on-ubuntu-16-04-lts-server-headless/ 6/6