README update
This commit is contained in:
52
README.md
52
README.md
@@ -1,3 +1,51 @@
|
||||
# server-scripts
|
||||
# Server Scripts
|
||||
|
||||
Collection of automation scripts for server setup and SSH configuration.
|
||||
|
||||
These scripts are hosted on Gitea and can be accessed via short links or direct raw URLs.
|
||||
|
||||
---
|
||||
|
||||
## 📦 Available Scripts
|
||||
|
||||
### 🛠 server-prep.sh
|
||||
Prepares a fresh server (packages, updates, base config)
|
||||
|
||||
- Short URL: http://bit.ly/4dYp6ug
|
||||
|
||||
---
|
||||
|
||||
### 🔐 sshupdate.sh
|
||||
Configures SSH (keys, security hardening, etc.)
|
||||
|
||||
- Short URL: https://bit.ly/4vkvVNQ
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Usage
|
||||
|
||||
### ✅ Recommended Method (Safe)
|
||||
|
||||
Download → Inspect → Run
|
||||
|
||||
#### Server Prep
|
||||
bash
|
||||
curl -L -o server-prep.sh http://bit.ly/4dYp6ug
|
||||
less server-prep.sh
|
||||
chmod +x server-prep.sh
|
||||
./server-prep.sh
|
||||
|
||||
curl -s http://bit.ly/4dYp6ug | bash
|
||||
curl -s https://bit.ly/4vkvVNQ | bash
|
||||
|
||||
### example workflow
|
||||
|
||||
|
||||
# server setup
|
||||
curl -L -o server-prep.sh http://bit.ly/4dYp6ug
|
||||
bash server-prep.sh
|
||||
|
||||
# ssh setup
|
||||
curl -L -o sshupdate.sh https://bit.ly/4vkvVNQ
|
||||
bash sshupdate.sh
|
||||
|
||||
test2
|
||||
Reference in New Issue
Block a user