Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3086 Представления

hello everyone,

I install odoo following this tutorial https://linuxize.com/post/how-to-deploy-odoo-11-on-ubuntu-18-04.

Now I want to listent on port 80 but as odoo user is no root it is forbidden.  I find workaround but I should give odoo ubuntu user a password. Do you know if it can badly interact with odoo if I do this?

Or maybe you have other option to open port 80 with Odoo?

I already try sudo setcap cap_net_bind_service=+ep /opt/odoo/odoo11/odoo-bin
and iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8069
It didn't work...

 

Аватар
Отменить
Лучший ответ

Hi Seb,

May be this could help you:

sudo passwd odoo


Аватар
Отменить
Автор

Yes but my question is could it broke things into odoo or is it safe?

I don't think that will break anything.

Автор

Thank you for your answer, I'll try.

Автор

I confirm that it is safe.