diff --git a/README.md b/README.md index 3570bcc..d26e3bc 100644 --- a/README.md +++ b/README.md @@ -13,20 +13,36 @@ A bash script to automatically set up a secure web server with SSL certificates ## Prerequisites -- Debian 12 or later -- Root or sudo privileges +- Debian 10+ 64-bit +- Sudo privileges +- Inbound traffic on TCP ports 80 and 443 from 0.0.0.0/0 allowed - Domain name pointing to your server's IP address ## Usage +Log in as a non-root user and run: + ```bash -curl -s https://github.com/xixu-me/AWSDS/raw/main/setup.sh | bash -s +curl -L https://github.com/xixu-me/AWSDS/raw/main/setup.sh | bash -s ``` Replace the following: -- ``: Your system username + +- ``: Your login username - ``: Your domain name -- ``: A unique identifier for security settings +- ``: A unique identifier + +If you encounter the following error: + +```bash +bash: curl: command not found +``` + +Please install `curl` and `bash` first: + +```bash +sudo apt update && sudo apt install -y curl bash +``` ## What Gets Installed @@ -36,16 +52,6 @@ Replace the following: - 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