Initial commit

This commit is contained in:
dbildhauer committed 2026-09-27 18:31:39 +02:00
1 parent cb3ea938ed
commit ab3bf143a9
12 files changed
+260 -32

No files matched your search

+18 -32
View File
@@ -2,39 +2,25 @@
set -e set -e
PROJECT="$HOME/Projekte/debian13-admin-workstation" PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "======================================================"
echo " Debian 13 Admin Workstation Bootstrap"
echo "======================================================"
echo echo
echo "[1/6] Basispakete installieren..." echo "=============================================="
bash "$PROJECT/scripts/install-base.sh" echo " Debian 13 XFCE Admin Workstation Installer"
echo "=============================================="
echo
for script in "$PROJECT_DIR"/install/*.sh
do
echo
echo "=============================================="
echo "==> $(basename "$script")"
echo "=============================================="
bash "$script"
done
echo echo
echo "[2/6] Dotfiles wiederherstellen..." echo "=============================================="
bash "$PROJECT/scripts/restore-dotfiles.sh" echo " Installation abgeschlossen!"
echo " Bitte einmal neu starten."
echo echo "=============================================="
echo "[3/6] Bash neu laden..."
source "$HOME/.bashrc" || true
echo
echo "[4/6] tmux neu laden..."
tmux source-file "$HOME/.tmux.conf" 2>/dev/null || true
echo
echo "[5/6] Git-Version"
git --version
echo
echo "[6/6] Fastfetch"
fastfetch
echo
echo "======================================="
echo "Bootstrap abgeschlossen."
echo "Bitte einmal neu anmelden."
echo "======================================="
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
echo "Aktualisiere Paketlisten..."
sudo apt update
echo "Installiere Updates..."
sudo apt full-upgrade -y
+33
View File
@@ -0,0 +1,33 @@
#!/usr/bin/env bash
set -e
echo "==> Installiere Basispakete..."
sudo apt install -y \
git \
curl \
wget \
unzip \
zip \
tree \
htop \
btop \
ncdu \
fastfetch \
tmux \
starship \
filezilla \
remmina \
thunderbird \
nextcloud-desktop \
mousepad \
geany \
geany-plugins \
xclip \
xsel \
openssh-client \
ca-certificates \
gnupg \
software-properties-common \
apt-transport-https
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/env bash
set -e
echo "==> Installiere XFCE..."
sudo apt install -y \
task-xfce-desktop \
xfce4 \
xfce4-goodies \
xfce4-terminal \
thunar \
thunar-archive-plugin \
thunar-volman \
gvfs \
gvfs-backends \
gvfs-fuse \
tumbler \
ristretto \
xfce4-screenshooter \
lightdm \
network-manager-gnome \
policykit-1 \
papirus-icon-theme \
arc-theme \
fonts-noto \
fonts-noto-color-emoji
echo "==> XFCE installiert."
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -e
echo "==> Installiere XRDP..."
sudo apt install -y \
xrdp \
xorgxrdp
echo "==> Aktiviere Dienste..."
sudo systemctl enable xrdp
sudo systemctl restart xrdp
echo "==> Füge xrdp zur ssl-cert Gruppe hinzu..."
sudo adduser xrdp ssl-cert || true
echo "==> XRDP installiert."
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -e
echo "==> Installiere Brave Browser..."
if [ ! -f /usr/share/keyrings/brave-browser-archive-keyring.gpg ]; then
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg \
https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
fi
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com stable main" | \
sudo tee /etc/apt/sources.list.d/brave-browser-release.list >/dev/null
sudo apt update
sudo apt install -y brave-browser
echo "==> Brave erfolgreich installiert."
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
echo "==> Installiere Thunderbird..."
sudo apt update
sudo apt install -y thunderbird
echo "==> Thunderbird erfolgreich installiert."
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
echo "==> Installiere Nextcloud Desktop..."
sudo apt update
sudo apt install -y nextcloud-desktop
echo "==> Nextcloud Desktop erfolgreich installiert."
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -e
echo "==> Installiere NetBird..."
curl -fsSL https://pkgs.netbird.io/install.sh | sh
echo
echo "=============================================="
echo "NetBird wurde installiert."
echo
echo "Jetzt anmelden mit:"
echo
echo " netbird up"
echo
echo "Oder bei einem Self-Hosted-Server:"
echo
echo " netbird up --management-url https://DEINE-DOMAIN"
echo
echo "=============================================="
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
set -e
echo "==> Installiere Terminal-Tools..."
sudo apt update
sudo apt install -y \
tmux \
fastfetch \
btop \
htop \
tree \
ncdu \
bat \
eza \
ripgrep \
fd-find \
fzf \
zoxide \
xclip \
xsel
echo "==> Installiere Starship..."
if ! command -v starship >/dev/null 2>&1; then
curl -sS https://starship.rs/install.sh | sh -s -- -y
fi
echo "==> Terminal-Tools erfolgreich installiert."
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
set -e
PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
DOTFILES_DIR="$PROJECT_DIR/dotfiles"
echo "==> Installiere Dotfiles..."
mkdir -p "$HOME/.config"
# Bash
if [ -f "$DOTFILES_DIR/.bashrc" ]; then
cp "$DOTFILES_DIR/.bashrc" "$HOME/.bashrc"
fi
# Git
if [ -f "$DOTFILES_DIR/.gitconfig" ]; then
cp "$DOTFILES_DIR/.gitconfig" "$HOME/.gitconfig"
fi
# tmux
if [ -f "$DOTFILES_DIR/.tmux.conf" ]; then
cp "$DOTFILES_DIR/.tmux.conf" "$HOME/.tmux.conf"
fi
# komplette .config
if [ -d "$DOTFILES_DIR/.config" ]; then
cp -a "$DOTFILES_DIR/.config/." "$HOME/.config/"
fi
echo "==> Dotfiles erfolgreich installiert."
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env bash
set -e
echo "==> Bereinige System..."
sudo apt autoremove -y
sudo apt autoclean
sudo apt clean
echo "==> Aktualisiere Font-Cache..."
fc-cache -fv >/dev/null 2>&1 || true
echo "==> Aktualisiere Desktop-Datenbank..."
update-desktop-database "$HOME/.local/share/applications" 2>/dev/null || true
echo "=============================================="
echo "Installation erfolgreich abgeschlossen."
echo
echo "Bitte jetzt einmal neu starten:"
echo
echo " sudo reboot"
echo
echo "=============================================="