Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 

Repository files navigation

💻 Automated Linux Desktop Setup Script (Ubuntu/Debian)

🎯 Project Goal: Foundational Automation and Resilience

This project contains a robust Bash script that automates the initial setup of a Linux desktop environment.

It handles system updates, package installation, user onboarding, and basic UFW firewall hardening. The goal of this project is to build a solid foundation in Linux administration and automation, while preparing for more advanced tools like Ansible and DevOps workflows.


🔧 What This Script Automates

Feature Key Function & Resilience Demonstrated
1️⃣ System Preparation Validates root access, updates & upgrades the system, and installs essential tools silently.
2️⃣ Package Verification Each installed application is checked using dpkg -s to ensure accurate reporting and prevent silent installation failures.
3️⃣ User Onboarding Creates a new user, sets password, adds user to the sudo group, and validates that privilege assignment succeeded using resilience checks.
4️⃣ Security Baseline Uses UFW to deny incoming traffic, allow outgoing, and allow SSH access, providing a minimal secure configuration.

📦 Usage

Prerequisites

  • Ubuntu or Debian system
  • Internet access
  • Run as root or with sudo

Execution

chmod +x setup.sh
sudo ./setup.sh

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.