You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
479 B
Bash
21 lines
479 B
Bash
#!/bin/bash
|
|
|
|
# Download Debian
|
|
# Do an install, selecting only the ssh option within tasksel
|
|
# Execute this scripts as root ($ su -)
|
|
|
|
apt update && upgrade -y
|
|
apt install perl sudo tmux vim htop neofetch build-essential openssh-server ufw -y
|
|
apt install wget curl -y # zsh
|
|
|
|
# Firewall
|
|
systemctl --now enable ufw # Should be automatic, but in case
|
|
ufw default deny incoming
|
|
ufw default allow outgoing
|
|
|
|
# SSH
|
|
ufw allow 22 # Allow SSH port
|
|
|
|
# Filesystems
|
|
apt install cifs-utils -y
|