VirtualBox

VirtualBox Network and Skills

2018-04-14. Category & Tags: Default VirtualBox, Network

OBS: cloning a VM with the status of pause (not powered-off), it canNOT re-initialize the MAC address. Thus, it is necessary to disconnect the cable and poweroff to re-initialize the MAC and then boot.

INSTALL ON UBUNTU #

Tested on v18.04.

sudo apt-get update && \
sudo apt-get -y install virtualbox

(sometimes, maybe need to prepare the env before installation:)

sudo apt-get update && \
sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms && \
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -  && \
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -  && \
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list'

NICs #

Two NICs are needed BEFORE installing the system to avoid messy issues.

...