To install odoo on debian or ubuntu system connect to your server via ssh and execute commands step-by-step from file of this gist:

It covers following aspects:

  • Installation of a stable odoo version. Odoo will start automatically after rebooting server.
  • Longpolling support (for instant messaging inside odoo)
  • Autobackup with backups rotating (to save a disk space)
  • Nginx port forwarding (to avoid addresses with a port like this: )
  • Multitenancy support (you can create any number databases on a single installation)

You can also fork the gist and modify it according to your needs, just click Fork at gist page and don't forget update GIST variable at file.