Update README.md
This commit is contained in:
1 parent
4af4800a38
commit
5a742c6f25
1 file changed
+21
-15
@@ -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 <username> <domain> <id>
|
||||
curl -L https://github.com/xixu-me/AWSDS/raw/main/setup.sh | bash -s <username> <domain> <id>
|
||||
```
|
||||
|
||||
Replace the following:
|
||||
- `<username>`: Your system username
|
||||
|
||||
- `<username>`: Your login username
|
||||
- `<domain>`: Your domain name
|
||||
- `<id>`: A unique identifier for security settings
|
||||
- `<id>`: 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
|
||||
|
||||
Reference in new issue
Block a user