Step by step Debian Linux 9 Installation guide with screenshots

In this guide, we about see how to install with Debian Linux version 9 code name “Stretch”.

The Debian project came to the universe by August 16th 1993, and the initial release of Debian Linux came out by September 1993. It’s been 24 years Debian Linux providing a free open source solution for most of the platforms. Debian have moved from “SysV” to “systemd” from its version 8 Jessie. Most of the developers prefer to use with Debian Linux hence it provides with all required libraries and packages handy in three number of DVD around 13GB in size, It uses deb packages and Apt package manager. By following let see how to perform a fresh OS installation using Debian Linux ISO image file.




To start with the installation we boot our virtual machine using ISO file, At first, it will prompt with few options by highlighting the default “Graphical install” in “Debian Linux installer boot menu”. To continue with installation using graphical mode press enter, else navigate down to other available choices.

Step by step Debian Linux 9 Installation guide with screenshots 1
Starting with the Graphical installation

These are the available options during first boot.

Step by step Debian Linux 9 Installation guide with screenshots 2
Available other installation menus

If you need to do an installation in your own language choose one from below. By default “English” will be selected click continue to choose your selection.

Step by step Debian Linux 9 Installation guide with screenshots 3
Language to perform the installation

Select the location where server about to run. This will resolve automatically for “Timezone & Date” without manually choosing it, click continue to next window.

Step by step Debian Linux 9 Installation guide with screenshots 4
The country where your server about to run

To select with keyboard layout choose your language. By default, it will be “American English”. As usually click continue with the installation.

Step by step Debian Linux 9 Installation guide with screenshots 5
Keyboard layout

The install will start to copy the required installation files.

Step by step Debian Linux 9 Installation guide with screenshots 6
Loading the installation packages

Manually assign with a hostname. Here we are using “debian.oel7.local” and click continue.

Step by step Debian Linux 9 Installation guide with screenshots 7
Assign with Hostname

In the next window, we need to create with root user’s password. Make sure to use a complex password without including any dictionary words.

Step by step Debian Linux 9 Installation guide with screenshots 8
Create with the root password

To perform any administrative activities it’s recommended not to use “root” user account, Instead, we need to create with a privileged account. In this step just provide with a name for the account.

Step by step Debian Linux 9 Installation guide with screenshots 9
Privileged account name

Username for the privileged account, Here we are using “oeladmin” as our administrative account’s username.

Step by step Debian Linux 9 Installation guide with screenshots 10
Privileged account username

create with a strong password for the above-created username.




Step by step Debian Linux 9 Installation guide with screenshots 11
Privileged account password

Define with partition where OS needs to be installed, Choose “Guided-use entire disk for setup LVM”.

Step by step Debian Linux 9 Installation guide with screenshots 12
Guided partitions for OS installation

Select the disk to partition If we have more than one disk makes sure to select the first one and correct disk. All data on the disk you selected will be erased. And it will be removed only after we make changes.

Warning: All data will be destroyed once we confirm.

Step by step Debian Linux 9 Installation guide with screenshots 13
Disk where we need to create with partitions

Select how the disk layout needs to be defined. We are about to use separate partitions using LVM for /home, /var, /tmp.

Step by step Debian Linux 9 Installation guide with screenshots 14
Choosing required separate partitions

Confirm by selecting “Yes” to write the changes to disks and configure LVM.

Step by step Debian Linux 9 Installation guide with screenshots 15
Confirm with selection

Defined partition and file system will look as below.

Step by step Debian Linux 9 Installation guide with screenshots 16
Create with LVM layout for installation

Once we select “Yes” and click “Continue” all the changes will be written.

Warning: All data will be destroyed once we click the continue.

Step by step Debian Linux 9 Installation guide with screenshots 17
Confirm to create with partitions and file system

The installation will start by installing the base system.

Step by step Debian Linux 9 Installation guide with screenshots 18
Continue with installing the base system

Adding additional packages using DVD2 and DVD3 are optional. In case installing with development system choose “Yes” and add with DVD2 and DVD3.

In our setup, we are following basic installation by choosing “No” to skip this step.

Step by step Debian Linux 9 Installation guide with screenshots 19
Skip configuring with additional packages

By following skip adding the “network mirror”.

Step by step Debian Linux 9 Installation guide with screenshots 20
Skip adding with network mirror

Remaining packages will be installed by following.

Step by step Debian Linux 9 Installation guide with screenshots 21
Continue with installing software

Select “No” if not wish to share statistics about usage of any package.

Step by step Debian Linux 9 Installation guide with screenshots 22
Skip, if not wish to share statics report with developers.

Continue to choose what type of server needs to be built by selecting from the list. In our setup, we selected with only SSH and basic standard utilities.

Step by step Debian Linux 9 Installation guide with screenshots 23
Select with what type of server or desktop need to be installed

The installer will start with installing selected software.

Step by step Debian Linux 9 Installation guide with screenshots 24
The selected type of server and software will continue installing

Once done with installation it’s time to install the GRUB boot loader to the master boot record.

Step by step Debian Linux 9 Installation guide with screenshots 25
Install “GRUB” bootloader

Select the disk where grub needs to be installed.



Step by step Debian Linux 9 Installation guide with screenshots 26
Select the disk where grub to be installed

The installation has been completed, Click “Continue” to reboot.

Step by step Debian Linux 9 Installation guide with screenshots 27
Completed with installation

After installation GRUB menu will automatically boot into the installed operating system in five seconds.

Step by step Debian Linux 9 Installation guide with screenshots 28
Booting into the installed Operating system

A freshly installed Debian 9 Linux server will look like below by prompting the user to login.

Step by step Debian Linux 9 Installation guide with screenshots 29
After installation of the new server

Running with few of common commands after the installation.

Step by step Debian Linux 9 Installation guide with screenshots 30
Running with a few common commands after the server up and running.

Official website URL
Click Here to get support.
To subscribe with mail listing
Click Here for downloading Debian

That’s it, We have completed with installing Debian 9 Linux server. In the future article, we will cover with basic settings for Debian Linux servers. you can provide your feedback by commenting in below comment section.