I created a install script for ODOO on a brand new Ubuntu 15.04 server. This script can be used for installing 9.0 and master branches of the ODOO server.

The script can be found on github:

https://github.com/aschenkels-ictstudio/odoo-install-scripts/blob/9.0/ubuntu-15-04/odoo_install.sh

You can use the script on a server with the following commands:

[pastacode lang=”bash” message=”Installation Steps” highlight=”” provider=”manual”]

sudo apt-get install wget
sudo wget https://raw.githubusercontent.com/aschenkels-ictstudio/odoo-install-scripts/c5165425761022bf70f7fac77f97a3e15f3a49c3/ubuntu-15-04/odoo_install.sh
sudo sh odoo_install.sh

[/pastacode]
Show script from Github:

[pastacode lang=”bash” user=”aschenkels-ictstudio” repos=”odoo-install-scripts” path_id=”ubuntu-15-04/odoo_install.sh” revision=”c5165425761022bf70f7fac77f97a3e15f3a49c3″ highlight=”” lines=”” provider=”github”/]

In the script there are some parameters you can set at this time:

Versions

OE_VERSION: choose the ODOO version you want to install 9.0 or master (trunk)

General OpenERP Settings

OE_USER: the user the odoo deamon uses
OE_HOME: the folder where the odoo-server resides
OE_CONFIG: the name of the config file

If you want to use the script copy the file to the server or paste the contents in a odoo_install.sh file.

Make the file executable

chmod +x odoo_install.sh

and start with

./odoo_install.sh

If you have run the script you should have a working ODOO server wich is available at: http://ipadress-server:8069

The server will auto start on reboot and you can start en stop the OpenERP server with systemctl start odoo-server or systemctl stop odoo-server or systemctl restart odoo-server.