Package selection

If the provider offers a “minimal” default installation of “Ubuntu 18.04 (Bionic Beaver)”, this can be taken as base system. Further package deinstallation is more trouble than it’s worth. Independent from the provider also exists a minimalistic Ubuntu server distribution as base to install: Ubuntu Server 18.04 LTS

Integrate package repositories

(To deepen see also: Wiki)

It is recommended to use a mirror server in the area instead of the Canonical server, since mostly the connection is faster, and cost and bandwidth for the main server will be reduced. The example server chosen here is located in Germany (Aachen), making it suitable for central Europe.

Hint: Many Ubuntu installations use the command sudo to get administrator permissions. In this case in front of the commands mentioned here, the word sudo must be typed. In the next tutorial part „User + SSH“ we will configure a fully-fledged root account, and sudo will become obsolete.

Actual list of official mirror servers:

Enter repositories: /etc/apt/sources.list (Wiki:
(Hint: Repositories which are needed only sometime or optional explanatory notes can be commented out with the # character at the beginning of a line.)

deb bionic main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb bionic-backports main restricted universe multiverse

After changing the repositories, the new selection must be loaded again into the package manager:

apt-get update

Install Software Packages

Most likely in the new choosen repositories updates are available for some packages. These should be installed first of all:

apt-get upgrade

Install the following packages (and their dependencies) with:

apt-get install mariadb-server mono-complete tmux

Continued: Manage user accounts and hardening SSH

Scroll to Top