-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Simone edited this page Apr 14, 2026
·
16 revisions
Installer bash con raccolta input guidata per Odoo 16 / 17 / 18 / 19 su Ubuntu ≥ 22.04 e Debian ≥ 11.
Gestisce dipendenze di sistema, PostgreSQL, virtualenv Python, servizio systemd e (opzionale) Nginx come reverse proxy.
| Requisito | Dettaglio |
|---|---|
| OS | Ubuntu ≥ 22.04 o Debian ≥ 11 |
| Utente | utente normale con accesso sudo (non login diretto come root) |
| Disk | ≥ 5 GB liberi |
| Porte | 8069 (Odoo) libera; 80/443 se si usa Nginx |
# 1. Clona il repository
git clone https://github.com/Omisen/auto-installer-odoo.git
cd auto-installer-odoo
# 2. Rendi eseguibile lo script
chmod +x installer.sh
# 3. Avvia l'installazione (utente normale con sudo)
sudo ./installer.sh| Modulo | Descrizione |
|---|---|
| checks.sh | Controlli prerequisiti (sudo, OS, porte, disco) |
| system.sh | Dipendenze APT e wkhtmltopdf |
| postgres.sh | Setup PostgreSQL e utente DB |
| odoo.sh | Installazione Odoo e virtualenv |
| config.sh | Generazione configurazione da template |
| systemd.sh | Servizio systemd (unit, enable, start) |
| nginx.sh | Reverse proxy Nginx |
| check_install.sh | Suite di test post-installazione |
Start here
Key concepts
References
For developers
Technical detail — how it works inside
Steps:
- 1.1 PrepareOptRoot
- 1.2 CreateOdooUser
- 1.3 SetupLogDir
- 1.3b SetupCacheDir
- 1.4 AptPackages (delta)
- 1.5 InstallWkhtmltopdf
- 1.6 SetupPostgres
- 1.7 CreateDbRole
- 1.8 CreateDatabase
- 1.9 CloneOdooRepo
- 1.10 CreateVirtualenv
- 1.11 InstallPythonRequirements
- 1.12 GenerateConfig
- 1.12b SetupDataDir
- 1.13 InitializeOdooDatabase
- 1.14 SetupSystemd
- 1.15 Nginx (6 sub-steps)
- 1.16 WriteControlScript + PatchBashrc
Cross-cutting: