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
Installation
- Download the install-odoo.sh script
- Change the script permission
sudo chmod +x install-odoo.sh - Run the script as root
./install-odoo.sh -h - 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 [email protected] Support with choosing RSA-DH size:-
./install-odoo.sh -v 10 -S odoo.example.com -M [email protected] -K 4096Installing 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