Odoo (formerly known as Open ERP) is a feature-rich open source ERP, making it the preferred ERP for open source fans. Very often, we need to install multiple instances on the same server, which can cause problems with domains.
In the following tutorial, I'll show you how to deploy two instances of Odoo 9 on a VPS, step by step.
Prerequisites:
Debian 9, Odoo 9, super user access.
- Connect to the VPS
shell25 B
- Update packages
shell49 B
- Dependencies installation for Odoo 9
shell871 B
- Installation of Odoo web dependencies
shell116 B
- Installing PostgreSQL
shell104 B
- Creation of databases for each instance
shell91 B
- Creation of odoo users
shell108 B
- Download and install Gdata
shell393 B
- Odoo installation
shell272 B
- Creation of python virtual environments
shell195 B
- Log file creation
shell205 B
- Create configuration files
shell1.0 KB
- Nginx installation and configuration
shell73 B
nginx3.1 KB
Creation of SSL and generation of certificates
shell315 B
- Test configuration
shell9 B
- Restart NGINX
shell27 B
- Launch script
shell779 B
- Activation of odoo1 and odoo2
shell72 B
- Configuration des services odoo1 et odoo2
shell257 B
- Start Odoo services
shell50 B
- Open browser
http://localhost:8001 ou https://odoo1domain.tld
http://localhost:8002 ou https://odoo2domain.tld