59 lines
1.5 KiB
Bash
59 lines
1.5 KiB
Bash
# Install nala
|
|
apt update
|
|
apt upgrade -y
|
|
apt install -y nala # Good front-end for "apt-*" cli
|
|
|
|
# Install base utilities
|
|
echo "[server_config] > Installing required utilities (base)"
|
|
nala install -y \
|
|
curl \
|
|
unzip \
|
|
ffmpeg \
|
|
systemctl \
|
|
wget \
|
|
gpg \
|
|
|
|
# Install admin-sys utilities
|
|
echo "[server_config] > Installing required utilities (admin-sys)"
|
|
nala install -y \
|
|
lsb-release \
|
|
nmap \
|
|
xxd \
|
|
inxi \
|
|
# nmap (network viewer/utility)
|
|
# xxd (bin to hexa etc...)
|
|
# inxi (system/hardware config viewer)
|
|
|
|
# Install comfort utilities
|
|
echo "[server_config] > Installing required utilities (comfort)"
|
|
nala install -y \
|
|
bat \
|
|
btop \
|
|
fzf \
|
|
tmux \
|
|
tmate \
|
|
# bat (better cat)
|
|
# btop (TUI htop alternative)
|
|
# fzf (fuzzy finder)
|
|
# tmux (terminal multiplexer)
|
|
# tmate (tmux over ssh)
|
|
|
|
# Install zoxide through webinstall (see zoxide install instruction on debian)
|
|
curl -sS https://webi.sh/zoxide | sh
|
|
# zoxide (smartter cd)
|
|
|
|
# Install really necessary utilities
|
|
echo "[server_config] > Installing required utilities (really necessary)"
|
|
nala install -y \
|
|
cmatrix \
|
|
cowsay \
|
|
sl \
|
|
|
|
# Install useful deb installer
|
|
echo "[server_config] > Installing required utilites (useful .deb installer)"
|
|
# Classic install is broken
|
|
# curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | bash -s install deb-get
|
|
DEB_GET_PATH=/usr/local/bin/deb-get
|
|
echo -e '#!/bin/bash\ncurl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | bash -s $@' > $DEB_GET_PATH
|
|
chmod +x $DEB_GET_PATH
|