50% off wszystkie plany, oferta czasowa. Od $2.48/mo
Zy

Zy

Zy to natywne CLI AI dla infrastruktury Cloudzy. Implementuje Model Context Protocol (MCP), dzięki czemu Claude, GPT, Copilot lub dowolny agent zgodny z MCP może wdrażać VPS, uruchamiać strony WordPress i zarządzać zasobami chmurowymi przez naturalną rozmowę. Open-source, napisany w Rust.

Version

1.0.1

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

1 GB

IP Types

IPV4,IPV6

Web Access

URL: https://<IP>/

HTTP port 80 redirects to HTTPS 443.

Default account:

  • Username: owner
  • Password: owner123

Ważne: Zmień domyślne hasło od razu po zalogowaniu się do interfejsu webowego.

Environment Configuration

File: /opt/zy/.env

Aby zaktualizować zmienne środowiskowe, edytuj .env i zrestartuj usługę:

systemctl restart zy.service

Ważne pliki i katalogi

  • Zy binary: /opt/zy/zy
  • Zmienne środowiskowe (token API, publiczny URL): /opt/zy/.env
  • Systemd unit: /etc/systemd/system/zy.service
  • Konfiguracja serwisu Nginx: /etc/nginx/sites-available/zy
  • Włączona strona Nginx: /etc/nginx/sites-enabled/zy
  • Certyfikaty SSL z podpisem własnym: /etc/nginx/ssl/

Zarządzanie usługą Systemd

# Restart the Zy service
systemctl restart zy.service

# Check Zy status
systemctl status zy.service

# Restart the Nginx service
systemctl restart nginx.service

# Check Nginx status
systemctl status nginx.service

Włączanie SSL z własną domeną

1. Wskaż domenę na adres IP serwera.

2. Edytuj konfigurację Nginx i zamień obie wartości server_name <IP>; na swoją domenę (<your-domain>) w blokach HTTP (port 80) i HTTPS (port 443):

vim /etc/nginx/sites-available/zy

3. Install Certbot:

apt install -y certbot python3-certbot-nginx

4. Uruchom poniższe polecenie, aby wygenerować ważny certyfikat Let's Encrypt:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. Zaktualizuj ścieżki SSL w konfiguracji Nginx:

vim /etc/apache2/sites-available/zy
# Before:
    # ssl_certificate /etc/nginx/ssl/fullchain.pem;
    # ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
    # ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;

6. Zrestartuj Nginx, aby zastosować zmiany:

systemctl restart nginx

7. Update PUBLIC_BASE_URL in /opt/zy/env:

PUBLIC_BASE_URL=https://yourdomain.com

8. Zrestartuj Zy, aby zastosować zmiany:

systemctl restart zy

9. Otwórz przeglądarkę i przejdź pod adres: https://yourdomain.com

Więcej w narzędziach deweloperskich

Related apps.

Deploy Zy now. From $2.48/mo.