This is an old revision of the document!
Table of Contents
Setting up a Debian server
Preparations
- If possible, make a DHCP reservation for your new server. This simplifies the network configuration on your server and
- If possible, register a DNS name for your new server and point it to the assigned IP address. The installer will ask you for the FQDN, so it saves time if you set it correct from the start and don't need to change it afterwards.
- If possible, connect your server via a wired connection. This always works more reliably, and also bypasses issues with wireless network card drivers.
Installation
First, download the latest version of Debian from https://www.debian.org/distrib/. I recommend downloading a complete installation image as nowadays, it easily fits on a DVD or USB thumbdrive.
Then, write the image to a DVD or USB drive and boot your server from it. You may need to access the boot menu or BIOS to do so. On amd64, make sure to use UEFI as boot method, and not legacy boot.
When the boot menu appears, choose the regular Install method, instead of the Graphical Install. This avoids issues if the display driver for your server is unsupported.
When asked to choose a language, choose English. As it will also become the language for the installed system, it will usually make the system easier to administer, e.g. when searching on-line for error messages.
When asked to select a location, select the location where the primary users or administrators of your server are located.
If you're asked to select a default locale, select United Stated.
When asked to choose a keymap, choose the correct keymap for the keyboard you're using.
When asked to choose your primary network interface, choose the interface that is connected to the network cable. Usually this is selected automatically.
The network interface should now be configured automatically, if you've set up DHCP correctly. If not, you can set a static configuration now.
When asked to enter the hostname, enter the first part of the FQDN that you have registered in DNS. When asked for the domain name, enter the rest of the FQDN.
When asked to enter a root password, choose one and store it securely.
When asked to create a user account, enter your own full name. Next, choose a short username and password. Store the password securely.
When asked how to partition the disk, choose Guided - use entire disk and set up encrypted LVM.
