Skip to content

odoo-install.sh is a BASH shell script that automates the step-by-step instructions for installing and configuring a odoo server.

License

Notifications You must be signed in to change notification settings

Sherif-khaled/install-odoo

Repository files navigation

GitHub license

install-odoo

odoo-install.sh is a BASH shell script that,will install and configure the odoo system,
without user interaction with the script

the speed of installation depending on your server and network speed,
but the installation take 10 minutes as average time.

Script Requirements

  • Ubuntu 64-bit OS running Linux - this script tested on ubuntu 16.4.
  • CPU X64
  • 2 GB of memory with swap enabled (4 GB of memory is better).
  • 2 CPU cores (4 is better or more).
  • TCP ports 80, if behind firewall.
  • TCP ports 443, if you behind firewall.

Features

  • Support odoo versions (10, 11 ,12)
  • support the configure with domain name
  • option for custom odoo port
  • option for custom postgresql password
  • option for custom odoo admin password
  • option for choosing install wkhtmltopdf
  • option for choosing server type [apache/nginx]
  • support SSL encryption using (let's encrypt)
  • option for choosing RSA DH [2048/4069]bit
  • supoort rtlcss module for RTL UI
  • Installation

    1. Download the install-odoo.sh script
    2. Change the script permission sudo chmod +x install-odoo.sh
    3. Run the script as root ./install-odoo.sh -h
    4. select odoo version you want to install

    Usage

    elect odoo Version:-

    Select your odoo version you want to install (ver 10 as example)

    ./install-odoo.sh -v 10

    Select odoo enterprise Version:-

    you must have github repository credential to install enterprise version

    ./install-odoo.sh -v 10 -e

    Installing with choosing port value:-

    you can select port between range [8060 - 8090],
    except port 8072 becouse this port reserved for longpolling

    ./install-odoo.sh -v 10 -S odoo.example.com -r 8070

    Installing with choosing server type:-

    you can choosing the server type between [nginx - apache],
    if you not choosing the server type the script will configure domain name with nginx server.

    ./install-odoo.sh -v 10 -S odoo.example.com -s apache

    Install With Hostname:-

    if you not specific the domain name,the script will configure odoo with external ip.

    ./install-odoo.sh -v 10 -S odoo.example.com

    Support SSL Certificat:-

    you can't support SSL without the domain name.

    ./install-odoo.sh -v 10 -S odoo.example.com -M info@eample.com
    Note: SSL using the 2048-bit RSA keys by default.

    Support with choosing RSA-DH size:-

    ./install-odoo.sh -v 10 -S odoo.example.com -M info@eample.com -K 4096
    Note: SSL using the 2048-bit RSA keys by default.

    Installing with choosing Master Admin Password:-

    ./install-odoo.sh -v 10 -S odoo.example.com -a admin123

    Installing with choosing postgresql user Password:-

    ./install-odoo.sh -v 10 -S odoo.example.com -p sql123

    Installing with wkhtmltopdf:-

    ./install-odoo.sh -v 10 -S odoo.example.com -w

    FAQ

    Found a bug?

    if you found a bug you can submit your bug here Submit Bug

    About

    odoo-install.sh is a BASH shell script that automates the step-by-step instructions for installing and configuring a odoo server.

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Packages

    No packages published

    Languages