I am looking clear instruction for deployment of Odoo community and enterprise in ubuntu server with smooth functioning.
I mostly get encounter with error of lib "psycopg2" even if I am using correct Python version.
I am looking clear instruction for deployment of Odoo community and enterprise in ubuntu server with smooth functioning.
I mostly get encounter with error of lib "psycopg2" even if I am using correct Python version.
Share Improve this question edited Mar 22 at 17:48 marc_s 756k184 gold badges1.4k silver badges1.5k bronze badges asked Mar 22 at 16:19 Tech-IT-andEmbeddedTech-IT-andEmbedded 12 bronze badges1 Answer
Reset to default 0The easiest way is to use this "all-in-one" install-script, developed by Yenthe:
1. Download the script:
sudo wget https://raw.githubusercontent/Yenthe666/InstallScript/16.0/odoo_install.sh
2. 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.
GENERATE_RANDOM_PASSWORD
if this is set to True
the script will generate a random password, if set to False
we'll set the password that is configured in OE_SUPERADMIN
. By default the value is True
and the script will generate a random and secure password.
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 16.0
for Odoo V16.
IS_ENTERPRISE
will install the Enterprise version on top of 16.0
if you set it to True
, set it to False
if you want the community version of Odoo 16.
OE_SUPERADMIN
is the master password for this Odoo installation.
INSTALL_NGINX
is set to False
by default. Set this to True
if you want to install Nginx.
WEBSITE_NAME
Set the website name here for nginx configuration
ENABLE_SSL
Set this to True
to install certbot and configure nginx with https using a free Let's Encrypted certificate
ADMIN_EMAIL
Email is needed to register for Let's Encrypt registration. Replace the default placeholder with an email of your anisation.
INSTALL_NGINX
and ENABLE_SSL
must be set to True
and the placeholder in ADMIN_EMAIL
must be replaced with a valid email address for certbot installation
By enabling SSL though Let's Encrypt you agree to the following policies
3. Make the script executable
sudo chmod +x odoo_install.sh
4. Execute the script:
sudo ./odoo_install.sh
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744308929a4567854.html
评论列表(0条)