diff --git a/odoo_install.sh b/odoo_install.sh index 0589bb5..c11ac45 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -17,31 +17,33 @@ OE_USER="odoo" OE_HOME="/$OE_USER" OE_HOME_EXT="/$OE_USER/${OE_USER}-server" -# The default port where this Odoo instance will run under (provided you use the command -c in the terminal) -# Set to true if you want to install it, false if you don't need it or have it already installed. -INSTALL_WKHTMLTOPDF="True" -# Set the default Odoo port (you still have to use -c /etc/odoo-server.conf for example to use this.) -OE_PORT="8069" +OE_CONFIG="${OE_USER}-server" + # Choose the Odoo version which you want to install. For example: 13.0, 12.0, 11.0 or saas-18. When using 'master' the master version will be installed. # IMPORTANT! This script contains extra libraries that are specifically needed for Odoo 13.0 OE_VERSION="13.0" # Set this to True if you want to install the Odoo enterprise version! IS_ENTERPRISE="False" -# Set this to True if you want to install Nginx! -INSTALL_NGINX="False" -# Set the superadmin password - if GENERATE_RANDOM_PASSWORD is set to "True" we will automatically generate a random password, otherwise we use this one -OE_SUPERADMIN="admin" # Set to "True" to generate a random password, "False" to use the variable in OE_SUPERADMIN GENERATE_RANDOM_PASSWORD="True" -OE_CONFIG="${OE_USER}-server" -# Set the website name -WEBSITE_NAME="_" +# Set the superadmin password - if GENERATE_RANDOM_PASSWORD is set to "True" we will automatically generate a random password, otherwise we use this one +OE_SUPERADMIN="admin" +# Set to true if you want to install it, false if you don't need it or have it already installed. +INSTALL_WKHTMLTOPDF="True" +# The default port where this Odoo instance will run under (provided you use the command -c in the terminal) +# Set the default Odoo port (you still have to use -c /etc/odoo-server.conf for example to use this.) +OE_PORT="8069" # Set the default Odoo longpolling port (you still have to use -c /etc/odoo-server.conf for example to use this.) LONGPOLLING_PORT="8072" -# Set to "True" to install certbot and have ssl enabled, "False" to use http -ENABLE_SSL="True" + +# Set the reverse proxy mode to PROXY_NONE, PROXY_HTTP, PROXY_LETSENCRYPT +PROXY_MODE="PROXY_LETSENCRYPT" + +# Set the website name +WEBSITE_NAME="_" # Provide Email to register ssl certificate ADMIN_EMAIL="odoo@example.com" + ## ### WKHTMLTOPDF download links ## === Ubuntu Trusty x64 & x32 === (for other distributions please replace these two links,