Compare commits

...

2 commits

3 changed files with 40 additions and 2 deletions

33
_requirements.sh Normal file
View file

@ -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 \

View file

@ -1,7 +1,7 @@
APPS=$@
if [[ $1 == "*" && $# -eq 1 ]]; then
APPS=$(ls .)
APPS=$(ls -d */)
fi
for app in "$APPS"

View file

@ -1,7 +1,12 @@
# Install requirements
echo "[server_config] > Installing required utilities"
source ./_requirements.sh
# Install services
APPS=$@
if [[ $1 == "*" && $# -eq 1 ]]; then
APPS=$(ls .)
APPS=$(ls -d */)
fi
for app in "$APPS"