Create an ubuntu virtual machine

Create an ubuntu 14.06 Virtualbox virtual machine

I’m using a windows 10 operating system and I want to use an ubuntu virtual machine to do some stuff.

Stuff needed

Virtual Machine setup

First step

Virtualbox Expert setup - Step 1
Virtualbox expert setup – Step 1

Second step

Virtualbox expert setup - Step 2
Virtualbox expert setup – Step 2

Network configuration

Network configuration
Network configuration

Installation of the OS on the VM

Add the iso as virtual disk

Iso selection
Iso selection

Start the VM

Ubuntu Installer menu
Ubuntu Installer menu

Select Install and choose language and locale.

Host name selection

Hostname selection
Hostname selection

User Creation

Insert, user details, username and password for the default user of the VM.

I’ve chosen not to encrypt my user directory.

Default timezone options.

Disk partitioning

Defaults, this should be the result

Disk partitioning results
Disk partitioning results

Base system install

Defaults until package selection, choose just:

  • base system
  • ssh server

Log into the virtual machine

Enter your username and password at the login prompt

Connect via SSH to the VM from the host system with putty

Enter the ifconfig command in the wm to find the virtual machine’s ip address.

user@ubuntu-base-vm:~$ ifconfig
enp0s3 Link encap:Ethernet IndirizzoHW 08:00:27:cf:66:ae
indirizzo inet: Bcast: Maschera:
indirizzo inet6: fe80::a00:27ff:fecf:66ae/64 Scope:Link
RX packets:54 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:6148 (6.1 KB) Byte TX:7515 (7.5 KB)

lo Link encap:Loopback locale
indirizzo inet: Maschera:
indirizzo inet6: ::1/128 Scope:Host
RX packets:160 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1
Byte RX:11840 (11.8 KB) Byte TX:11840 (11.8 KB)

The inet address for enp0s3 is, so we are ready to connect with putty

Putty Configuration window
Putty Configuration window

You should be required to enter the username and password and be presented with a shell like this:

login as: user
user@'s password:
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64)

* Documentation:
* Management:
* Support:

We’re good to go!