Firstly, download:
Debian.iso 12.8.0
https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-12.8.0-amd64-DVD-1.iso
alternate link: https://ncloud.dssl.ru/s/yB9otbNteqmtMNp
Required files for TRASSIR daemon installation will be provided by TRASSIR technical specialist
Installing OS Debian:
- Flash the USB drive with Debian .iso
- Plug it in the the Server, boot from it and start the installation
- During the installation of Debian, select SSH server and standard system untilities
Don't choose anything apart of "SSH server" and "standard system untilities"!
Like this:
Since some dependencies for TRASSIR software will be installed from that USB.
Setting up user rights after installing Debian
There are two options:
I. Via single command:
Enable ssh on Debian for root:
sudo sed -i '/^#.*PermitRootLogin prohibit-password/s/^#//' /etc/ssh/sshd_config systemctl restart ssh
II. Manual editing:
Enable file editing for the user created during installation:
su root nano /etc/sudoers
In the file, under the root user line, add:
user_name ALL=(ALL) ALL
user_name - the user name specified during system installation.
An example with user "test"
A result example of file content (possible to check via "cat /etc/ssh/sshd_config"):
If you did not install SSH during system installation, install it manually:
sudo apt update sudo apt install openssh-server