How to Minimal Install Debian 10 Server - CentLinux

Latest

Saturday, 21 March 2020

How to Minimal Install Debian 10 Server

How to Minimal Install Debian 10 Server

Debian also known as Debian GNU/Linux is a Linux distribution composed of free and open source software, developed by community supported Debian project, which was established by Ian Murdock on August 16, 1993. Debian is one of the oldest distribution based on Linux Kernel. (Courtesy: Wikipedia)

Ubuntu is the most famous Linux distribution now-a-days, is also derived from Debian Project.

In this article, you will learn how to minimal install Debian 10 Server.

If you are looking for installation of other Linux distros, then you may look at following articles.

To learn about the in depth architecture of Linux server and working of background processes, you should read How Linux Works, 2nd Edition: What Every Superuser Should Know by Brian Ward.

 

This Article Provides:

     

    Environment Specification:

    We have provisioned a virtual machine with following specification.

    • CPU - 3.4 Ghz (2 cores)
    • Memory - 2 GB
    • Storage - 20 GB

     

    Installing Debian 10 Server:

    Debian is free and open source software, therefore it is available for free download from Debian Project website.

    After downloading, attach Debian 10 ISO in your server DVDROM and Turn on the virtual machine.

    01-debian-install-menu

    On boot from Debian 10 ISO, a boot menu will be displayed with different options.

    Since, we are going to install Debian 10 in Graphical mode, therefore select "Graphical install" option and press <ENTER>.

    02-debian-install-select-language

    Debian installer will ask you for the language for the installation process. The same language will be used as the default language for the installed operating system.

    Select your preferred language and click on Continue.

    03-debian-install-select-location

    Debian installer will ask for a location that will be used to set the regional settings in your operating system.

    Select your geographical location and click on Continue.

    04-debian-install-select-keyboard

    This time you will be asked by the Debian installer to provide the Keyboard layout.

    Choose the preferred keyboard and click on Continue.

    05-debian-install-loading-components

    Installer will load installer components from Debian ISO/CD.

    06-debian-install-set-hostname

    After loading installation components, the Debian installer will take you to the network configuration screen.

    Provide the desired hostname for your Debian server and click on Continue.

    07-debian-install-set-domainname

    To setup a FQDN (Fully Qualified Domain Name), we are also required to provide a domain name.

    Provide your domain name here and click on Continue.

    08-debian-install-set-root-password

    We are now at the "Setup users and passwords" screen.

    Set a strong password for root user and click on Continue.

    09-debian-install-admin-user-fullname

    Debian installer is now asking us to create an administrative user that will be used as an alternative of the default root user due to the security measures.

    Provide the full name of your desired user account and click on Continue.

    10-debian-install-admin-username

    Now provide the username for this administrative user account and click on Continue.

    11-debian-install-admin-user-password

    Finally set a strong password for this administrative user account and click on Continue.

    12-debian-install-set-timezone

    Choose your desired time zone and click on Continue.

    13-debian-install-create-partitions

    Debian installer is now asking to setup the partitions for installing the Operating System.

    We have two types of configuration options are available here.

    • "Guided" options are used for automatic configurations based on some predefined templates.
    • "Manual" option is used to configure each partition settings i.e. type, size, etc.

    We are selecting the "Guided - use entire disk" option and click on Continue.

    14-debian-install-select-disk

    Choose a disk on which you want to create the required partitions and click on Continue.

    15-debian-install-partition-scheme

    Choose your preferred partitioning scheme and click on Continue.

    For better space management, we recommend you to select "Separate /home, /var, and /tmp partitions" option.

    16-debian-install-partition-summary

    Based on the selection, Debian installer will create a partition layout and asking for any further customization in the partition layout.

    Select "Finish partioning and write changes to disk" and click on Continue.

    17-debian-install-partition-confirm

    Debian installer is asking for the confirmation to write changes to disk.

    Select "Yes" option and click on Continue.

    18-debian-install-base-system

    Debian is installing its base system now.

    19-debian-install-network-mirror

    Installer is now configuring network mirrors for downloading and installing Debian software packages.

    Select "Yes" option and click on Continue.

    20-debian-install-network-mirror-location

    Choose the location nearest to your geographical existence to help the Debian in setting up the closest network mirror for your server.

    Click on Continue.

    21-debian-install-mirror-archive

    Select a mirror archive from the list provided by the Debian installer and click on Continue.

    22-debian-install-set-proxy-server

    If your machine uses a proxy server to access the Internet then provide its address and port here. Otherwise leave the field blank and click on Continue.

    23-debian-install-configure-apt

    Installer is configuring apt package manager now.

    24-debian-install-popularity-contest

    Choose the "No" option and click on Continue.

    25-debian-install-select-software

    Select the software options that you would like to install.

    Since, we are installing a minimal Debian environment therefore we are only selecting "SSH Server" and "standard system utilities".

    Click on Continue.

    26-debian-install-software

    Setup is installing selected software now.

    27-debian-install-grub

    Debian installer is asking to install GRUB (Grand Unified Bootloader) on the MBR (Master Boot Record) of the disk in use.

    Select "Yes" option and click on Continue.

    28-debian-install-mbr-disk

    Select the disk to install GRUB and click on Continue.

    29-debian-installing-grub

    Debian setup is installing GRUB now.

    30-debian-install-completion

    Debian 10 installation has been completed successfully.

    Click on Continue to restart the system.

    31-debian-install-grub-menu

    After restart, we are now at the GRUB Boot Menu.

    Select the option "Debian GNU/Linux" and press <ENTER>.

    32-debian-install-cli-login

    Finally we are at the CLI (Command Line Interface) login prompt of Debian 10 Server.

    33-debian-install-bash-prompt

    Login as the administrative user that we have created during Debian installation.

    Our minimal Debian 10 server has been installed.

    No comments:

    Post a comment