An automated installation script for Odoo on Ubuntu systems. This script supports multiple Odoo versions (12.0+) and Ubuntu versions (18.04+).
Author Moaaz Gafar
📧 Email: m.gafar2024@gmail.com 💼 LinkedIn: https://www.linkedin.com/in/%F0%9D%91%B4%F0%9D%92%90%F0%9D%92%82%F0%9D%92%82%F0%9D%92%9B-%F0%9D%91%AE%F0%9D%92%82%F0%9D%92%87%F0%9D%92%82%F0%9D%92%93-0676a3111/ 🌟 GitHub: https://github.com/moaaz1995
- ✨ Supports all Odoo versions (12.0 and above)
- 🐧 Works on Ubuntu 18.04 and newer versions
- 🔒 Secure configuration with automatic password generation
- 🚀 Automatic dependency handling
- 📝 Detailed logging
- ⚙️ Systemd service configuration
- 🔄 Easy update mechanism
# Download the script
wget https://raw.githubusercontent.com/moaaz1995/odoo-install-script/main/install_odoo.sh
# Make it executable
chmod +x install_odoo.sh
# Run the script (replace XX.0 with your desired Odoo version)
sudo ./install_odoo.sh XX.0- Ubuntu 18.04 or newer
- Sudo privileges
- Internet connection
Install Odoo 18:
sudo ./install_odoo.sh 18.0Install Odoo 16:
sudo ./install_odoo.sh 16.0- Odoo of specified version
- PostgreSQL database
- Python dependencies
- System dependencies
- Wkhtmltopdf
- Systemd service
- Virtual environment
After installation completes:
- Access Odoo at:
http://localhost:8069 - Check service status:
systemctl status odoo-XX.0 - View logs:
tail -f /var/log/odoo/odoo-XX.0.log
Use the provided update script:
sudo /opt/odoo/update-odoo-XX.0.shIf you encounter any problems, please:
- Check the Troubleshooting Guide
- Search existing Issues
- Create a new issue if needed
If you find this script helpful, please consider giving it a star ⭐️