Skip to content

Commit 3b776ed

Browse files
committed
updates
1 parent 930c21d commit 3b776ed

10 files changed

+113
-200
lines changed

_posts/2025-04-20-mintyserver-homelab-hardware-overview.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

_posts/2025-04-20-mintyserver-the-rise-of-mintyserver.md

Lines changed: 0 additions & 66 deletions
This file was deleted.
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
---
2+
title: Debian Server Installation Guide
3+
date: 2025-04-22 22:32:52
4+
categories: [Blog]
5+
tags: [homelab, debian]
6+
description: Let's install Debian 12!
7+
---
8+
9+
### What's Debian?
10+
So, if you're new to Linux or even UNIX-like systems in general, you get a pass here. If not... I'd like to see the rock you've been living under.
11+
12+
Debian is a distribution of GNU/Linux, and without going into the fine details about it (which I totally can in a future post if that's your jam) you can think of it as a "flavor" of Linux. It is considered to be a more stable version of Linux, and less prone to breaking, which is perfect for our needs.
13+
14+
## Creating the Bootable Media
15+
There are two paths here for creating bootable media, the first is to use a tool like Rufus or balenaEtcher to format a USB, or use Ventoy. We'll go over both here.
16+
17+
### First Off
18+
Before we even think about making the media, we need the ISO file for it. That can be found [here](https://www.debian.org/download). Once we download the file, we should calculate the checksum and compare it to the one provided by them. If they match, that's great, we have the right one. If they don't match, then that might mean that the image has been tampered with, and it should be immediately reported to the Debian Security Team. They give us the following SHA-512 checksum:
19+
20+
```plaintext
21+
cb089def0684fd93c9c2fbe45fd16ecc809c949a6fd0c91ee199faefe7d4b82b64658a264a13109d59f1a40ac3080be2f7bd3d8bf3e9cdf509add6d72576a79b debian-12.10.0-amd64-netinst.iso
22+
```
23+
So with this, let's put it in a file named `checksums.txt`, and check the SHA-512 output of our ISO file with the `-c ` flag set. That reads from the checksum file provided, and then calculates the checksum of the file on our system.
24+
25+
```terminal
26+
┌─[slavetomints@parrot]─[~]
27+
└──╼ $sha512sum -c checksums.txt
28+
debian-12.10.0-amd64-netinst.iso: OK
29+
```
30+
31+
Sweet, looks like we're all good to continue the process of creating the boot drive
32+
33+
### Rufus / balenaEtcher
34+
So if you just need it the one time, it might be best to just use one of these two programs. Make sure you find a USB stick that can both hold the ISO file, and some extra space. You can download balenaEtcher [here](https://etcher.balena.io/), and Rufus [here](https://rufus.ie/en/). In this guide, I'll go over the steps for balenaEtcher, but the steps for Rufus are very simple as well.
35+
36+
![balenaEtcher](/assets/img/blog/balenaEtcher.png)
37+
38+
First, make sure to pick an empty drive, as the process will wipe everything from the drive. It should auto select your USB if it's the only one you have plugged in, but otherwise you can easily pick the one you want to use.
39+
40+
Next you're going to have to select your ISO, so navigate to the ISO and select it.
41+
42+
![finishing the ISO](/assets/img/blog/dolphinDebianISO.png)
43+
44+
And finally, your screen should look like this:
45+
46+
![balenaEtcher ready to go](/assets/img/blog/balenaReady.png)
47+
48+
Now it's time to let it run. Go get some water, or like touch grass in the meantime.
49+
50+
---
51+
52+
Once it's done, you should see this on your screen:
53+
54+
![balenaEtcher done!](/assets/img/blog/balenaDone.png)
55+
56+
Now you're ready for the next step!
57+
58+
### Ventoy
59+
60+
If you're going to be doing installs of multiple operating systems, like I am, it might get tedious to have to continuously remake a boot drive whenever you need it. This is where Ventoy excels, all you need to do is format the drive once, and the rest is as easy as drag-n-drop. Let's look at that now.
61+
62+
Once you've downloaded Ventoy for your OS, start the program. We're going to be using the GUI version today. Once it loads, you should see this screen:
63+
64+
![](/assets/img/blog/ventoyStart.png)
65+
66+
Click the install button and you're all set! Once it's done, all you need to do is just drag the ISO file you want into the USB, and it'll be there when you are ready to install.
67+
68+
## The Installation
69+
Alright, so our USB drive in hand, we plug it into the computer and reboot into the UEFI. We need to make sure that we're booting into the media we created. Since I used Ventoy, we'll go through that.
70+
71+
Once you boot into Ventoy, it's a pretty easy process to pick the ISO file you want to boot up
72+
73+
From there, we'll select the Debian image that we saved onto there, and then boot it into normal mode.
74+
75+
Finally, we can get started on the actual installation. You should now see this screen:
76+
77+
![](/assets/img/blog/debianInstall.png)
78+
79+
We'll select graphical install to make things simpler for us.
80+
81+
### The Basic Stuff
82+
It's going to ask you a few things right out of the bat, language, location, keyboard layout. That just helps with configuring the computer to work the way you intend for it to work. You don't want it showing the wrong time or sending the wrong keystrokes!
83+
84+
### Network Configuration
85+
After that it'll ask you to set a hostname, which is what the computer calls itself, and can be used to identify it to the network. It is also what you see after the `@` in the terminal prompt.
86+
87+
Next, it'll ask you for a domain name, either you make one up on the spot because you don't need to worry about it, or you set it up based on your homelab/company needs. For example, if the hostname is `debian1`, and you set the domain name to be `homelab.lab`, then the fully qualified domain name (FQDN) for that computer is `debian1.homelab.lab`. For the basic user this doesn't matter, but if you're setting up an homelab you might want to take this into consideration.
88+
89+
### User Access
90+
Now it's time to set up the user accounts, but first we need to set a `root` password. You can think of `root` as the admin account of the system. If you don't set a root password, then the user account will be given the ability to act as admin, and that's a bad practice. The admin account and the user account should always be separated. Make sure to give it a strong password using multiple types of characters.
91+
92+
Once you've done that, it'll ask you for the name, username and password you'd like to use on the system. The name helps to identify who the account belongs to, the username is what the user wants to go by, and make sure to set a strong password.
93+
94+
### Partitioning
95+
Now that the meat and potatoes are out of the way, it'll ask for your timezone, and then about partitioning.
96+
97+
For some people, partitioning is where they get to let their creativity shine, for others it's a terrifying ordeal. Thankfully, there are guided partitioning schemas now, so I'll select the option `Guided - use entire disk and set up encrypted LVM`, that way my data is secure.
98+
99+
Then, select the disk you want to use, if there are multiple, pick the one that's not the USB stick. It'll also ask you if you want to split up the partitions based on different schemas, but I recommend for new users to just select the first option, as it makes things much simpler.
100+
101+
Now, since I selected to use an encrypted disk, I'll also need to set up a password for that. Make sure that it is also strong and complex too.
102+
103+
### Finishing Up
104+
105+
Once it's done and the partitions are the way you like it, go ahead and write the changes to disk!
106+
107+
After that's done it'll begin to install the base OS, and configure the package manager, which you can select the defaults for unless you have special preferences.
108+
109+
Finally, you'll select your desktop environment. By default, it comes with `GNOME`, but I recommend trying out different ones. I personally like `MATE`. But of course, if it's a web server or an SSH server, then you'll probably want that to be headless (without a desktop).
110+
111+
It'll have you install GRUB, which is a bootloader, in order to have you boot up the OS. If you have another OS, it will temporarily make the OS unusable until you configure GRUB later to boot it.
112+
113+
Finally! You're done! Reboot and enjoy your new OS!

0 commit comments

Comments
 (0)