From 3d1ff926c4d166ca51e33d33af21ca71cb7a0a6e Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Wed, 29 May 2024 15:59:17 +0200 Subject: [PATCH] feat: add required utilities install script --- _requirements.sh | 33 +++++++++++++++++++++++++++++++++ install.sh | 5 +++++ 2 files changed, 38 insertions(+) create mode 100644 _requirements.sh diff --git a/_requirements.sh b/_requirements.sh new file mode 100644 index 0000000..ca4f794 --- /dev/null +++ b/_requirements.sh @@ -0,0 +1,33 @@ +# Install nala +apt update +apt upgrade -y +apt install -y nala f + +# Install base utilities +echo "[server_config] > Installing required utilities (base)" +nala install -y \ + curl \ + unzip \ + ffmpeg \ + +# Install admin-sys utilities +echo "[server_config] > Installing required utilities (admin-sys)" +nala install -y \ + lsb-release \ + nmap \ + xxd \ + +# Install comfort utilities +echo "[server_config] > Installing required utilities (comfort)" +nala install -y \ + bat \ + fzf \ + tmux \ + tmate \ + +# Install really necessary utilities +echo "[server_config] > Installing required utilities (really necessary)" +nala install -y \ + cmatrix \ + cowsay \ + sl \ diff --git a/install.sh b/install.sh index afeebcb..ce5f385 100644 --- a/install.sh +++ b/install.sh @@ -1,3 +1,8 @@ +# Install requirements +echo "[server_config] > Installing required utilities" +source ./_requirements.sh + +# Install services APPS=$@ if [[ $1 == "*" && $# -eq 1 ]]; then