コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3087 ビュー

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.