1
1
Fork
You've already forked bootstrap-computer
0
Script for automating many of the (my) common tasks whenever starting with a fresh OS installation or new computer.
  • Shell 100%
2026年06月21日 09:53:55 +03:00
bootstrap.sh add rclone package 2026年06月21日 09:53:55 +03:00
README.md add newgrp commands for resetting/refreshing group membership 2025年09月18日 00:28:43 +03:00

Bash script for Bootstrapping a (new) Computer

About

  • This script automates many of my tasks whenever starting with a fresh Debian based OS installation.
  • It is tailored to my use, but can act as a reference for others to adopt and adapt as their own (kind of like when sharing ones dotfiles).
  • Some stages are conditional based on the Desktop Environment (Gnome/KDE/Xfce).

Prerequisite

  1. Login as root: su -l root
  2. Add ones regular user to sudo group: usermod -aG sudo <USERNAME>
  3. Refresh group with: newgrp sudo

Usage

  1. Refresh sudo priveleges: sudo true (prevents sudo: a password is required error).
  2. Run with ones regular user: ./bootstrap.sh (do not run with sudo, since certain tasks rely on the $USER variable).