Repository

Looks good to me!

User Tools

Site Tools


kb:intranet:platforms:debian:start

Debian

Changelog

  • 2024-03-08: Init for Debian 12.5

Documenting a secure-ish installation of Debian, with partial references to the Debian security manual.

During installation, note the initial IP address (ip a) and available network services (lsof -nPi). Typically should only have DHCP (86/udp) and SSH (22/tcp) after installation.

Typical binaries

Initialization

Very straightforward.

/etc/ssh/sshd_config
PermitRootLogin no
user:~$ touch .hushlogin
user:~$ su -
root:~# apt install vim ufw nginx htop
root:~# ufw allow 22/tcp
root:~# ufw allow 80/tcp
root:~# ufw allow 443/tcp
root:~# ufw deny to 224.0.0.1
root:~# ufw enable
root:~# >/etc/motd

For LXCs

apt update && apt upgrade
apt install -y curl vim htop
kb/intranet/platforms/debian/start.txt · Last modified: 4 months ago ( 5 August 2024) by justin