WWW Howtoforge Com Tutorial Debian Minimal Server
WWW Howtoforge Com Tutorial Debian Minimal Server
Tutorial search
This tutorial shows how to install a Debian 9 (Stretch) minimal server. The
This tutorial exists for these OS versions
purpose of this guide is to provide a minimal Debian setup that can be
used as the basis for our other Debian 9 tutorials and the perfect server
Debian 9 (Stretch)
guides here at howtoforge.com.
Debian 8 (Jessie)
Debian 7 (Wheezy)
1 Requirements
To install a Debian 9 server system you will need the following: 2 Preliminary Note
3 The Debian Base System
the Debian Stretch network installation CD, available here:
32Bit: https://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
9.3.0-i386-netinst.iso (i386) or
64Bit: https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.3.0-amd64-netinst.iso (x86_64 / amd64)
a fast Internet connection.
2 Preliminary Note
In this tutorial, I will use the hostname server1.example.com with the IP address 192.168.1.100 and the gateway 192.168.1.1. These
settings might differ for you, so you have to replace them where appropriate.
Insert your Debian 9 (Stretch) network installation CD into your system and boot from it. When you use a virtualization software like VMware or
Virtualbox, then select the Debian 9 minimal iso file as source file for the DVD drive of the VM, you don't have to burn it to a CD or DVD for that
first.
Select Install (this will start the text installer - if you prefer a graphical installer, select Graphical install):
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Select your language:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Then choose your location:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Choose a keyboard layout:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
The installer checks the installation CD, your hardware and configures the network with DHCP if there is a DHCP server in the network:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Enter the hostname. In this example, my system is called server1.example.com, so I enter server1:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Enter your domain name. In this example, this is example.com:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Afterward, give the root user a password:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Confirm that password to avoid typos:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create a Linux user account, e.g. your name or nickname. For this example installation, I will choose the name "administrator" with the
user name administrator (don't use the user name admin as it is a reserved name on Debian Linux):
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Now select the timezone for the server
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Now you have to partition your hard disk. For simplicity's sake I select Guided - use entire disk - this will create a large partition for the
/ file system and another one for swap (of course, the partitioning is totally up to you - if you know what you're doing, you can also set up your
partitions manually). For hosting systems like the ISPConfig 3 perfect server tutorials you might want to choose e.g. 30GB for / and a large /var
partition as all website and email data is stored in subdirectories of /var.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Select the disk that you want to partition:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Then select the partitioning scheme. As mentioned before, I select All files in one partition (recommended for new users) for
simplicity's sake - it's up to your likings what you choose here:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
When you're finished, select Finish partitioning and write changes to disk:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Select Yes when you're asked: "Write changes to disk?":
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Afterward, your new partitions are created and formatted. Now the base system is installed:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Next >>
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Sub pages
How to install a Debian 9 (Stretch) Minimal Server
How to install a Debian 9 (Stretch) Minimal Server - Page 2
Suggested articles
8 Comment(s)
Add comment
Name * Email *
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
p
Submit comment
I'm not a robot
reCAPTCHA
Privacy - Terms
Comments
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.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Thanks!
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?
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.
An OS instance at Google is a minimal setup, so the perfect server setups work perfectly on cloud servers as well.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Tutorials How to install a Debian 9 (Stretch) Minimal Server
Sign up now!
Tutorial Info
Download: debian-9-minimal-server.ova
Guide: VMWare Image Import Guide.
Other Downloads: List of all VMWare Images
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD