# 4. Verify sudo systemctl status ryl2v2240 install.sh also creates a non‑privileged user ryl2svc and a data folder /var/lib/ryl2 . Adjust permissions if you plan to mount a separate storage volume. 5️⃣ Basic Configuration The main configuration file is config.yaml (or config.json if you prefer JSON). A minimal example:
cluster: enabled: true node_id: $HOSTNAME peers: - 10.0.1.11:9000 - 10.0.1.12:9000
After editing, reload the service:
# config.yaml server: http_port: 8080 https_port: 8443 tls: cert_file: /etc/ryl2/certs/server.crt key_file: /etc/ryl2/certs/server.key Ryl2 V2240 Server File LINK
Start-Service -Name Ryl2V2240 # 1. Extract sudo tar -xzf Ryl2_V2240_Server.tar.gz -C /opt/ryl2/v2240
# Windows Restart-Service -Name Ryl2V2240
# 2. Create a systemd unit (install.sh does this automatically) cd /opt/ryl2/v2240 && sudo ./install.sh 5️⃣ Basic Configuration The main configuration file is
# Linux sudo systemctl restart ryl2v2240 | Feature | How to Access | Typical Use‑Case | |---------|---------------|-----------------| | REST API | http://<host>:8080/api/v1/... (or HTTPS) | CRUD operations for device metadata, health checks | | gRPC endpoint | grpc://<host>:9000 | High‑throughput binary streaming (telemetry, video) | | WebSocket | ws://<host>:8080/ws | Real‑time push notifications to browsers or dashboards | | Plug‑in loader | Drop a .so (Linux) or .dll (Windows) into plugins/ and add an entry in config.yaml | Custom protocol adapters (e.g., MQTT, Modbus) | | Metrics & monitoring | http://<host>:8080/metrics (Prometheus format) | Grafana dashboards for CPU, latency, connection count | | Audit log | /var/log/ryl2/audit.log | Compliance (GDPR, HIPAA) – who accessed what and when | | Cluster management UI | https://<host>:8443/cluster | Visual view of node health, leader election, fail‑over |
logging: level: info file: /var/log/ryl2/server.log rotation: daily
# 3. Enable & start sudo systemctl enable ryl2v2240 sudo systemctl start ryl2v2240 Create a systemd unit (install
Get-FileHash .\Ryl2_V2240_Server.zip -Algorithm SHA256 :
| Setting | Recommended value (dev) | Production‑grade | |---------|------------------------|-------------------| | logging.level | debug (while testing) | info or warn | | tls.cert_file / key_file | Self‑signed (via openssl req … ) | Certificates from a trusted CA | | cluster.enabled | false (single‑node) | true + proper peer list | | security.rbac.enabled | false (if you only need basic auth) | true + detailed policy file |