Comments on How to install a Debian 9 (Stretch) Minimal Server

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

16 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: calbasi

In a fresh debian install I get:

/etc/hosts

---------------------------------

127.0.0.1       localhost127.0.1.1       debian# The following lines are desirable for IPv6 capable hosts::1     localhost ip6-localhost ip6-loopbackff02::1 ip6-allnodesff02::2 ip6-allrouters-----------------------------------

And /etc/hosname with just my machine/domain name:

myserver.mydomain.net

----------------------------------------------------

I wonder if these settings are OK, and, thus, your manual has an (old) alternative.

 

By: Someone

Update links from 9.0.0 to 9.1.0

By: thctlo

Hai, Just tried your vm for a samba 4 install, but that errors at some point due to the existance of Administrator as linux users. deleting your default administrator user fixes the problem.

 

but great howto again.

Thanks!

 

By: AnHa

When I try to install debian9.1.0 amd64 on my VMWare-System 8.0.2, the base system installation failes with error:"Debootstrap waring: Failure trying to run: chroot /target dpkg --force-depends --install /var/cache/apt/archives/base-passwd_3.5.43_amd64.deb". Trying to ignore does not help, I can't go on with installation.

Having a look @ /var/log/syslog, I see something like "dpkg: error processing package base-passwd (--install): subprocess installed post-installation script was killed by signal (Segmentation fault)"

Any suggestions?

By: AnHa

After updating the VMWare-Version everything works fine

By: Adam

would it be possible to create one of these perfect server setups that has been tested and oriented towards Google Cloud Compute Instances?

There is some of this that is simply not going to be doable...beginning with the very first part of this. Trying to start with a blank canvas is a little difficult when Google Cloud instances have disks with O/S's already on them when the instance is first setup.

By: till

An OS instance at Google is a minimal setup, so the perfect server setups work perfectly on cloud servers as well.

By: Vincent

 I have a 404 on the debian 9 64 bit link...

By: manuel guerra

i follow all this instructions and i got several isues, one of those with the net, it presents malfunction and doesnt apply the "apt-get update" command, so im enabled to update the system

By: igor

Hi,

i can't find the link to the virtual machine mentioned in section 8 of the tutorial.

By: till

In the menu on the right side near the top, right below the big red download icon. If you don't see a menu at the right, deactivate your ad blocker.

By: gui

 Hi,

I try to follow your instructions, but with version 9.4, installing debian on a laptop. My problem is that wifi won't come up after the reboot! All help I find on forums start with apt-get-something but without a network tha won't work!

ifup wlan0 gives me 'unknown interface wlan0'

Why did the installer not remember?

By: steam

I don't have a network after I reboot from fresh install. Even if I plug in a UTP-cable, I cannot ping the network (or do apt-get). During the netwerk install wifi worked grait!

How should I proceed?

By: MrFAI

A much easier method is to use a fully automatic installation ISO. The FAI project provides such ISOs. You can also create customized ISO images, that already include a list of software packages using a simple web interface. HAve a look at https://fai-project.org/FAIme

By: Conrad

With the gateway, to get internet to my pc the modem/router sits on an ip address x.x.x.138 now if I set the server gateway to x.x.1.1 will that work or does it have to be the same as what I get internet from the ISP?

By: Conrad

Sorry to be a pest, but what I am trying to say is, should I set the values I see in 'ifconfig' and use to ssh into the device?