- Download the script:
git clone https://github.com/vikivyas/viki-odoo-install
- Modify the parameters as you wish. There are a few things you can configure, this is the most used list:
- OE_USER - will be the username for the system user.
- OE_HOME - will be the home directory of the system user.
- OE_VERSION - is the Odoo version to install, for example 10.0 for Odoo V10.
- OE_INSTALL_DIR - is the path where all environments will be installed.
- OE_REPO - is the path where odoo will be cloned to.
- INSTALL_WKHTMLTOPDF - set to False if you do not want to install it, if you want to install it you should set it to True.
- OE_PORT - is the port where Odoo should run on, for example 8069.
- OE_NETRPC_PORT - is the port where Odoo net-rpc should run on, for example 8070.
- OE_LONGPOOL_PORT - is the port where Odoo long pool should run on, for example 8070.
- IS_ENTERPRISE - will install the Enterprise version on top of the community version if you set it to True, set it to False if you want the community version of Odoo.
- OE_SUPERADMIN - is the master password for this Odoo installation.
- OE_DB_PASSWORD - is the password of postgres user.
- OE_WORKERS - is the number of Odoo workers
- PG_VERSION - is a version of postgresql installed
- Become root
su
- Make the script executable
sudo chmod +x run.sh
- Execute the script:
sudo ./run.sh