Move bootstrap installer to project root, document one-liner install
Simplifies the download URL for the curl-pipe-bash quickstart. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
9a1d8112e7
commit
18188f44b8
@@ -43,13 +43,34 @@ systemd. Betrieb als natives Go-Binary.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### 1. Aus dem Quellcode bauen
|
### Schnellinstallation (Einzeiler)
|
||||||
|
|
||||||
|
Auf einem frischen Debian/Ubuntu-Host (als root), lädt und installiert alles
|
||||||
|
in einem Schritt (Abhängigkeiten, Go-Toolchain falls nötig, Quellcode, Build,
|
||||||
|
`install.sh`):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://gitea.perlbach24.de/scripte/wireguard-ui-multi/raw/branch/main/bootstrap.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
Danach nur noch:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo systemctl enable --now wireguard-ui-multi.service
|
||||||
|
```
|
||||||
|
|
||||||
|
Der Quellcode bleibt unter `/opt/wireguard-ui-multi-src` liegen; erneutes
|
||||||
|
Ausführen des Einzeilers aktualisiert die Installation.
|
||||||
|
|
||||||
|
### Manuelle Installation
|
||||||
|
|
||||||
|
#### 1. Aus dem Quellcode bauen
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go build -o wireguard-ui-multi ./cmd/wireguard-ui-multi
|
go build -o wireguard-ui-multi ./cmd/wireguard-ui-multi
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2. Installationsskript ausführen (als root)
|
#### 2. Installationsskript ausführen (als root)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo ./scripts/install.sh
|
sudo ./scripts/install.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user