Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3083 มุมมอง

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.