Ubuntu 18.04 LTS Server (Bionic Beaver) Installation Guide with Screenshots

Now a days Ubuntu is the most widely used Operating system used servers level. Canonical had released its latest and stable version of server as Ubuntu 18.04 LTS (Bionic Beaver). In this article we will discuss what new features that has been included in this release and also discuss Ubuntu 18.04 Server installation steps.

Let’s look into the new features of Ubuntu 18.04 Server,

1) Introduction of new Network configuration utility “netplan”, It is used to configure Static IP and Bridge.

2) Python version 3.6

3) New updated Linux Container manager LXD 3.0

4) Updated QEMU 2.11.1

5) Updated libvirt 4.0

6) Updated Open vSwitch 2.9

7) Chrony has been replaced NTP for time syncing

8) PHP has been updated to PHP 7.2

9) New Version of OpenStack “Queen” has been included.

10) Cloud-init has been updated to 18.2

Let’s jump into the Installation guide,

Minimum system requirement for Ubuntu 18.04 Server

  • 2 GB RAM
  • 20 GB hard disk Space
  • Dual core Processor (2 GHZ)
  • Installer Media (USB / DVD)

Step by Step Ubuntu 18.04 Server Installation

Step:1) Download Ubuntu 18.04 Server ISO file

Download the Ubuntu 18.04 Server ISO file from the Ubuntu official web site:

http://releases.ubuntu.com/18.04/

Once the file is downloaded then burn it either into USB or DVD and make it Bootable. In Case you have downloaded the iso file in Ubuntu desktop then refer the following:

How to Create Bootable USB Disk / DVD on Ubuntu / Linux Mint

Step:2) Boot system (or server) with bootable media

Now reboot your target system or server, go to the bios settings and change the boot sequence, select the bootable media that you have created in step:1

Select your preferred language and then hit enter

Preferred-Language-Ubuntu-18-04-Server-Installation-Guide

Select the preferred Keyboard layout that suits to your installation, in my case I am taking as default.

Keyboard-Layout-Ubuntu-18-04-Server

Press Enter

Choose “Install Ubuntu” option and then hit enter,

Choose-Install-Ubuntu-18-04-Server

Step:3) Choose your Network and Proxy Configuration

Choose the network configuration that suits your environment, by default it will try to pick IP address from the DHCP server. In my case I am selecting the default option and later on I will demonstrate how to configure static ip address.

Network-Configuration-Ubuntu-18-04-Server-Installation

Choose “Done” and then press enter

If your system is connected to the internet via some proxy servers then specify the details of proxy else leave it as blank,

Proxy-Address-Ubuntu-18-04-Server-Installation

Step:4) Choose partitioning scheme either as automatic or manual

Select the partitioning scheme either as automatic or manual. In this tutorial I will demonstrate how to create your own partition table using manual method.

So select “Manual” option and then hit enter,

Ubuntu-Server-18-04-Installation-Partition-Method

Availale-devices-Ubuntu-18-04-Installation

As we can see I have 40 GB space for Ubuntu 18.04 Server installation, we will create the following partitions on it,

  • /boot = 1 GB (ext4 file system)
  • /home = 12 G (ext4 file system)
  • /var = 10 GB (ext4 file system)
  • / = 10 GB (ext4 file system)
  • /tmp = 5 GB (ext4 file system)
  • Swap = 2 GB (ext4 file system)

Choose “Add first partition“, Create /boot partition, example is shown below,

boot-partition-ubuntu-18-installation

Select “Create” option and then hit enter

Now create /home partition of size 12 GB

home-partition-ubuntu-18-04-installation

Similarly create /var, / and /tmp partitions

var-partition-ubuntu-18-04-Server-Installation

slash-root-partition-ubuntu-18-04-Installation

tmp-partition-Ubuntu-18-04-installation

Create Swap partition of size 2 GB,

Swap-Partition-Ubuntu-18-04-Installation

Once you are done with all the partitions creation, select the option “Done”

All-Partitions-Ubuntu-18-04-Server-Installation

Select “Continue” to write changes on the disk,

Write-Changes-Disk-Ubuntu-18-04-Server-Installation

Step:5) Specify User details, hostname and start the installation

Specify the user name, its password and hostname for your system.

Profile-Setup-Ubuntu-18-04-Server-Installation

Choose Done to proceed with installation,

Ubuntu-18-04-Installation-Progress

You will be prompted to reboot your system once the installation is completed.

Reboot-Ubuntu-18-04-Server

Remove the installation media and change the boot sequence and set it as hard disk.

Step:6) Login Screen after Ubuntu 18.04 Server Installation

Use the same user name and the password that we created during the installation, in my case user name will be “pkumar”

Login-Screen-after-Ubuntu-18-04-Server-Installation

Read More on : How to Install VirtualBox 6.0 on Ubuntu 18.04 LTS / 18.10 / CentOS 7

Step:7) Configure static IP address in Ubuntu 18.04 Server

As we discussed in the features section, network configuration in Ubuntu 18.04 server is controlled by “netplan” utility.

To configure the static ip address, edit the file “/etc/netplan/50-cloud-init.yaml“,

Replace the IP address details, gateway and dns server that suits your environment.

[email protected]:~$ sudo vi /etc/netplan/50-cloud-init.yaml

Ubuntu-18-04-Server-Static-IP

Now apply these changes using below netplan command,

[email protected]:~$ sudo netplan apply
[email protected]:~$

If you want to run above netplan command in debug command, then execute below command,

[email protected]:~$ sudo netplan apply --debug

Now you can verify the IP address details using ip command,

[email protected]:~$ ip add show

That’s conclude the article, I hope above steps helps you to install Ubuntu 18.04 Server. Please do share your comments in comments section below.

Read More on:  “How to Install and Configure KVM on Ubuntu 18.04 LTS Server

7 Responses

  1. Slava says:

    Hi

    I have burnt ubuntu 18.04 onto dvd. Insert DVD into my old desktop and it does not see any bootable file.

    In your article you say “Once the file is downloaded then burn it either into USB or DVD and make it Bootable” How do I make my dvd bootable then?

  2. Mick says:

    Use k3b tools>burn image

  3. Phaelan says:

    Hello,

    If I have a 500gb drive. Which partition does the lion’s share go to?
    / ?
    /home?
    /data?

    I’m not sure.

    Any thoughts?

  4. Pradeep Kumar says:

    Hi Phaelan,

    Partitioning scheme totally depends on application / services that you are your planning to run inside the Ubuntu 18.04. Let’s suppose you have 500 GB disk space and want to run Apache / Nginx then you could create following partitions,

    / – 50 GB
    /boot – 1 GB
    /var – 300 GB
    /var/log – 50 GB
    /tmp – 10 GB
    /data – 50 GB
    Swap – Minimum of 4 GB

  5. Rens Honcoop says:

    I am new to/with Linux. Would like to setup a file and storage server with Ubuntu 18.04 LTS. Read the question of Phaelan about partitioning a 500 gb drive and also the answer by Pradeep Kumar. What is the partitioning scheme for the “ file and storage server” in Ubuntu.

  6. Mark says:

    Awesome page, took me a day to figure out why my Ubuntu server would fail with a “grub rescue” prompt when I installed on a 3TB hard drive, LVM would boot but I don’t want that. I added my partitions following your pattern and I found that 3TB on my machine was the problem, dividing into smaller partitions was the answer! thanks

  7. John says:

    Can’t see any files after installing ubuntu server 18.04 lts. Any ideas please share.

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest