Merge pull request #89 from wickedyoda/macos-update

Macos update
This commit is contained in:
WickedYoda authored and GitHub committed 2026-08-05 13:20:24 -05:00
commit 1e25e36ce6
195 files changed
+152301

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
# debian
<<<<<<< HEAD
## Purpose
This directory contains files related to **debian**.
## Contents
- `debian-setup.sh`
## Usage
- Review each script or configuration file before running
- Some scripts may require **root or sudo**
- Paths and variables may need adjustment for your environment
## Notes
- This folder is part of the **public-setupfiles** repository
- Files are provided as-is for reference or automation
## Safety
Always back up data before running scripts that modify system state.
=======
## Overview
This directory is part of the **public-setupfiles** repository.
It contains scripts, configuration files, or resources related to **debian**.
## Usage
- Review scripts before execution
- Some files may require **root or sudo privileges**
- Paths, variables, or credentials may need customization
## Logging & Output
Scripts may generate logs or output files in the same directory or system locations.
## Safety Notes
- Always back up important data before running scripts
- Test in a non-production environment when possible
- Use at your own risk
---
>>>>>>> main
+51
View File
@@ -0,0 +1,51 @@
#!/bin/bash
# initial install
apt-get update -y
#adding sudo
apt-get install sudo -y
# add traver sudo
adduser traver sudo
# install open-vm-tools
apt-get install open-vm-tools -y
# installing git and wget
sudo apt install git wget -y
# installing cockpit
sudo apt install cockpit -y
sudo apt install python -y
# Check if /home/traver/public-setupfiles exists
if [ -d "/home/traver/public-setupfiles" ]; then
# Change directory to /home/traver/public-setupfiles
cd /home/traver/public-setupfiles
# Stash any local changes
git stash
# Pull the latest changes from the remote repository
git pull
else
# mkdir for git repo
sudo mkdir -p /home/traver/public-setupfiles
cd /home/traver/public-setupfiles
git init
git remote add origin https://github.com/wickedyoda/public-setupfiles
git pull origin main
git checkout main
fi
# Change permissions
sudo chmod +x -R /home/traver/public-setupfiles
# Run full updates first time
sudo /home/traver/public-setupfiles/updates/updates.sh
# Server apps setup
sudo apt-get -y install cockpit samba-common-bin openssh-server smbclient cifs-utils exfat-fuse curl unattended-upgrades cron-apt git curl