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.

4 thoughts on “How to install Ubuntu 18.04 Server (Headless)

  • 5th December 2019 at 4:52 am

    Thank you for another informative site. Where else could I get that type of info written in such a perfect way? I’ve a project that I am just now working on, and I have been on the look out for such info.

  • 1st February 2020 at 5:14 am

    Have you ever considered about including a little bit more than just your articles? I mean, what you say is important and all. However think of if you added some great pictures or videos to give your posts more, “pop”! Your content is excellent but with pics and clips, this blog could definitely be one of the best in its field. Excellent blog!


Leave a Reply

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