Skip to main content

Dedicated Server: Installation of Debian

Introductionโ€‹

The following will explain to you step by step how to install and configure the Debian operating system on your dedicated server. Follow these instructions carefully to ensure that you set up the operating system successfully and utilize it optimally.

info

The structure of the guide is based on the use of the Debian 10 operating system. Installations from previous or newer versions may differ slightly in terms of the process.

Preparationโ€‹

For the installation and configuration of an operating system, it is initially important to mount the corresponding ISO of the operating system. There are several possible ways to mount it:

  1. Mounting via the initial setup
  2. Mounting via iLO (Virtual Media)
  3. Mounting via iLO (Remote Console)

If you are not familiar with mounting an ISO file yet, it's best to refer to our Initial Setup or Custom ISO guide.

Installationโ€‹

When the ISO is successfully loaded, the server is in the setup process.

image

In this example, we will go through the installation process using the "classic" install.

image

Select your desired language in which the installation wizard will be displayed. Keep in mind that this language will later affect the installed system in the end.

image

Our desired location is not in the first selection page, so we go to the next page with "Other".

image

In our example we select the "Europe" option.

image

Depending on the desired time zone, we choose the German time zone in this example.

image

We choose United States as locale.

image

In our case we choose the German keyboard layout which is the QWERTZ layout. If you're from America the default layout would be QWERTY

info

Your server is now preparing some components which are necessary for the installation, this can take a few minutes.

image

Your server configures its network interface automatically by using DHCP. Select eno1 this is the default network adapter of your ZAP Dedicated Server. image

The hostname can be modified if you'd like to, but does not need to be changed.

image

The domain name does not have to be changed either.

image

Here you have to set the password for your "root" account. Make a note of the chosen password.

image

To confirm the password you have to enter it again.

info

The installation wizard asks you to create a second user account

image

Now enter the name of the owner for a normal user account. You can of course freely choose what you'd like to enter here.

info

You can of course use the "root" account in the end

image

Now enter the username of the account. Also choose a password of your choice and confirm it again. Your server will now prepare the next installation steps.

image

You have now the possibility to create partitions or alternatively to use the whole SSD as 1 partition. If you don't want to change anything on the partition just choose "Guided - Use entire disk".


image

Select the SSD which is installed in your server. image

Basically it is fine if the complete structure is stored on one partition. image

We confirm the configuration with "Finish partitioning and write changes to disk".

info

If there are old partitions on your SSD we confirm the overwrite with "Yes".

Your server now performs the partitioning and prepares the installation of the system.

image

If you want to include other installation media, for example for certain packages, this could be done now. Normally, however, you can download all packages conveniently afterwards via the package manager (apt).

image

Our dedicated servers are located in Germany, so it's recommended to choose the German mirror location to achieve the best possible download speed rates.

image

Basically we recommend to use the default Debian repository.

image

If you'd like to use a HTTP proxy, you could enter the data. (this is not required)

image

The system wants to collect anonymized statistics, this can be refused or confirmed.

image

Now select the packages you want to install:

  • Debian desktop environment Would create a graphical user interface on your server, but in this example we only use the shell level of the server.

  • SSH server Is needed, for example, to connect to PuTTY.

  • Standard system utilities Is needed to provide a number of basic packages.

The selection of the different packages is done by TAB and arrow keys. Packages are selected or deselected with the space bar. When you are satisfied with your selection press TAB until you reach Continue and confirm with Enter.

image

Confirm that this operating system is the only one on the current server with Yes.

image

As storage location we choose the default location on our SSD.

info

๐ŸŽ‰ The installation of your Debian system is now finished.

Open "Virtual Media" in your iLO and press "Eject Media" to remove the ISO File from the system.

image

When this is done successfully, we select Continue, the server will now perform a reboot.

image

Configurationโ€‹

SSH Loginโ€‹

Once the reboot of your server is done and the installation was successful, you will now be prompted to login.

image

Of course you also want to be able to manage your server through SSH, i.e., PuTTY, for example, so we still need to enable the login for that:

image

Open with nano the configuration file of your SSH service nano /etc/ssh/sshd_config.

image

Search for #PermitRootLogin no and change it to PermitRootLogin yes.

Now press CTRL + X and confirm your changes with Y.

After that you have to restart the SSH service by typing service ssh restart.

Your SSH login is now active and you can connect via PuTTY, for example. Enter the IP address of your server, which you see in your zap dashboard and use the previously defined credentials.

image

tip

If you have any further questions or problems, our support is happy to assist you!