Install Debian 10 (Buster) Minimum Server

botond published 2019/11/05, k - 16:28 time

Content

  1. page: Download and install Debian 10 (Buster)
  2. page: Finish the installation and make the necessary settings

 

The 1. page content

 

Introductory

In this description, we install one Debian 10 (Buster) a minimal server consisting of the basic Debian 10 system and some basic settings. This installation will be the basis for future LAMP and perfect tutorials on servers. On this page, download the Debian 10 (Buster) installation package and follow the steps in the installation program.

Previously prepared minimal server installation tutorials are also available in the following versions:

 

 

Getting Debian 10 (Buster)

Go to Debian 10 (Buster) download page, here select the installation kit and architecture that is right for you. I the netinst CD image part I choose that amd64 installer, I will use this. Thanks to the netinst package, we don’t have to download several GB of installation kits, just a 335 Mb ISO file, which is enough to boot the system and the additional required components are downloaded by the installer on the fly. If you plan to install later in offline mode, you will of course need to download one of the complete installation kits. The current version of Debian I downloaded is 10.1.

 

Installation

This description is one building block, which means that several other descriptions on the site will be based on this. Thus, it is important that it is executed accurately so that any subsequent guides installed for it can work without any problems.

Server outside DVD can be installed using a USB stick for example, to install on a physical machine or create one virtual machine with VirtualBoxand if we needed a test environment. You can choose any one to create the description.

This installation is done by VirtualBox 6I finish it in , but the former 5.2 VirtualBoxworks perfectly with

Installation method

Installing Debian 10 (Buster) Minimum Server - Installation Method

After startup, you will be greeted by the standard installation menu on the first screen. Here you can choose whether to install Debian in graphical mode or standard text mode. Here are a few more options below, but we won't cover them now. I choose the graphical mode so this will start the installation.

Language and locale settings

Installing Debian 10 (Buster) Minimum Server - Select Language

Select the appropriate language.

Installing Debian 10 (Buster) Minimum Server - Select Country

Select your country.

Installing Debian 10 (Buster) Minimum Server - Selecting the Keyboard Language

Select the language for your keyboard.

 

 

Installing additional components

After setting the language, some components will be installed:

Installing Debian 10 (Buster) Minimum Server - Installing Additional Components

Set up a network

The system automatically sets up the network:

Install Debian 10 (Buster) Minimum Server - Automatically configure IPv6

First you try to configure the IPv6 address if it is available in our web service (for newer networks, IPv6 addresses are usually provided).

Sets the DHCPif they are distributed in this way IP addresses in our network.

Installing Debian 10 (Buster) Minimum Server - Configuring DHCP

There is a better chance if you use routers.

Then we need to enter the machine name:

Installing Debian 10 (Buster) Minimum Server - Configuring a Host Name

Enter your hostname here, which will be the (without switches) hosname will match the output of the command. I entered "debian10" here.

Then comes the domain name, which is the part after the host name that completely identifies the machine:

Installing Debian 10 (Buster) Minimum Server - Set Domain Name

Here I enter the usual linuxportal.vm name, continuing the naming logic of the virtual server serial already started.

A hostname and the -f command will return the two names together, i.e. the full name of the machine (FQDN), which in this example is debian10.linuxportal.vm. So with this logic, we give these two names so that the network dependent parts will work properly in the future.

For a live server, the server is the main one domain name that is, what will be the name of the primary web page or other web service.

Users and passwords

The first step is to enter the root password:

Installing Debian 10 (Buster) Minimum Server - Set Root Password

Enter a valid password. I still use the linuxportal_root password for these servers.

 

 

The installer then creates the first plain user, who must now enter his full name:

Install Debian 10 (Buster) Minimum Server - Enter the full name of a new user

and your username:

Install Debian 10 (Buster) Minimum Server - New User Username

Then enter a password for this user:

Installing Debian 10 (Buster) Minimum Server - New User Password

I will publish this password on the download page for this server.

Partitioning disks

There are several ways to partition your system. In the case of live use or a physical machine, it is a good idea to consider the type and amount of physical hard drives available and then partition accordingly (eg, using SSDs, RAID or logical (LVM) volumes, etc.). In this description, however, we now choose the simplest method, which is to install everything on a single physical partition. Later, of course, another driver can be added to the system, so we can expand our web hosting, etc.

Of course, if we are well aware of the partitioning process, we can go about our own custom method.

In the first menu, you can choose the partitioning scheme:

Installing Debian 10 (Buster) Minimum Server - Selecting a Partitioning Schema

Here, select the very first option (Directed - Use the entire disk) and move on.

Select Disc:

Installing Debian 10 (Buster) Minimum Server - Selecting the disk to partition

Here, depending on your hardware configuration, select the hard disk you want to partition.

Attention!
In this tutorial, we use partitioning with the whole disk option, so if you are installing on a physical machine, pay close attention to which disk you choose! The entire contents of the selected disc will be lost!

After selecting the disk, you still need to specify the partitioning mode:

Installing Debian 10 (Buster) Minimum Server - Selecting Partitioning Mode

Here, using the "all on one disk" logic, select the first option. Then comes the partitioner, which has everything set up for us:

Installing Debian 10 (Buster) Minimum Server - Partitioning

Here we close the partitioning with the selected menu item shown in the picture and in the next window

Installing Debian 10 (Buster) Minimum Server - Burn Partitions to Disk

use the yes option to write partitions to disk. 

 

 

Installing a base system

The system continues to work with installing the base system ...

Installing Debian 10 (Buster) Minimum Server - Installing a Base System

Configure package manager

The installer asks if you want to scan other CDs / DVDs for the package manager:

Install Debian 10 (Buster) Minimum Server - Reviewing Other CD / DVD Installation Disks

This option is used if, due to the offline installation, we have written out the complete installation set of several DVDs, which we can now use here. However, if you are using the small netinst installation kit, select the no option.

Then select the appropriate Debian mirror:

Installing Debian 10 (Buster) Minimum Server - Selecting a Debian Mirror

Mirrors are used to access all the contents of Linux distributions in a decentralized manner, so that the entire world is not burdened by a central server. Hungarian Debian mirrors are generally stable, so you can choose.

Furthermore, it is not final because it is APT we will even expand our repositories to include add-ons for later server installations that are not included in the basic repositories.

So in the following window you can select the mirrors available in the country you have set up:

Installing Debian 10 (Buster) Minimum Server - Selecting a Debian Local Mirror

You can choose any one here, but it is advisable to choose deb.debian.org, which, as part of a global CDN network, provides a Debian mirror for home requests in Hungary. Particularly useful, for example, is installing a desktop Debian on a laptop that you travel around the world. So wherever you are, this mirror will always download updates from the nearest Debian mirror server. More about Debian mirrors read here.

In the following window you can configure your proxy settings:

Installing Debian 10 (Buster) Minimum Server - Proxy Settings

If you do not use a proxy or do not know what it is, leave it blank.

 

 

The system then configures the APT package manager.

Installing Debian 10 (Buster) Minimum Server - Configuring the APT Package Manager

and installs additional software:

Installing Debian 10 (Buster) Minimum Server - Installing Additional Software

 

Installation continues with next page.

 

 

Navigation

This description consists of several pages: