> [!sub]- [[📌Subscribe & Engage|🧡FREE subscriber-only Products. Subscribe and get a chance to win!]] A [[Debian]] server requires less than 512MB [[RAM]] to operate. A [[Debian]] [[Xfce]] desktop requires less than 1GB [[RAM]] to operate. ## Preparation Because we will be using the [[Debian]] [[ISO]] network installer, Internet access is required. Therefore the [[PC]] used to install [[Debian]] should be physically connected to the [[LAN]] using [[CATx]] cable. Download the latest [[Debian]] [[ISO]] network installer from https://debian.org/download. ![[debian-download-0.png]] Copy the downloaded [[Debian]] [[ISO]] onto the [[Ventoy - Install|Ventoy USB drive]]. Boot the target [[PC]] from the [[Ventoy - Install|Ventoy USB drive]]. <button class="navigate">debian-11.6.0-amd64-netinst.iso</button> ![[debian-ventoy-0.png]] <button class="navigate">Boot in normal mode</button> ![[debian-ventoy-1.png]] ## Installation <button class="navigate">Graphical Install</button> ![[debian-install-0.png]] ### Regional Settings <b style="color:#1e90ff; font-size: 18px;">Select Language</b>: `English` <button class="navigate">Continue</button> ![[debian-install-0-0.png]] <b style="color:#1e90ff; font-size: 18px;">Select Location</b>: `United Kingdom` <button class="navigate">Continue</button> ![[debian-install-0-1.png]] <b style="color:#1e90ff; font-size: 18px;">Select Keyboard</b>: `American English` - select the most appropriate value based on keyboard layout <button class="navigate">Continue</button> ![[debian-install-0-2.png]] ### System Settings <b style="color:#1e90ff; font-size: 18px;">Hostname</b>: `debian` - use only numbers, dash (`-`) and English lowercase letters <button class="navigate">Continue</button> ![[debian-install-1-0.png]] <b style="color:#1e90ff; font-size: 18px;">Domain Name</b>: `local` - this is the [[LAN]] [[TLD]] to differentiate from official [[TLD]]s (alternatives `lan`, `home`) <button class="navigate">Continue</button> ![[debian-install-1-1.png]] ### Account Settings <b style="color:#1e90ff; font-size: 18px;">Root Password</b>: `password` - `root` user password - **THE MOST** important password to remember <button class="navigate">Continue</button> ![[debian-install-1-2.png]] <b style="color:#1e90ff; font-size: 18px;">Account User Name</b>: `User` - this is a cosmetic name used for display purposes only <button class="navigate">Continue</button> ![[debian-install-1-3.png]] <b style="color:#1e90ff; font-size: 18px;">Account Username</b>: `user` - this username is used to login to the system, similar to `root` - suggestion to only use English alphabet lowercase letters, and optionally numbers <button class="navigate">Continue</button> ![[debian-install-1-4.png]] <b style="color:#1e90ff; font-size: 18px;">Account Password</b>: `password` - the password for the `user` above (under <b style="color:#1e90ff; font-size: 18px;">Account Username</b>) <button class="navigate">Continue</button> ![[debian-install-1-5.png]] ### Disk Settings <b style="color:#1e90ff; font-size: 18px;">Force UEFI Installation?</b>: <code style="color:#ffffff">Yes</code> - prompt comes up because we are using [[Ventoy]] for the installation <button class="navigate">Continue</button> ![[debian-install-2.png]] <b style="color:#1e90ff; font-size: 18px;">Disk Partitioning Method</b>: <code style="color:#ffffff">Guided - use entire disk</code> - choose any other option only if you understand what you are doing <button class="navigate">Continue</button> ![[debian-install-2-0.png]] <b style="color:#1e90ff; font-size: 18px;">Select Disk</b>: - select from the disk or any of the disks listed <button class="navigate">Continue</button> ![[debian-install-2-1.png]] <b style="color:#1e90ff; font-size: 18px;">Disk Partition Scheme</b>: <code style="color:#ffffff">All files in one partition</code> - choose any other option only if you understand what you are doing <button class="navigate">Continue</button> ![[debian-install-2-2.png]] <b style="color:#1e90ff; font-size: 18px;">Disk Partition Confirmation</b>: <code style="color:#ffffff">Finish partitioning and write changes to disk</code> <button class="navigate">Continue</button> ![[debian-install-2-3.png]] <b style="color:#1e90ff; font-size: 18px;">Write Changes to Disks</b>: <code style="color:#ffffff">Yes</code> <button class="navigate">Continue</button> ![[debian-install-2-4.png]] Base System Installation starts and copies files from the downloaded [[ISO]] image (not from the Internet). ![[debian-install-5.png]] ### Package Manager Second phase starts with selection of where and what additional software (packages) we want to install. This stage requires Internet access. Note, software (packages) can be added at any time, following a basic installation of [[Debian]]. <b style="color:#1e90ff; font-size: 18px;">Scan more media</b>: <code style="color:#ffffff">No</code> <button class="navigate">Continue</button> ![[debian-install-5-0.png]] <b style="color:#1e90ff; font-size: 18px;">Package Manager Location</b>: <code style="color:#ffffff">United Kingdom</code> - change to suit your location <button class="navigate">Continue</button> ![[debian-install-5-1.png]] <b style="color:#1e90ff; font-size: 18px;">Package Manager Archive</b>: <code style="color:#ffffff">deb.debian.org</code> - the location where packages will be installed from <button class="navigate">Continue</button> ![[debian-install-5-2.png]] <b style="color:#1e90ff; font-size: 18px;">HTTP Proxy</b>: - leave empty, unless you must use an egress proxy <button class="navigate">Continue</button> ![[debian-install-5-3.png]] First the package manager updates the package library. This is equivalent to `apt update`. ![[debian-install-5-4.png]] Following package library update, the package manager starts package installation (based on already up to date information in the package library), first by downloading the packages from `deb.debian.org`, then installing them in the system. This is equivalent to `apt upgrade`. ![[debian-install-5-5.png]] <b style="color:#1e90ff; font-size: 18px;">Package Usage Telemetry</b>: <code style="color:#ffffff">Yes</code> - no tracking, just useful stats collected anonymously, on what packages are downloaded - safe to enable <button class="navigate">Continue</button> ![[debian-install-5-6.png]] ### Software Selection Only select the following. The rest can be installed at a later time when we are ready to assign an operational role to this system. We might decide to install a desktop [[GUI]], turn it to a server with no-[[GUI]] or a server with a [[GUI]]. <b style="color:#1e90ff; font-size: 18px;">SSH Server</b>: <code style="color:#ffffff">Enable</code> <b style="color:#1e90ff; font-size: 18px;">Standard System Utilities</b>: <code style="color:#ffffff">Enable</code> <button class="navigate">Continue</button> ![[debian-install-5-7.png]] Installation complete. Remove the [[Ventoy]] drive. <button class="navigate">Continue</button> ![[debian-install-5-8.png]]