3ea4f0c1ae0df891bf519c60a757564f9152961b
AWSDS - Automated Web Server Deployment Script
A bash script to automatically set up a secure web server with SSL certificates on Debian.
Features
- Automated NGINX installation and configuration
- SSL certificate automation with acme.sh
- Professional portfolio webpage template
- Automatic security hardening
- Scheduled certificate renewal
- System optimization for performance
Prerequisites
- Debian 12 or later
- Root or sudo privileges
- Domain name pointing to your server's IP address
Usage
curl -s https://github.com/xixu-me/AWSDS/raw/main/setup.sh | bash -s <username> <domain> <id>
Replace the following:
<username>: Your system username<domain>: Your domain name<id>: A unique identifier for security settings
What Gets Installed
- NGINX web server
- SSL certificate management tools
- Cron jobs for automated maintenance
- Basic security configurations
- Sample portfolio website
Default Web Template
The script includes a responsive portfolio template featuring:
- Professional layout
- About section
- Projects showcase
- Skills display
- Contact form
- Mobile-friendly design
Security Features
- TLS 1.2/1.3 support
- Automatic certificate renewal
- HTTP to HTTPS redirection
- HSTS implementation
- Private IP filtering
- Security headers
Maintenance
Certificates will automatically renew monthly. No manual intervention required.
Disclaimer
- This repository is strictly for educational and research purposes.
- Use at your own risk. The repository assumes no responsibility for potential issues.
- No guarantee of accuracy, completeness, or reliability.
- Not liable for data loss or damages.
- Ensure compliance with relevant licenses and legal regulations.
- No endorsement of third-party hardware/software.
- User modifications are their own responsibility.
- Terms may change at any time. By using this repository, you agree to these terms.
License
Copyright © 2025 Xi Xu. All rights reserved.
Licensed under the GPL-3.0 license.
Description
Comprehensive setup script for deploying a secure server environment
89 KiB
0 Stars
1 Watchers
0 Forks
Languages
HTML
55.2%
Shell
44.8%