50% off semua paket, waktu terbatas. Mulai dari $2.48/mo
Zy

Zy

Zy adalah CLI berbasis AI untuk infrastruktur Cloudzy. Mengimplementasikan Model Context Protocol (MCP) sehingga Claude, GPT, Copilot, atau agen kompatibel MCP lainnya dapat men-deploy VPS, meluncurkan situs WordPress, dan mengelola sumber daya cloud melalui percakapan biasa. Open-source, ditulis dalam 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

Penting: Segera ganti kata sandi default melalui antarmuka web.

Environment Configuration

File: /opt/zy/.env

Untuk memperbarui variabel lingkungan, edit .env dan restart layanan:

systemctl restart zy.service

File & Direktori Penting

  • Zy binary: /opt/zy/zy
  • Variabel lingkungan (token API, URL publik): /opt/zy/.env
  • Systemd unit: /etc/systemd/system/zy.service
  • Konfigurasi situs NGINX: /etc/nginx/sites-available/zy
  • Situs Nginx aktif: /etc/nginx/sites-enabled/zy
  • Sertifikat SSL self-signed: /etc/nginx/ssl/

Manajemen Layanan 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

Mengaktifkan SSL dengan Domain

1. Arahkan domain Anda ke IP server.

2. Edit konfigurasi Nginx dan ganti kedua server_name <IP>; dengan domain Anda (<your-domain>) untuk blok HTTP (port 80) dan HTTPS (port 443):

vim /etc/nginx/sites-available/zy

3. Install Certbot:

apt install -y certbot python3-certbot-nginx

4. Jalankan perintah berikut untuk menghasilkan sertifikat Lets Encrypt yang valid:

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

5. Ganti path SSL di konfigurasi 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. Restart Nginx untuk menerapkan perubahan:

systemctl restart nginx

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

PUBLIC_BASE_URL=https://yourdomain.com

8. Restart Zy untuk menerapkan perubahan:

systemctl restart zy

9. Buka browser Anda dan kunjungi: https://yourdomain.com

Lainnya di Development Tools

Related apps.

Deploy Zy now. From $2.48/mo.