SERVER WINDOW
INSTALL HERMES DI VPS
Versi server Linux. Cocok untuk bot Telegram/Discord 24/7. Untuk VPS RAM kecil, swap wajib.
1. SSH ke VPS
ssh root@IP_VPS_KAMU
2. Update + dependency
apt update && apt upgrade -y
apt install -y curl git build-essential python3 python3-pip nginx certbot python3-certbot-nginx
3. Swap untuk RAM kecil
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstab
4. Node untuk VPS lama
Kalau Ubuntu 18.04 / GLIBC 2.27, Node 18+ bisa gagal. Untuk script ringan pakai Node 16; untuk Hermes ikuti installer resmi dan cek errornya.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
source ~/.bashrc
nvm install 16
nvm use 16
5. Install Hermes + Gateway
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
hermes setup
hermes gateway setup
hermes gateway install
hermes gateway start
hermes gateway status