Automated installation scripts for Odoo ERP and ZSH shell setup on Ubuntu/Debian systems.
Full-featured Odoo installer with interactive TUI menu.
- Interactive TUI Menu - User-friendly whiptail-based interface
- Native or Docker Installation - Choose your preferred method
- SMTP Email Configuration - Optional email setup
- UFW Firewall Configuration - Automatic firewall rules
- Supports Odoo versions 12-19
- Auto-generates configuration files
- Creates helper scripts (start/stop/restart/logs)
- Ubuntu/Debian based system
- sudo privileges
- Internet connection
chmod +x odoo_install.sh
./odoo_install.sh| Screen | Options |
|---|---|
| Installation Type | Native / Docker |
| Odoo Version | 12, 13, 14, 15, 16, 17, 18, 19 |
| Basic Settings | PostgreSQL password, ports, master password |
| Performance | Workers, log level, memory limits |
| Email (Optional) | SMTP server, port, credentials |
| Firewall (Optional) | UFW configuration |
- Installs directly on the system
- PostgreSQL installed locally
- Python dependencies via pip
- Best for development/single server
- Uses official Odoo Docker images
- PostgreSQL in separate container
- Easy to manage and update
- Best for production/isolation
~/workspace/odoo{version}/
├── odoo/ # Odoo source (native only)
├── docker-compose.yml # Docker config (docker only)
├── config/
│ └── odoo{version}.conf # Configuration file
├── logs/
│ └── odoo{version}.log # Log file
├── data/ # Filestore/sessions
├── start-odoo.sh # Start script
├── stop-odoo.sh # Stop script
├── restart-odoo.sh # Restart script
├── logs-odoo.sh # View logs script
└── shell-odoo.sh # Docker shell (docker only)
When enabled, configures:
- SMTP Server (e.g., smtp.gmail.com)
- SMTP Port (587/465/25)
- SSL/TLS settings
- Authentication credentials
- From email address
When enabled, automatically:
- Allows SSH (prevents lockout)
- Opens Odoo HTTP port
- Opens Longpolling port
- Enables UFW if not active
# Start Odoo
~/workspace/odoo{version}/start-odoo.sh
# Stop Odoo
~/workspace/odoo{version}/stop-odoo.sh
# Restart Odoo
~/workspace/odoo{version}/restart-odoo.sh
# View logs
~/workspace/odoo{version}/logs-odoo.sh
# Docker shell (docker only)
~/workspace/odoo{version}/shell-odoo.shInstalls a complete ZSH environment with Oh-My-Zsh, Powerlevel10k theme, and plugins.
- Oh-My-Zsh framework
- Powerlevel10k theme
- zsh-autosuggestions plugin
- MesloLGS NF fonts
chmod +x zsh_install.sh
./zsh_install.sh- Set terminal font to
MesloLGS NF - Run
exec zshor restart terminal - Run
p10k configureto customize prompt
| Package | Purpose |
|---|---|
| git | Repository cloning |
| curl | Downloading files |
| wget | Downloading packages |
| sudo | Administrative tasks |
| whiptail | Interactive menus (auto-installed) |
| docker | Docker installation (auto-installed) |
- Ubuntu 22.04 LTS (Jammy)
- Ubuntu 24.04 LTS (Noble)
- Port already in use: Change HTTP port during installation
- Memory errors: Increase memory limits or reduce workers
- Docker permission denied: Log out and back in after install
- UFW blocks connection: Check
sudo ufw status
# Native
tail -100 ~/workspace/odoo{version}/logs/odoo{version}.log
# Docker
docker compose logs -f odooMIT License