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.
45 lines
958 B
Bash
45 lines
958 B
Bash
# This install script is for a debian based distro
|
|
# Ideally a minimal install (No GUI, or tools installed)
|
|
|
|
# This install will install only tools for CLI use
|
|
# The idea is to have GUI, etc. seperated then called in one 'master' script
|
|
|
|
# Update and Upgrade the system first
|
|
apt update && apt upgrade -y
|
|
|
|
# Install essential tools required for other installs
|
|
apt install sudo build-essential ssh -y
|
|
|
|
# Make the user a sudoer (If passed to the script)
|
|
adduser nathan sudo
|
|
|
|
# System Utilities
|
|
apt install perl wget curl man -y
|
|
|
|
# Make the terminal usable
|
|
apt install tmux -y
|
|
|
|
## Text Editors
|
|
apt install vim -y
|
|
|
|
## Git
|
|
apt install git -y
|
|
|
|
# Compression Utilities
|
|
apt install gzip zip tar bzip2 unrar-free -y
|
|
|
|
# Install terminal system utilities
|
|
apt install htop -y
|
|
|
|
# Backups
|
|
apt install rsync rdiff-backup -y
|
|
|
|
# Firewall
|
|
apt install ufw -y
|
|
systemctl --now enable ufw
|
|
ufw enable
|
|
ufw default deny incoming
|
|
ufw default allow incoming
|
|
ufw allow 22 # Allow SSH
|
|
|