odoo-install.sh is a BASH shell script that automates the step-by-step instructions for installing and configuring a odoo server.
the speed of installation depending on your server and network speed, but the installation take 10 minutes as average time.
- 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.
- 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
- Select your odoo version you want to install (ver 10 as example)
- specific port (port 8070 as example)
- specific postgresql password.
- specific odoo admin password.
- Configure domain name with nginx server
- Support SSL certificate
./install-odoo.sh -v 10
./install-odoo.sh -v 10 -r 8070
Note: if you not specific the port,the script will chose the port 8069 as default.
./install-odoo.sh -v 10 -p sql123
Note: if you not specific the postgresql password,the script will chose the empty password as default.
./install-odoo.sh -v 10 -P admin123
Note: if you not specific the admin password,the script will chose the empty password as default.
./install-odoo.sh -v 10 -s odoo.example.com
Note: if you not specific the domain name,the script will configure odoo with external ip.
./install-odoo.sh -v 10 -s odoo.example.com -e [email protected]
Note: you can't support SSL without the domain name.
Note: SSL using the 4096-bit RSA keys.