update readme
This commit is contained in:
parent
fc2588a515
commit
def89eed7a
1 changed files with 19 additions and 95 deletions
114
README.md
114
README.md
|
|
@ -1,137 +1,61 @@
|
||||||
# Seby’s Hosting Scripts
|
# Seby's Hosting Scripts
|
||||||
|
|
||||||
Interactive installation scripts for **Calagopus Wings** nodes.
|
Interactive installation scripts for **Calagopus Wings** nodes.
|
||||||
|
|
||||||
This script installs:
|
This script installs:
|
||||||
|
|
||||||
- Docker (optional, prompted)
|
- Docker (optional, prompted)
|
||||||
- Certbot SSL (optional, prompted)
|
- Certbot SSL (optional, prompted)
|
||||||
- Calagopus Wings (auto-detects x86_64 or ARM64)
|
- Calagopus Wings (auto-detects x86_64 or ARM64)
|
||||||
- Systemd service (via `wings service-install`)
|
- Systemd service (via `wings service-install`)
|
||||||
- Optional SSL configuration auto-wiring in `config.yml`
|
- Optional SSL configuration auto-wiring in `config.yml`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🚀 Quick Install (Copy & Paste)
|
## 🚀 Quick Install (Copy & Paste)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://git.okseby.com/okseby/sebys-hosting-scripts/raw/branch/main/install-wings.sh | bash
|
curl -fsSL https://git.okseby.com/okseby/sebys-hosting-scripts/raw/branch/main/install-wings.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
> ⚠️ Make sure ports 80 and 443 are open if you plan to enable SSL.
|
> ⚠️ Make sure ports 80 and 443 are open if you plan to enable SSL.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
## 🔄 Update Scripts (Copy & Paste)
|
||||||
|
|
||||||
|
### Update Forgejo
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://git.okseby.com/okseby/sebys-hosting-scripts/raw/branch/main/update-forgejo.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
### Update Panel
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://git.okseby.com/okseby/sebys-hosting-scripts/raw/branch/main/update-panel.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
### Update Wings
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://git.okseby.com/okseby/sebys-hosting-scripts/raw/branch/main/update-wings.sh | bash
|
||||||
|
```
|
||||||
|
---
|
||||||
## 📦 What the Script Does
|
## 📦 What the Script Does
|
||||||
|
|
||||||
### 1️⃣ Docker
|
### 1️⃣ Docker
|
||||||
- Checks if Docker is installed
|
- Checks if Docker is installed
|
||||||
- Prompts to install if missing
|
- Prompts to install if missing
|
||||||
- Default answer: **No**
|
- Default answer: **No**
|
||||||
|
|
||||||
### 2️⃣ SSL (Optional)
|
### 2️⃣ SSL (Optional)
|
||||||
|
|
||||||
If you choose to enable SSL:
|
If you choose to enable SSL:
|
||||||
|
|
||||||
- Installs `certbot`
|
- Installs `certbot`
|
||||||
- Runs:
|
- Runs:
|
||||||
```bash
|
```bash
|
||||||
certbot certonly --standalone -d yourdomain.com
|
certbot certonly --standalone -d yourdomain.com
|
||||||
```
|
```
|
||||||
- Automatically modifies:
|
- Automatically modifies:
|
||||||
|
|
||||||
`/etc/pterodactyl/config.yml`
|
`/etc/pterodactyl/config.yml`
|
||||||
|
|
||||||
From:
|
From:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ssl:
|
ssl:
|
||||||
enabled: false
|
enabled: false
|
||||||
cert: ''
|
cert: ''
|
||||||
key: ''
|
key: ''
|
||||||
```
|
```
|
||||||
|
|
||||||
To:
|
To:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ssl:
|
ssl:
|
||||||
enabled: true
|
enabled: true
|
||||||
cert: /etc/letsencrypt/live/yourdomain.com/fullchain.pem
|
cert: /etc/letsencrypt/live/yourdomain.com/fullchain.pem
|
||||||
key: /etc/letsencrypt/live/yourdomain.com/privkey.pem
|
key: /etc/letsencrypt/live/yourdomain.com/privkey.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
A backup of the config is created as:
|
A backup of the config is created as:
|
||||||
|
|
||||||
```
|
|
||||||
/etc/pterodactyl/config.yml.bak
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### 3️⃣ Wings Binary
|
|
||||||
|
|
||||||
- Detects architecture:
|
|
||||||
- `x86_64`
|
|
||||||
- `aarch64`
|
|
||||||
- Downloads the correct release from:
|
|
||||||
|
|
||||||
https://github.com/calagopus/wings
|
|
||||||
|
|
||||||
Installed to:
|
|
||||||
|
|
||||||
```
|
|
||||||
/usr/local/bin/wings
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### 4️⃣ Configuration
|
|
||||||
|
|
||||||
Optionally runs:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
wings configure --join-data <token>
|
|
||||||
```
|
|
||||||
|
|
||||||
Then optionally installs as a systemd service:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
wings service-install
|
|
||||||
```
|
|
||||||
|
|
||||||
`service-install` automatically:
|
|
||||||
- Creates systemd unit
|
|
||||||
- Reloads daemon
|
|
||||||
- Enables service
|
|
||||||
- Starts service
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🧱 Requirements
|
|
||||||
|
|
||||||
- Debian / Ubuntu based system
|
|
||||||
- `apt`
|
|
||||||
- Root or sudo access
|
|
||||||
- Ports 80/443 open (for SSL standalone mode)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🔐 Security Note
|
|
||||||
|
|
||||||
Always inspect remote scripts before running them:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
curl -fsSL https://git.okseby.com/okseby/sebys-hosting-scripts/raw/branch/main/install-wings.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🛠 Manual Install Option
|
|
||||||
|
|
||||||
If you prefer not to pipe to bash:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
curl -O https://git.okseby.com/okseby/sebys-hosting-scripts/raw/branch/main/install-wings.sh
|
|
||||||
chmod +x install-wings.sh
|
|
||||||
./install-wings.sh
|
|
||||||
```
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue