From 2b3ee2bdc88edef9e3aee847c8b977ed8a432785 Mon Sep 17 00:00:00 2001 From: beech Date: Sun, 1 Sep 2024 20:16:02 -0500 Subject: [PATCH] Server setup --- setup-server.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 setup-server.sh diff --git a/setup-server.sh b/setup-server.sh deleted file mode 100644 index d08bb28..0000000 --- a/setup-server.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# Placeholder - -echo "-------------------------------------------------" -echo "Setting Up Server" -echo "-------------------------------------------------" - -# Install sudo -apt update -apt install sudo -yy - -# Find the standard user you created during installation and make it a variable -user=$(getent passwd 1000 | awk -F: '{ print $1}') - -# Echo the user into the sudoers file -echo "$user ALL=(ALL:ALL) ALL" >> /etc/sudoers - -echo "-------------------------------------------------" -echo "Installed Sudo" -echo "-------------------------------------------------" - -# Install UFW -sudo apt install ufw -sudo ufw allow ssh -sudo ufw enable - -# Install Apps -sudo apt install git curl -yy - -echo "-------------------------------------------------" -echo "Setup complete." -echo "-------------------------------------------------" \ No newline at end of file