rss logo

How to install Debian GNU/Linux quickly

Debian logo

In this article, we'll look at how to install Debian with the default settings. We won't get bogged down in specific settings. The aim here is to get a GNU/Linux operating system up and running as quickcly as possible.

Configuration

  • OS: Debian 10

Download netinstall ISO

debian netinstall download page

Platforms

Installation on a Physical Computer

Create boot media

  • From GNU/Linux you can use dd tool (⚠️ Set the correct USB device. Use fdisk -l. Here with /dev/sde USB device.) :
root@host:~# dd if=debian-10.5.0-amd64-netinst.iso of=/dev/sde bs=8M
  • Or even simpler: burn a cd
  • See your manufacturer's boot options. For example, for Dell workstations, press F12 during startup.

Install on VMware

  • To boot from ISO media, we need to modify the Virtual Machine parameters:
VMware vcsa 6.5 edit settings
  • In the VM Options tab, expand Boot Options and check the During the next boot….
VMware vcsa 6.5 edit settings
  • From the VMware Remote Console, go to VMRC > Removable Devices > CD/DVD drive 1 > Connect to Disk Image File (iso)… and select the netinstall iso:
VMware Remote Console connecting ISO
  • Still from the VMware Remote Console, go to VMRC > Power > Restart Guest:
VMware Remote Console restarting guest
  • Select the CDROM Drive and press enter:
VMware EFI options

Install on Hyper-V

  • From the Virtual Machine, go to File > Settings...:
Hyper-V File menu

If missing add CD-ROM drive

  • Select SCSI Controller then DVD Drive and click on the Add button:
Hyper-V VM Settings menu

⚠️ in a generation 2 Virtual Machine, don't forget to disable secure boot.

Hyper-V VM Settings menu

Mount ISO

  • Select DVD Drive then Image File and click on the Browse button to mount the ISO file:
Hyper-V VM Settings menu
  • Start the Virtual Machine.

Installation

  • From the Debian Installer Menu, we can proceed with the installation. Select Install:
debian netinstall UEFI Installer menu
  • Select a language:
debian netinstall select language
  • Select location:
debian netinstall select your location
  • Configure the keyboard:
debian netinstall configure the keyboard
  • Configure the network. On a dhcp network, simply select your primary network interface:
debian netinstall configure the network debian netinstall dhcp network configuration
  • Configure the hostname:
debian netinstall configure hostname
  • Configure the domain :
debian netinstall configure domain name
  • Set root password :
debian netinstall root password
  • Set up user:
debian netinstall set up user
  • Set user password:
debian netinstall set up user password debian netinstall set up user password
  • Clock configuration:
debian netinstall clock configuration
  • Disk configuration :
debian netinstall disk configuration debian netinstall disk configuration debian netinstall disk configuration debian netinstall disk configuration
  • Configure the Package manager:
debian netinstall configure package manager debian netinstall configure package manager debian netinstall configure package manager
  • Configuring popularity-contest:
debian netinstall configuring popularity-contest
  • Select software, personally I don't use a desktop environment:
debian netinstall software selection
  • But if necessary, select a Debian desktop environment:
debian netinstall software selection
  • Proceed to Installation:
debian netinstall finish installation
  • Restart.

Without desktop environment

debian login prompt

With an desktop environment

debian login prompt

The first things to do

After installation, we have a few things to do.

Network configuration

  • Identify the name of your network interface:
root@host:~# ip link sh debian show network interfaces names
  • Edit /etc/network/interfaces:
auto ens192 iface ens192 inet static address 192.168.1.100 netwmask 255.255.255.0 gateway 192.168.1.254 dns-nameserver 192.168.1.254 debian /etc/network/interface
  • Then restart:
root@host:~# systemctl reboot

Install VMware tools

  • If you're in a VMWare virtual machine, install open-vm-tools to improve performance:
root@host:~# apt install open-vm-tools debian install vmware tools
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Contact :

contact mail address