How to install Ubuntu Server Minimal Virtual Machine

Home / Linux / How to install Ubuntu Server Minimal Virtual Machine
How to install Ubuntu Server Minimal Virtual Machine

Today I’m going to preform an Ubuntu 10.04 LTS Server Minimal Virtual Machine installation in a newly created Oracle VirtualBox VM.

On initial boot you will be prompted to select your language.

VirtualBox Ubuntu Minimal Virtual Machine Installation - Select Boot language

Press F4 to bring up the Installation Modes menu and select “Install a minimal virtual machine” to install the VM optimized kernel. Then select “Install Ubuntu Server.

Select Installation Mode - Minimal Virtual Machine

 Select the installation language

Select Ubuntu Server Installation language

Select your country.

Select Ubuntu Installation Country

Choose whether or not to detect your keyboard layout.

Ubuntu Server Keyboard Layout Auto-Detection

Select keyboard origin.

Select Your Keyboard Origin

Select Keyboard Layout

Select Ubuntu Server Keyboard Layout

Set your servers hostname.

Set Ubuntu Server Hostname

Confirm or change time zone.

Confirm Or Change Ubuntu Server Time Zone

For this machine I’m going to choose Guided partitioning.

Setup Disk Partitioning

Select the disk to partition.

Select Disk To Partition

Choose Yes to write partition changes.

Choose Yes To Write Partition Information To Disk

The VM will now install your server’s base system.

Install Ubuntu Server Base System

 Create your first user account by first entering the full name for this account.

Enter The Full Name For The Ubuntu Server's First User Account

Then choose the username.

Enter Username For the First Account

And your password.

Enter Ubuntu Server First User Account Password

Confirm your password.

Confirm Ubuntu Server First User Account Password

 Choose whether or not to encrypt your home directory.

Select Home Directory Encryption Option

 Enter proxy information or just Continue if your network does not employ HTTP proxy.

Enter HTTP Proxy Information For Your Ubuntu Server

Setup automatic upgrades to your server.

Enable Or Disable Automatic Software Upgrades For Your Ubuntu Server

 For this machine, I am going to install only the OpenSSH services to remotely administer this machine.

Choose Software Packages To Install On Your Ubuntu Server

Install the GRUB boot loader to the MBR.

Install GRUB Boot Loader To THe Hard Disk's Master Boot Record

 Click Continue to boot into your new Ubuntu 10.04 LTS Server Minimal Virtual Machine.

Continue To Boot Into Your New Ubuntu Server

 

After initial boot I’ll login through ssh and do an aptitude update:

localhost:~ nmino$ ssh -l nmino ubuntu-pdc
The authenticity of host ‘ubuntu-pdc (0.0.0.0)’ can’t be established.
RSA key fingerprint is 2a:12:db:8f:c5:6d:d3:10:06:04:cf:04:1e:45:9f:d6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘ubuntu-pdc,0.0.0.0’ (RSA) to the list of known hosts.
nmino@ubuntu-pdc’s password:
Linux ubuntu-pdc 2.6.32-38-generic-pae #83-Ubuntu SMP Wed Jan 4 12:11:13 UTC 2012 i686 GNU/Linux
Ubuntu 10.04.4 LTS

Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
Last login: Thu Mar 28 11:28:39 2013
nmino@ubuntu-pdc:~$

nmino@ubuntu-pdc:~$ sudo apt-get update

After this I’m going  to run an initial software upgrade:

nmino@ubuntu-pdc:~$ sudo apt-get upgrade all

This server is installed on our network and ready to be configured to provide network services.