Skip to content

Instantly share code, notes, and snippets.

View bazluu's full-sized avatar

Luca bazluu

View GitHub Profile
@bazluu
bazluu / fresh_server_debian.sh
Last active January 13, 2026 17:12
Debian server configuration and hardening script
# Packages remove
apt purge \
ed nano \
x11-common xauth libx11-* gdm3 lightdm \
apache2 \
exim4 postfix sendmail \
perl python2 python3-minimal ruby \
snapd \
cloud-init \
avahi-daemon \
@bazluu
bazluu / fresh_server_ubuntu.sh
Last active January 7, 2026 11:00
Ubuntu server configuration and hardening script
# Packages remove
apt purge \
ed nano \
x11-common xauth libx11-* gdm3 lightdm \
apache2 \
exim4 postfix sendmail \
perl python2 python3-minimal ruby \
snapd \
cloud-init \
avahi-daemon \