2 答案
cd /opt/odoo/
./odoo-bin -d DBNAME -r ROLE -w PASSWORD -u/-i module_name/all
if peer authentication error appears, do as a postgres user.
sudo su postgres
thank you
this command is successful
./odoo-bin -c /etc/odoo-server.conf -d testDekoGardina -r root -w odoo -i mrp
additional question
do you have a good installation guide for Ubuntu 18.04
Hi Philip,
Refer the following blog for your additional question https://www.cybrosys.com/blog/install-odoo-13-on-ubuntu-18-04
This worked,
If you want to install multiple modules in the command line in one time you can just separate the module name by comma, e.g:
./odoo-bin -c debian/odoo.conf -d odoo_test_database -r odoo_postgre_user -w odoo_postgre_user_password -i custom_module1,custom_module2,custom_module3
Hope that useful : )
Thanks,
Tri