diff --git a/README.md b/README.md index 84b1789..3b378c4 100644 --- a/README.md +++ b/README.md @@ -65,33 +65,37 @@ graph TB --- -## Quick Start +## Quick Start & Automated Installers -### 1. Central Server Hub +LOGAR provides automated production service installers for both Linux (`systemd`) and Windows (`services.msc` via NSSM): -Download the standalone compiled binary (`Server.bin` for Linux or `Server.exe` for Windows) from [Releases](https://gitea.eibl.tech/me0nline/LOGAR/releases): +### 1. Server Hub Installation -```bash -# Run standalone server binary (Initializes PKI & configuration on first run) -./Server.bin # Linux -.\Server.exe # Windows +- **Linux (Automated systemd Installer)**: + ```bash + sudo ./compilation/install_linux_server.sh + ``` + *Deploys standalone `Server.bin` to `/opt/logar-server`, initializes PKI, and enables `logar-server.service`.* -# WebUI available at: http://:8443/webui (Default: admin / admin_logar_2026!) -``` -*(Or run automated systemd installation on Linux: `sudo ./compilation/install_linux_server.sh`)* +- **Windows (Inno Setup Installer)**: + Download and execute `LOGAR-Server-Setup.exe` from [Releases](https://gitea.eibl.tech/me0nline/LOGAR/releases). Installs `Server.exe` into `C:\Program Files\LOGAR` and registers `LOGAR_Server` Windows service. -### 2. Linux Client Deployment +*WebUI is immediately available at `http://:8443/webui` (Default: `admin` / `admin_logar_2026!`)* -```bash -sudo ./compilation/install_linux_client.sh "http://:8443" "" -``` -*Enrolls client certificates to `/etc/logar/certs`, writes configuration, and enables `logar-client.service`.* +### 2. Edge Forwarder Installation -### 3. Windows Client Deployment +- **Linux Client (1-Line Non-Interactive Installer)**: + ```bash + sudo ./compilation/install_linux_client.sh "http://:8443" "" + ``` + *Auto-enrolls mTLS certificates to `/etc/logar/certs` (`chmod 700`), generates configuration, and activates `logar-client.service`.* -1. Download and run `LOGAR-Client-Setup.exe` from [Releases](https://gitea.eibl.tech/me0nline/LOGAR/releases). -2. Place `client_config.json` (exported from Server WebUI) into `C:\Program Files\LOGAR\client_config.json`. -3. The `LOGAR_Client` Windows service starts and auto-enrolls immediately. +- **Windows Client (Inno Setup Installer)**: + 1. Download and run `LOGAR-Client-Setup.exe` (supports silent install `/VERYSILENT`). + 2. Place `client_config.json` (exported from Server WebUI) into `C:\Program Files\LOGAR\client_config.json`. + 3. The `LOGAR_Client` service starts and auto-enrolls immediately. + +*(Alternatively, standalone binaries `./Server.bin` / `./Linux_Client.bin` / `.\Server.exe` / `.\Win_Client.exe` can be executed directly without service installation).* ---