How to Install Debian Step-by-Step?

Learn how to install Debian step-by-step with this comprehensive guide. Follow the instructions to set up Debian on your system hassle-free.

How to Install Debian Step-by-Step?

Installing Debian involves several steps, including preparing your installation media, configuring your system, and completing the installation process. Here's a step-by-step guide:

1. Prepare Installation Media

  1. Download Debian ISO:

    • Visit the Debian website and download the appropriate ISO file for your system (e.g., Debian 12.x "Bookworm").
  2. Create Bootable USB Drive:

    • Use a tool like Rufus (Windows), balenaEtcher (Windows/Mac/Linux), or the dd command (Linux) to create a bootable USB drive with the downloaded ISO file.

2. Boot from Installation Media

  1. Insert the USB Drive:

    • Insert the bootable USB drive into your computer.
  2. Restart Your Computer:

    • Reboot your computer and enter the BIOS/UEFI settings (usually by pressing a key like F2, F12, Esc, or Del during startup).
  3. Set Boot Order:

    • Change the boot order to boot from the USB drive.
  4. Save and Exit:

    • Save your changes and exit the BIOS/UEFI settings.

3. Start the Installation

  1. Select Install Option:

    • When the Debian installer menu appears, select Install or Graphical Install.
  2. Select Language:

    • Choose your preferred language.
  3. Select Location:

    • Choose your country or region.
  4. Configure Keyboard:

    • Select your keyboard layout.

4. Configure Network

  1. Hostname:

    • Enter a hostname for your system (e.g., debian).
  2. Domain Name:

    • If you are part of a domain, enter the domain name; otherwise, you can leave it blank.
  3. Network Configuration:

    • Configure your network settings (usually DHCP will auto-configure).

5. Set Up Users and Passwords

  1. Root Password:

    • Enter a strong password for the root user.
  2. Create a User:

    • Enter the full name and username for a new user account.
  3. User Password:

    • Enter a strong password for the new user account.

6. Partition Disks

  1. Partitioning Method:

    • Choose a partitioning method (Guided - use entire disk is the easiest).
  2. Select Disk:

    • Select the disk to partition.
  3. Partition Scheme:

    • Choose a partition scheme (All files in one partition is the simplest).
  4. Write Changes:

    • Confirm to write changes to the disk.

7. Install Base System

  1. Base System Installation:
    • The installer will install the base system. This process may take some time.

8. Configure Package Manager

  1. Scan Another CD/DVD:

    • If you have additional CDs/DVDs, you can scan them; otherwise, select No.
  2. Debian Archive Mirror:

    • Select a Debian archive mirror country and server.
  3. HTTP Proxy:

    • If you use a proxy, enter the proxy information; otherwise, leave it blank.

9. Install Software

  1. Popularity Contest:

    • Choose whether to participate in the package usage survey.
  2. Software Selection:

    • Select the software you want to install (e.g., Debian desktop environment, web server, SSH server, etc.).

10. Install GRUB Boot Loader

  1. Install GRUB:

    • Choose Yes to install the GRUB boot loader.
  2. Select Device:

    • Choose the device to install the boot loader (usually the primary disk).

11. Finish Installation

  1. Complete Installation:

    • Once the installation is complete, select Continue to reboot the system.
  2. Remove Installation Media:

    • Remove the USB drive when prompted.

12. First Boot

  1. Login:
    • After the system reboots, log in with the user account you created during the installation.

Congratulations! You have successfully installed Debian on your computer.

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow