This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# aaPanel Installation Script for Ubuntu with HTTP/2 Support | |
# This script prepares the system and installs aaPanel with necessary development tools | |
set -e # Exit on any error | |
echo "==========================================" | |
echo "aaPanel Installation Script" | |
echo "Preparing system with HTTP/2 support" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# macOS Static DHCP Configuration Script | |
# Description: Configures static DHCP for en30 interface with IP 192.168.9.30 | |
# while preserving existing DHCP configurations | |
# Usage: sudo ./configure-mac-static-dhcp.sh | |
set -e # Exit on any error | |
set -u # Exit on undefined variable | |
# Colors for output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Xubuntu Network Configuration Script | |
# Description: Configures Xubuntu to use macOS as gateway and DNS | |
# Usage: sudo ./setup-xubuntu-network.sh | |
set -e # Exit on any error | |
set -u # Exit on undefined variable | |
# Colors for output | |
RED='\033[0;31m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# macOS NAT Gateway Setup Script | |
# Description: Sets up NAT from en30 (no internet) to en0 (with internet) | |
# Usage: sudo ./setup-mac-nat.sh | |
set -e # Exit on any error | |
set -u # Exit on undefined variable | |
# Colors for output | |
RED='\033[0;31m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# setup-brew-system-user.sh - Complete production-ready setup for _brew system user | |
set -e # Exit on any error | |
set -u # Treat unset variables as error | |
# Colors for output | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' |