How to Install and Connect to Ubuntu 20.04 and 20.10 on Bare Metal Servers

Installation of Ubuntu 20.04 or 20.10 on Bare Metal Cloud Servers

The Distributions Ubuntu 20.04 (Focal Fossa) and Ubuntu 20.10 (Groovy Gorilla) are available for automatic installation on Bare Metal Cloud Servers from the Scaleway Elements console.

In this tutorial, we learn how to install Ubuntu on a Bare Metal Cloud Server and how to connect to it using SSH:

Requirements

Installing your Bare Metal Server

1 . Log into the Scaleway Console.

2 . In the Compute section on the side menu click Bare Metal. The list of your Bare Metal Servers displays.

3 . Click Install next to the server you want to install with Ubuntu 20.04 or 20.10:

4 . Enter the details of the new installation:

  • Verify the selected Bare Metal Server
  • Choose the Ubuntu 20.04 or Ubuntu 20.10 Image from the drop-down list:

  • Select the SSH keys that are allowed to connect to the server using SSH.

5 . Click Install server to launch the automatic installation of your server.

Your server is being installed and will be available in about 20 minutes.

Logging into the Bare Metal Server and excuting commands as root

Once the server is installed you can log into the machine using SSH. On computers running Linux or MacOS you can use the application ssh directly from a terminal window. On computers running Windows, you may use a tool like PuttY to connect to the server using SSH.

Note: On Bare Metal Cloud Servers running Ubuntu 20.04 or 20.10 the direct login using the root user is disabled for security reasons. Use the ubuntu user to log into the machine.

1 . Connect to the server:

ssh ubuntu@<bare_metal_server_ip>

2 . Once logged in, the SSH prompt displays:

Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-64-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

[...]

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@bare-metal-server:~$

3 . To run commands with root privileges prefix them with the sudo command. It allows you to run processes with superuser permissions:

sudo apt update
sudo apt upgrade

Note: To switch into the root account, run sudo su. Be aware that running commands directly from the root account may be a security risk and can damage the software configuration on your machine.

For more information about the installation and configuration of Bare Metal Cloud Servers, refer to our dedicated product documentation.

Discover the Cloud That Makes Sense