Comments on How to Install a Debian 10 (Buster) Minimal Server

This tutorial shows how to install a Debian 10 (Buster) minimal server in detail with many screenshots. The purpose of this guide is to provide a minimal setup that can be used as the basis for our other Debian 10 tutorials here at howtoforge.com.

30 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Mat

Hi Till,

thanks for your great work here as well the very good tutorials.

I have never used a pre-final-release of an os (i test it at the moment with your perfect server debian 9 nginx guide, no issues until now - excepting some adjustments in how to install some little parts).

Does the now available RC2 get automatically updated to final release with regulare apt-get updates/upgrades via ssh ?Or is there anything additional to do?

Thanks & best regards,

Mat

By: till

You can update the RC2 to the final release with the usual apt-get update && apt-get upgrade when the final is available.

By: till

Please take a look here on how to switch a server based on Debian 10 RC to stable branch: https://www.faqforge.com/linux/switch-debian-10-rc-release-to-stable/

By: Siegfried Schnieders

I think you installed ssh server with

[*] SSH server

in the software selection, so step 4 does nothing new.

By: till

Please read the whole text from chapter 4 and not just the commands as it explains why the apt-get command is shown there: "If you did not install the OpenSSH server during the system installation, you could do it now". So in case you skipped installing SSL during initial software selection, then the command in chapter 4 shows you how to do it now.

By: 18TommyBoy

Yes, but in tutorial forget the standard settings: can´t connect to root with Putty in Debian 9-10 (Connection refused)

By: till

There is nothing missing. You connect with the user that you created during installation (you should know the name and password that you have chosen) and with the IP address of your server which you should know as well. And the settings that I have chosen are listed in chapter 8 and you can see them in the screenshots in the article as well.

By: Jehu

Could you do a raid 6 install on disk over 3GB...Thanks!

By: rozana alam

 love it!!

Thank you so much !!

By: Eric Flores

This is a great article.  I followed step-by-step except for the VM.  It works as descbied.

 

Tks.

By: andreas

thanks a lot for this perfect description and greets from vienna!

By: nada

I find it useful to update/upgrade right after the base install before installing any packages.

You can also pre-cache all the updates by running apt upgrade --download-only and then run the upgrade itself...to avoid any potential interruptions...this is especially handy when doing the apt dist-upgrade

 

By: Victor Andrei

Debian 10.1.0 has been released. You should update the link to the ISO file. It's now

https://cdimage.debian.org/mirror/cdimage/release/current/amd64/iso-cd/debian-10.1.0-amd64-netinst.iso

By: adamjedgar

I am confused by the /etc/hosts file.

you have the line 192.168.0.100 server1.example.com server1

 

why is a local ip address being used in this tutorial here? Are we supposed to use this ip address or should this be the public ip address of the server?

Because these systems are going on the internet, why are tutorials telling us to use non public ip addresses? This does not make any sense...which should i use here?

By: till

You use your server IP address there of course. This IP can be an Internal or external IP, so using an internal IP can make sense, it all depends on your server setup.

By: Carlos

Hello Till, Thank you very much for your time making this tutorial.

Im looking for a cluster installation, could I use the Installing a Web, Email & MySQL Database Cluster on Debian 8.4 Jessie with ISPConfig 3.1 using this tutorial instead of the Debian 8(Jessie) Minimal server?

By: till

Yes and no, the setup is very similar for all Debian versions, but package names may differ. So when using Debian 10 I recommend using the debian 8 cluster tutorial as a guide what and how to install and then use the Debian 10 perfect server guide to find the actual package names for the steps. I'm sorry that there is no debian 10 cluster tutorial, simply had no time to write it yet.

By: KOCT

Where to download VMWare image

By: till

The download link is below the big red download icon in the menu on the right page of the site, near the top.

By: GaryS

Just a small suggestion."su -"  instead of "su" (can save grief for people later :)

 

By: davek

What is the difference between Debian-10 and Debian-tiny ? I imagine there is a list of packages for both, but what is missing from Debian-10, and what are the missing packages doing ?  Can any Debian-10 be turned into Debian-tiny by a series of "sudo apt remove" commands ?

By: David

I am following your tutorial but can't seem to get through it.  When I try to restart the networking, I get an error message.  I'll post it below. I think that the problem is that enol should be ens33, or am I wrong? If you have suggestions, I'd appreciate them and thanks for any help you have to offer.

root@db10server:/home/administrator# systemctl status networking.service? networking.service - Raise network interfaces   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)   Active: failed (Result: exit-code) since Thu 2020-05-07 16:13:03 CDT; 34s ago     Docs: man:interfaces(5)  Process: 2232 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE) Main PID: 2232 (code=exited, status=1/FAILURE)May 07 16:13:03 db10server systemd[1]: Starting Raise network interfaces...May 07 16:13:03 db10server ifup[2232]: Cannot find device "ens33"May 07 16:13:03 db10server ifup[2232]: ifup: failed to bring up ens33May 07 16:13:03 db10server systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILMay 07 16:13:03 db10server systemd[1]: networking.service: Failed with result 'exit-code'.May 07 16:13:03 db10server systemd[1]: Failed to start Raise network interfaces.lines 1-13/13 (END)administrator@db10server:~$ ip a1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00    inet 127.0.0.1/8 scope host lo       valid_lft forever preferred_lft forever    inet6 ::1/128 scope host        valid_lft forever preferred_lft forever2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000    link/ether 5c:26:0a:26:cb:0a brd ff:ff:ff:ff:ff:ff3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000    link/ether 00:24:d7:6c:3e:10 brd ff:ff:ff:ff:ff:ff    inet 192.168.0.6/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp2s0       valid_lft 82655sec preferred_lft 82655sec    inet6 fe80::224:d7ff:fe6c:3e10/64 scope link noprefixroute        valid_lft forever preferred_lft forever

By: David

I am following your tutorial but can't seem to get through it.  When I try to restart the networking, I get an error message.  I'll post it below. I think that the problem is that enol should be ens33, or am I wrong? If you have suggestions, I'd appreciate them and thanks for any help you have to offer.

root@db10server:/home/administrator# systemctl status networking.service? networking.service - Raise network interfaces   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)   Active: failed (Result: exit-code) since Thu 2020-05-07 16:13:03 CDT; 34s ago     Docs: man:interfaces(5)  Process: 2232 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE) Main PID: 2232 (code=exited, status=1/FAILURE)May 07 16:13:03 db10server systemd[1]: Starting Raise network interfaces...May 07 16:13:03 db10server ifup[2232]: Cannot find device "ens33"May 07 16:13:03 db10server ifup[2232]: ifup: failed to bring up ens33May 07 16:13:03 db10server systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILMay 07 16:13:03 db10server systemd[1]: networking.service: Failed with result 'exit-code'.May 07 16:13:03 db10server systemd[1]: Failed to start Raise network interfaces.lines 1-13/13 (END)administrator@db10server:~$ ip a1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00    inet 127.0.0.1/8 scope host lo       valid_lft forever preferred_lft forever    inet6 ::1/128 scope host        valid_lft forever preferred_lft forever2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000    link/ether 5c:26:0a:26:cb:0a brd ff:ff:ff:ff:ff:ff3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000    link/ether 00:24:d7:6c:3e:10 brd ff:ff:ff:ff:ff:ff    inet 192.168.0.6/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp2s0       valid_lft 82655sec preferred_lft 82655sec    inet6 fe80::224:d7ff:fe6c:3e10/64 scope link noprefixroute        valid_lft forever preferred_lft forever

By: till

The network device name can differ depending on the hardware that is used in your server.

By: Conrad

Thank you. Excellent tutorial. This was very easy to follow because it was well laid out. I now have a test Debian Buster (10) installation to learn on.

By: Jorge

Where's the link for the OVA image ?

Thanks.

By: till

In the navigation menu on the right side of the page, near the top, right below the big red download icon.

By: Jean Majolo

Tutorial Debian 11?

By: Aman

This is really helpful article, Thanks for sharing.

By: David Jonsen

I`m trying to get ens33, but it`s still showing enp0s3. how can i get ens33?