Odoo Install Script
This script is based on the install script from André Schenkels (https://github.com/aschenkels-ictstudio/openerp-install-scripts) and Yenthe Van Ginneken (https://github.com/Yenthe666/InstallScript) but goes a bit further and has been improved. This script will also give you the ability to define an xmlrpc_port in the .conf file that is generated under /opt/ This script can be safely used in a multi-odoo code base server because the default Odoo port is changed BEFORE the Odoo is started.
sudo wget https://raw.githubusercontent.com/cmutz/InstallOdoo/13.0/odoo_install.sh
There are a few things you can configure, this is the most used list:
OE_USER will be the username for the system user.
INSTALL_WKHTMLTOPDF set to False if you do not want to install Wkhtmltopdf, 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_VERSION is the Odoo version to install, for example 13.0 for Odoo V13.
OE_DIR_VERSION is the Odoo version to install in another form, for example v13 for Odoo V13.
OE_PG_USER will be the postgresql username Odoo server.
OE_PG_PWD will be the postgresql password Odoo server.
OE_SUPERADMIN is the master password for this Odoo installation.
sudo chmod +x odoo_install.sh
sudo ./odoo_install.sh