[WIP] Add some additional bits to debain server install

master
Nathan Steel 5 years ago
parent c85ad5cc65
commit 92773bf7bc

@ -10,6 +10,7 @@ apt install wget curl -y # zsh
# Firewall # Firewall
systemctl --now enable ufw # Should be automatic, but in case systemctl --now enable ufw # Should be automatic, but in case
ufw enable
ufw default deny incoming ufw default deny incoming
ufw default allow outgoing ufw default allow outgoing
@ -18,3 +19,12 @@ ufw allow 22 # Allow SSH port
# Filesystems # Filesystems
apt install cifs-utils -y apt install cifs-utils -y
# Tools
apt install gzip zip tar -y
apt install rsync -y
# For laptops
# Prevent the laptop from shutting down when the lid is down
sudo sh -c 'echo "HandleLidSwitch=ignore" >> /etc/systemd/logind.conf' && sudo shutdown -r now

Loading…
Cancel
Save