How to Install Ubuntu 18.04 LTS (Bionic Beaver) Minimal Server

This tutorial shows the installation of an Ubuntu 18.04 LTS minimal server in detail with many screenshots. The purpose of the guide is to show the basic installation of Ubuntu 18.04 LTS that can be used as basis for our other Ubuntu tutorials here at howtoforge like our perfect server guides. This tutorial uses the LTS branch which gets updates for 5 years from Ubuntu and which is recommended for use on servers.

1. Requirements

To install an Ubuntu Server, you will need the following prerequisites:

2. Preliminary Note

In this tutorial, I use the hostname server1.example.com with the IP address 192.168.1.100 and the gateway 192.168.1.1 These settings might differ for you, so you have to replace them where appropriate.

3. The Base System

Insert the Ubuntu install CD / DVD into your system and boot from it. When you install the OS in a virtual machine like I will do it here, then you should be able to select the downloaded ISO file as source for the CD/DVD drive in VMWare and Virtualbox without burning it on CD first.

The first screen will show the language selector. Please select your language for the installation process:

Select the language for the Ubuntu 18.04 installation process.

Then choose the option Install Ubuntu Server:

Start the Ubuntu installation.

Select your language again, this time the language is for the installed Ubuntu OS:

Select the language that is used for the OS

Then choose your location. The location settings are important for the keyboard layout, locale and timezone of your server:

Choose the server location.

Select your region.

Select your country.

Select the server locale.

Choose a keyboard layout: You have the option to let the Ubuntu installer detect the keyboard layout automatically by choosing "yes" here. I prefer to select the right keyboard from a list and therefore, I choose No & keyboard layout as German:

Select the keyboard layout manually.

Select the country for the Ubuntu keyboard locale.

Select the keyboard layout.

The installer checks the installation CD, your hardware, and configures the network with DHCP if there is a DHCP server in the network:

The installer scans the CD image for packages.

Enter the hostname of the system. In this example, my server is named server1.example.com, so I enter server1.example.com:

Set the server hostname.

Ubuntu does not let you log in as root user directly. Therefore, we create a new system user here for the initial login. I will create a user with the name Administrator and user name administrator (don't use the user name admin as it is a reserved name on Ubuntu Linux):

Set the full name of the user.

Set a username.

Choose a password:

Choose a password

Repeat the password

Share this page:

Suggested articles

3 Comment(s)

Add comment

Comments

From: Pete at: 2018-04-26 18:05:08

Best to use a random userid for that login, perhaps admin5443238.  No reason to use a commonly used userid that will be expected for remote ssh access.

From: bch at: 2018-04-27 04:31:20

For those interested,These are the "server" images that has the same installation procedure as the screenshots from this tutorial: http://cdimage.ubuntu.com/ubuntu/releases/18.04/release/ubuntu-18.04-server-amd64.iso OR http://cdimage.ubuntu.com/ubuntu/releases/bionic/release/ubuntu-18.04-server-amd64.iso There are also new "live-server" images which installs faster but have more limited install options and a different installer:http://releases.ubuntu.com/18.04/ubuntu-18.04-live-server-amd64.iso OR http://releases.ubuntu.com/bionic/ubuntu-18.04-live-server-amd64.isoAnd then there is the netboot image: http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso

From: RR at: 2018-05-13 09:14:28

You dont need the server image to install a minimal system. You can download the minimal "desktop" iso for 64 bit and even 32 bit from https://help.ubuntu.com/community/Installation/MinimalCD