Script de instalación automática para servidor Ubuntu con:
- PostgreSQL 16 — base de datos
agente_db - Flowise — UI de agentes IA (puerto 3000)
- OpenClaw — gateway local (127.0.0.1:18789)
- UFW — firewall configurado
- Fail2ban — protección SSH
# En el servidor Ubuntu (como root)
curl -fsSL https://raw.githubusercontent.com/ivanandrestv/agenteivanfinal/main/setup-server.sh | bashO clonar y ejecutar:
git clone https://github.com/ivanandrestv/agenteivanfinal.git
cd agenteivanfinal
chmod +x setup-server.sh
sudo bash setup-server.shAl finalizar, todas las credenciales quedan en /root/.env_agente (chmod 600).
| Servicio | Puerto | Acceso |
|---|---|---|
| SSH | 22 | Público |
| Flowise | 3000 | Público |
| OpenClaw GW | 18789 | Solo local |
| PostgreSQL | 5432 | Solo local |