How to install Ubuntu 18.04 Server (Headless)

This article is part of the WordPress install series.

First of all the headless server is much better to run than with GUI (Less memory required). So visit the original Ubuntu site to download the newest version of Ubuntu Server. (Link)
This will download a .iso file. It can be attached to a virtual server or with Rufus you can copy to a pendrive. It less than 900MB.

When it first boot from the iso or pendrive will ask what to do: Choose the Install Ubuntu Server.

Choose your preffered language. In my case this is English.

The best thing is the “Identify Keyboard”. I’ve tried out with different characters and it can recognize the Hungarian language as well. Use Tab to move to the Done button.

Hit enter to the Install Ubuntu.

If you are not familiar with the basic networking things then you can leave it on DHCP (The default). However if you know your router’s subnet, IP and so on, then click on Manual and type your things.

You can leave the Proxy address blank.

The Mirror address is also good the default:

If you are running this on Virtual Machine (Hyper-V or Vmware or anything else) then you can use your Entire Disk. Be careful in case of you are wanted to install next to your current operation system, because it will erase your Disk. In my case this is a Virtual Machine, hence using the Entire Disk.

My disk is only 40 GB it is more than enough.

It is automatic generated results. Hit enter on the Done button.

As already stated this whole disk will be formatted. Select the continue.

Specify your Name, server’s name, choose a username and provide the your password twice.

Select the Install OpenSSH Server, because later on you can access your Headless Ubuntu Server via Port 22 SSH which is great.

We don’t need the rest of the snaps so hit Done.

You can hit Enter on View Full Log. The installation has been started.

Once it finished click on reboot now.

Remove the installation media (from USB or de-attach your ISO file) and press enter.

After the reboot it will generate your SSH Key fingerprints and with the previously specified username and password you can log in to the Server.

Use the Sudo Su command and provide again your password to be a sudoer.

With a newly installed server use the following command as a sudoer:

apt-get update && apt-get upgrade -y

This command will accept every update and upgrade on your kernel. If it finished reboot the server and you are good to go.

Leave a Reply

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