Files
server/docs/setup-inicial.md

36 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Setup inicial del servidor (2026-06-28)
## 1. Instalación del SO
Servidor recibido en Rescue System. Instalado Ubuntu 24.04 vía `installimage`:
- RAID1 software sobre 2× NVMe 512 GB Samsung
- 8 GB swap + 1 GB /boot + resto en /
## 2. Configuración base
```bash
apt-get install curl git ufw fail2ban unattended-upgrades
```
**UFW:** puertos abiertos: 22 (SSH), 80 (HTTP), 443 (HTTPS)
**fail2ban:** activo con configuración por defecto
**Usuario:** `rafa` con sudo sin password, clave SSH `claude-code@feadulta`
## 3. Docker CE
Instalado desde el repositorio oficial de Docker:
- Docker 29.6.1
- Docker Compose v5.2.0
## 4. Coolify
Panel de gestión instalado vía script oficial:
```bash
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
```
- Versión: 4.1.2
- Panel: http://188.40.120.157:8000
- Reverse proxy: Traefik (gestionado por Coolify)
- SSL: Let's Encrypt automático vía Traefik
## 5. Gitea
Desplegado desde Coolify (plantilla Gitea + PostgreSQL).
- Dominio: gitea.feadulta.com
- SSH clone: puerto 22222