How to install Ubuntu 17.04 Server, or ‘Zesty Zapus’

Introduction – Ubuntu 17.04

In April 2017, Canonical finally released the new version of it’s GNU/Linux distribution, Ubuntu 17.04 – also named Zesty Zapus. In this article we’ll keep our focus on its Server edition, which brings an array of improvements from the last version. As we can see in the release notes, Ubuntu Server comes with: qemu 2.8, libvirt 2.5, LXD 2.12, DPDK 16.11.1, OpenStack Ocata and an updated cloud-init.

OpenStack Ocata includes the following components:

  • OpenStack Identity – Keystone
  • OpenStack Imaging – Glance
  • OpenStack Block Storage – Cinder
  • OpenStack Compute – Nova
  • OpenStack Networking – Neutron
  • OpenStack Telemetry – Ceilometer, Aodh and Gnochi
  • OpenStack Orchestration – Heat
  • OpenStack Dashboard – Horizon
  • OpenStack Object Storage – Swift
  • OpenStack Database as a Service – Trove
  • OpenStack DNS – Designate
  • OpenStack Bare-metal – Ironic
  • OpenStack Filesystem – Manila
  • OpenStack Key Manager – Barbican

This tutorial will take you through the process of installing the Ubuntu 17.04 Server. We will perform the installation on a virtual machine created on a machine running host: RHEL 7 and GNOME Boxes as a virtualization tool (which uses QEMU). The procedure is the same for installation on bare metal.

Note: Ubuntu 17.04 is not an LTS version.

Installation

Following these steps will guide you through the passages required for an Ubuntu 17.04 Server installation.

Language

First thing that will show up is the language panel. In this case, we’ll choose English

Schermata da 2017-05-07 09-17-17

Press Enter.

Starting point

The next step is to start the installation process. Select Install Ubuntu Server.

Schermata da 2017-05-07 09-18-37

Select Installation Language

Now, we have to specify the language that will be used during the installation process. We’ll continue using English.

Schermata da 2017-05-07 09-21-30

Select location

Now, we need to tell Ubuntu where we are located. In our case, we’ll select other/Europe/Italy.

Schermata da 2017-05-07 09-23-57

Schermata da 2017-05-07 09-24-08

Schermata da 2017-05-07 09-24-22

Configure locale

Choose the locale. In our case, we’ll just use en_US.UTF-8.

Schermata da 2017-05-07 09-29-38

Keyboard layout

Configure the keyboard layout. First of all, the installer will ask if it can detect the layout. We’ll select No here.

Schermata da 2017-05-07 09-34-17

Next, we’ll choose the Italian layout.

Schermata da 2017-05-07 09-34-50

Schermata da 2017-05-07 09-39-03

Hostname

Set the hostname. We’ll use server.example.com.

Schermata da 2017-05-07 09-43-17

Create a new account

The next step is to create a new user account. You’ll need to fill in the forms with your data.

Schermata da 2017-05-07 09-45-46

 

Schermata da 2017-05-07 09-48-22

Enter a new password

Schermata da 2017-05-07 09-51-19

Schermata da 2017-05-07 09-53-24

Do not encrypt home directory

Schermata da 2017-05-07 09-58-17

Configure the clock

The installer will try to automatically detect your timezone. In our case, Europe/Rome is correct, so we’ll just select Yes

Schermata da 2017-05-07 10-04-12

Partitioning

Disk partitioning is one of the most important parts of the process. Nowadays it’s not necessary to manually partition disks with CLI tools, in fact the installer will automate most of the process. However, a good partition scheme is important, and it depends on several pieces of manually entered data.

First, when asked choose the Guided – use entire disk and set up LVM option:

Schermata da 2017-05-07 10-09-14

Select the disk that will be partitioned:

Schermata da 2017-05-07 10-12-06

Schermata da 2017-05-07 10-15-04

Select the ‘amount of volume group’. Of course, there are different options here, but we’ll keep it easy (since this is just an example installation) and choose the maximum size:

Schermata da 2017-05-07 10-18-33

Check one last time and then allow the installer to write changes to disk:

Schermata da 2017-05-07 10-20-05

Next, the base system installation will start. Just wait…

Schermata da 2017-05-07 10-21-19

Configure the package manager

Now apt will need some configuration. On the next screen just leave the line blank if you don’t want to use any proxy server to connect to the Internet:

Schermata da 2017-05-07 10-29-38

Schermata da 2017-05-07 10-39-35

Configure updates

It is possible to install security updates automatically, or choose to do everything manually. This depends on the sysadmin personal preferences. In this tutorial, we’ll set up automatic updates:

Schermata da 2017-05-07 10-47-24

Software selection

Depending on what the server will do, it’s possible to select different collections of software. This tutorial is about a basic server, so we will just select standard system utilities and OpenSSH server:

Schermata da 2017-05-07 11-52-53

Schermata da 2017-05-07 11-55-23

Install the boot loader

Schermata da 2017-05-07 12-04-37

Select Yes for installing GRUB as boot loader:

Schermata da 2017-05-07 12-05-31

Finish installation

At the end the installer will ask you to remove the installation media. Select Continue and your machine will reboot:

Schermata da 2017-05-07 12-08-05

Basic configuration

After rebooting, log in with the account set up during the installation process:

Schermata da 2017-05-07 12-13-45

Conclusion

In this tutorial we have seen how to install a basic Ubuntu 17.04 Server. This is a solid basis for any kind of “specialized” server.

Keep in mind that we have not configured a static IP address. Our server, right now, is just using DHCP for dynamic allocation.