Install the 64-bit version of Ubuntu Server on each machine that hosts one or more of the components.
To install Ubuntu Server 20.04, see the Ubuntu Installation Guide.
After the system is installed, make sure that it’s up to date with the most recent security patches. Open a terminal window and issue the following commands:
sudo apt update
sudo apt upgrade
Now that the system is up to date, you can start installing the components that make up a Mattermost system.