Jumat, 21 Desember 2018

Install VirtualBox 6 di Ubuntu 18.04 LTS



VirtualBox kali ini sudah mencapai versi 6 pada bulan desember 2018 ini, dimana banyak peningkatan seperti :



16.1. Version 6.0.0 (2018-12-18)

This is a major update. The following major new features were added:
  • Implemented support for exporting a virtual machine to Oracle Cloud Infrastructure
  • User interface: greatly improved HiDPI and scaling support, including better detection and per-machine configuration
  • Major rework of user interface with simpler and more powerful application and virtual machine set-up
  • User interface: a new file manager enabling user to control the guest file system and copy files between host and guest.
  • Graphics: major update of 3D graphics support for Windows guests, and VMSVGA 3D graphics device emulation on Linux and Solaris guests
  • Added support for surround speaker setups (as used by Windows 10 Build 1809)
  • Added utility vboximg-mount on Apple hosts to access the content of guest disks on the host
  • Added support for using Hyper-V as the fallback execution core on Windows host, to avoid inability to run VMs at the price of reduced performance
In addition, the following items were fixed and/or added:
  • Execution core: fixed single-stepping in certain circumstances (bug #17316)
  • User interface: video and audio recording can now be separately enabled
  • Audio/Video recording fixes and improvements
  • Audio: better support for attaching and detaching remote desktop connections
  • Serial port emulation fixes
  • Serial ports: allow changing the serial port attachment while a machine is running (bug #6115)
  • Networking: Added a workaround for older guests which do not enable bus mastering for the virtio PCI device
  • Networking: fixed wrong RCODE from DNS AAAA query with --natdnshostresolver1 (bug #18171)
  • iSCSI: In cases where there is no ambiguity, the LUN of an iSCSI target is automatically determined, for targets with non-zero LUNs
  • Transparently resize disk images when merging if possible
  • VBoxManage: support for DHCP options
  • Fixed VNC/RDP (bug 18153)
  • Guest Control: various new interfaces and features (see SDK documentation)
  • Linux hosts: support Linux 4.20 (thank you Larry Finger)
  • Solaris: installer fixes
  • Shared folders: performance improvements
  • Guest Additions: improved shared folder auto-mounting
  • Windows Guest Additions: fix incorrect tablet co-ordinate handling with recent Windows 10 builds
  • Linux Additions: fix for building vboxvideo on EL 7.6 standard kernel, contributed by Robert Conde (bug #18093)
  • Linux guests: support Linux 4.20 (thank you Larry Finger)
  • Linux guests: support VMSVGA in the Linux and X11 Additions
  • MacOS Guest Additions: initial support
  • OS/2 Guest Additions: initial shared folder support
  • BIOS fixes
  • ACPI: Up to four custom ACPI tables can now be configured for a VM

Kita bisa download disini : https://www.virtualbox.org/wiki/Downloads

Jika kita sudah install versi sebelum nya, yaitu 5.2, maka kita harus unistall dulu versi 5 nya karena tidak bisa di replace atau di update begitu saja :

$ sudo dpkg -i virtualbox-6.0_6.0.0-127566_Ubuntu_bionic_amd64.deb
Selecting previously unselected package virtualbox-6.0.
dpkg: regarding virtualbox-6.0_6.0.0-127566_Ubuntu_bionic_amd64.deb containing virtualbox-6.0:
 virtualbox-6.0 conflicts with virtualbox
  virtualbox-5.2 provides virtualbox and is present and installed.

dpkg: error processing archive virtualbox-6.0_6.0.0-127566_Ubuntu_bionic_amd64.deb (--install):
 conflicting packages - not installing virtualbox-6.0
Errors were encountered while processing:
 virtualbox-6.0_6.0.0-127566_Ubuntu_bionic_amd64.deb

Jadi harus di uninstall dulu versi sebelum nya :

$ sudo dpkg -r virtualbox-5.2 
(Reading database ... 201201 files and directories currently installed.)
Removing virtualbox-5.2 (5.2.18-124319~Ubuntu~bionic) ...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...

Setelah itu baru kita install versi 6 ya :

$ sudo dpkg -i virtualbox-6.0_6.0.0-127566_Ubuntu_bionic_amd64.deb
(Reading database ... 200382 files and directories currently installed.)
Preparing to unpack virtualbox-6.0_6.0.0-127566_Ubuntu_bionic_amd64.deb ...
Unpacking virtualbox-6.0 (6.0.0-127566~Ubuntu~bionic) ...
Setting up virtualbox-6.0 (6.0.0-127566~Ubuntu~bionic) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Processing triggers for systemd (237-3ubuntu10.9) ...
Processing triggers for ureadahead (0.100.0-20) ...
ureadahead will be reprofiled on next reboot
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.9-2) ...

Setelah selesai install, lalu kita buka aplikasi VirtualBox 6 nya dan kita akan di minta untuk install VirtualBox Extension Pack nya dulu

Setelah itu virtualbox siap digunakan, dan data vm virtualbox lama juga tetap ada dan tidak hilang


Semoga bermanfaat untuk pembaca semua.

Dony Ramansyah
site : http://donyramansyah.net
blog : dony-ramansyah.blogspot.com
email : dony.ramansyah[at]gmail.com
Registered linux user : ID 40017