mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-29 16:14:59 +00:00
Add SHA256 integrity verification
This commit is contained in:
21
README.md
21
README.md
@@ -1,6 +1,6 @@
|
||||
# Debian & Ubuntu Server Setup & Hardening Script
|
||||
|
||||
**Version:** 4.2
|
||||
**Version:** 4.3
|
||||
|
||||
**Last Updated:** 2025-06-29
|
||||
|
||||
@@ -45,20 +45,20 @@ This script automates the initial setup and security hardening of a fresh Debian
|
||||
|
||||
### 1. Download the Script
|
||||
|
||||
```bash
|
||||
```
|
||||
wget https://raw.githubusercontent.com/buildplan/setup_harden_server/refs/heads/main/setup_harden_debian_ubuntu.sh
|
||||
chmod +x setup_harden_debian_ubuntu.sh
|
||||
```
|
||||
|
||||
### 2. Run Interactively (Recommended)
|
||||
|
||||
```bash
|
||||
```
|
||||
sudo ./setup_harden_debian_ubuntu.sh
|
||||
```
|
||||
|
||||
### 3. Run in Quiet Mode (for Automation)
|
||||
|
||||
```bash
|
||||
```
|
||||
sudo ./setup_harden_debian_ubuntu.sh --quiet
|
||||
```
|
||||
|
||||
@@ -66,6 +66,17 @@ sudo ./setup_harden_debian_ubuntu.sh --quiet
|
||||
>
|
||||
> Ensure your VPS provider’s firewall allows the custom SSH port, backup server’s SSH port (e.g., 23 for Hetzner Storage Box), and Tailscale traffic (UDP 41641 for direct connections).
|
||||
|
||||
### Verify Script Integrity (Optional but Recommended)
|
||||
|
||||
After downloading the script, verify its integrity:
|
||||
|
||||
```
|
||||
wget https://raw.githubusercontent.com/buildplan/setup_harden_server/main/setup_harden_debian_ubuntu.sh
|
||||
wget https://raw.githubusercontent.com/buildplan/setup_harden_server/main/setup_harden_debian_ubuntu.sh.sha256
|
||||
|
||||
sha256sum -c setup_harden_debian_ubuntu.sh.sha256
|
||||
```
|
||||
|
||||
## What It Does
|
||||
|
||||
| Task | Description |
|
||||
@@ -237,4 +248,4 @@ If Tailscale fails to connect:
|
||||
|
||||
## [MIT](https://github.com/buildplan/setup_harden_server/blob/main/LICENSE) License
|
||||
|
||||
This script is open-source and provided "as is" without warranty. Use at your own risk.
|
||||
This script is open-source and provided "as is" without warranty. Use at your own risk.
|
||||
|
||||
Reference in New Issue
Block a user