GLORYSmart Safe Client

Debian 13 from scratch

Write the USB drive with Rufus and install Debian 13 without a desktop on an Intel or AMD computer, ready for the Smart Safe Client.

This page installs Debian 13 on an Intel or AMD computer (for example, a mini PC) without a desktop: only the minimum, with SSH access so you can work from your laptop. The Smart Safe Client installer later adds the minimal graphical part that kiosk mode needs.

First time with Linux?

The words with a link are explained in the Linux glossary

1. Download Debian 13

On your Windows computer, open the official page of the netinst image (in English it is called “Installing Debian via the Internet”): debian.org/distrib/netinst

Under Small CDs or USB sticks, click amd64 (64-bit PC, Intel or AMD). The image downloads: the file name ends in amd64-netinst.iso. See System image

2. Write the USB drive with Rufus

The USB drive is erased

Writing it erases everything on the USB drive. Use one of 8 GB or more, with nothing important on it.

Download Rufus from rufus.ie, connect the USB drive and open Rufus.

Fill in the fields. Rufus appears in the language of Windows; here are the names in English:

FieldWhat to choose
DeviceThe USB drive.
Boot selectionTap SELECT and choose the Debian .iso file you downloaded.
Partition schemeGPT. Use MBR only if the computer is very old and does not boot with GPT. See BIOS and UEFI

Leave the rest as it is.

Rufus with the USB drive, the Debian 13 image, the GPT partition scheme and the UEFI target system

Tap START. If Rufus asks to download additional files, accept. If it asks you to choose between ISO Image mode and DD Image mode, leave the recommended one: ISO Image mode (do not use DD Image mode). Accept the warning that the USB drive will be erased.

Rufus warning “ISOHybrid image detected” with ISO Image mode (Recommended) selected

Wait for it to finish: 5 to 15 minutes, depending on the USB drive.

3. Boot from the USB drive

Connect the USB drive to the computer where you are going to install Debian. Also connect the network cable, the keyboard and the monitor.

Turn the computer on and press the boot menu key several times: the most common ones are F12, F11 and Esc, depending on the manufacturer. On some computers, you choose the USB drive in the setup, which opens with F2 or Delete when you turn the computer on.

Choose the USB drive. If it appears twice, choose the one that starts with UEFI. If none of them says UEFI, write the USB drive again with the MBR scheme.

4. Install Debian

In the USB drive's menu, choose Graphical install.

Language: English - English. Country: the customer's, for example Panama; if it is not in the list, choose other and look for it by continent. Keyboard: the computer's, for example Latin American.

The language you choose here is the one the Smart Safe Client uses when it starts.

Network: with the cable connected, it configures itself. If it asks which one is the primary network interface, choose the cable one (its name starts with en). If the network fails, the installer goes back to its menu: check the cable and choose to retry network autoconfiguration.

Hostname: debian-ss2. Domain name: leave it empty.

Root password: leave it empty (do not type anything) and continue, also in the confirmation. That way the user becomes an administrator with sudo

If you typed a root password

The glory user does not become an administrator and cannot use sudo. Fix it by following the “sudoers” warning in sudo

User: full name glory, username glory and the technical team's standard password (twice).

Disk: choose the guided option that uses the entire disk, then the computer's disk (not the USB drive), all files in one partition, and confirm that you want to write the changes to disks.

The whole disk is erased

Everything that was on the computer's disk is erased. Make sure you chose the computer's disk and not the USB drive.

Package manager: if it asks about extra installation media, answer No. For the mirror, choose the country and leave deb.debian.org. Leave the proxy empty. If it asks about the package usage survey, answer No.

Software selection (very important):

  • Uncheck “Debian desktop environment” and “GNOME”.
  • Leave checked only “SSH server” and “standard system utilities”.

No desktop, on purpose

The computer does not need a desktop. The Smart Safe Client installer adds only the graphical part that kiosk mode uses. With “SSH server” checked, you can continue from your laptop over SSH

Boot loader (GRUB): answer Yes and install it on the computer's disk (not on the USB drive).

When it finishes, remove the USB drive and continue: the computer restarts.

5. Log in for the first time

The computer starts on a black screen with text: it is the Debian terminal, with no desktop. This is normal.

Where it says debian-ss2 login:, type glory and press Enter.

Type the standard password and press Enter. Nothing appears while you type it: this is normal.

From here on you can also work from your laptop: see Remote access over SSH

6. Check the computer

Run these commands one at a time. If any of them fails, fix it before you go on.

To checkCommandWhat must appear
The networkip aAn inet line with an address, for example inet 192.168.0.50/24. See ip
Internetping -c 3 1.1.1.13 received. See ping
Remote accesssystemctl status sshactive (running). Press q to go back. See systemctl
The date and timedateThe local date and time. See date

Then install curl and test the GLORY server:

sudo apt update && sudo apt install -y curl
curl -fsS https://api.smartsafe2.com/health

A response that starts with {"success":true,"data":{"status":"ok" must appear. See curl

Do not use ping with the GLORY server

The api.smartsafe2.com server does not answer ping, even when it works fine. To test it, always use the curl command above.

If the time is wrong, fix it before you install and activate the license: if the clock later goes back more than 5 minutes, the license warns “System time manipulation detected”. Set the country's time zone and automatic time (see timedatectl):

sudo timedatectl set-timezone America/Panama
sudo timedatectl set-ntp true

Replace America/Panama with the time zone of the customer's country.

If the computer changes networks

Prepare the computer with a cable. If you prepare it in one place (for example, the lab) and it then goes to the customer, connect the customer's network after you install the Smart Safe Client: in the Smart Safe Client, Settings › Network › Connections, or in the terminal with sudo nmtui (see nmtui)

Next step

The computer is ready. Continue with 3. Install on Linux

On this page