This guide walks you through the steps necessary to install Ubuntu 16.04 LTS on a bare metal server.
-
Create bootable USB Stick, following the tutorial available by Ubuntu, depending if your desktop is Windows, OSX or Ubuntu.
-
Boot from USB device
-
UNetbootin prompt: Select **"Install Ubuntu Server"
-
Language: Who are we to say what language you want to set on your server… We just went for the boring option: "English"
-
Country selection: Select your country (in our case "Other" ⇒ "Europe" ⇒ "Greece")
-
Locale selection:
en_US.UTF-8
locale selection -
Keyboard layout: "Yes" on auto-detect. Press keys as requested. (in our case,
us:intl
) -
Press "ok" on unetbooting warning. You can safely ignore.
-
Hostname: You will need some kind of naming scheme. We used
kube01
and increased numbering accordingly. -
Username: Please feel free to use
ubuntu
or whatever you prefer. We usedk8s
. -
Password: Select a secure password and make sure to store it somewhere safe. No, Post-its on your screen do not classify as "somewhere safe".
-
Encrypt user home: "No". Disclaimer: clearly, there might be security considerations on your environment, which I’m not aware of. Make up your own mind, but my guide assumes you selected "No".
-
Confirm Timezone: in my case it was correctly auto-detected as "Europe/Athens".
-
Disk and partitions:
-
(Optional, e.g. in case the bare metal server was already used for something else) Unmount partitions that are in use: "Yes"
-
Guided ⇒ Use entire disk & setup LVM
-
Select appropriate disk
-
"Yes"
-
"50%" on LVM size
-
Finish Partitioning
-
Confirm by clicking "Yes"
-
-
Proxy: leave blank, or enter http proxy, if appropriate (in my case blank).
-
Security Updates: Again, this is a security consideration you will have to make on your own (I am by no means a security expert), but we did select: "Install security updates"
-
Software selection:
-
ensure
standard system utilities
AND -
OpenSSH server
are both checked
-
-
Patiently wait for software to be installed…………..
-
Install the GRUB boot loader to the master boot record?
-
Select "Yes"
-
Select hard disk (not USB disk!) - usually
/dev/sda
- and press Enter.
-
-
Remove USB disk and click "Continue".