feat: add required utilities install script
This commit is contained in:
parent
6bc7ff1b61
commit
3d1ff926c4
33
_requirements.sh
Normal file
33
_requirements.sh
Normal 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 \
|
|
@ -1,3 +1,8 @@
|
||||||
|
# Install requirements
|
||||||
|
echo "[server_config] > Installing required utilities"
|
||||||
|
source ./_requirements.sh
|
||||||
|
|
||||||
|
# Install services
|
||||||
APPS=$@
|
APPS=$@
|
||||||
|
|
||||||
if [[ $1 == "*" && $# -eq 1 ]]; then
|
if [[ $1 == "*" && $# -eq 1 ]]; then
|
||||||
|
|
Loading…
Reference in a new issue