Script for automating many of the (my) common tasks whenever starting with a fresh OS installation or new computer.
- Shell 100%
| bootstrap.sh | add rclone package | |
| README.md | add newgrp commands for resetting/refreshing group membership | |
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
- Login as root:
su -l root - Add ones regular user to sudo group:
usermod -aG sudo <USERNAME> - Refresh group with:
newgrp sudo
Usage
- Refresh sudo priveleges:
sudo true(preventssudo: a password is requirederror). - Run with ones regular user:
./bootstrap.sh(do not run withsudo, since certain tasks rely on the$USERvariable).