For setting up odoo have a look here:

https://www.odoo.com/documentation/9.0/setup/install.html

Quick install:

1. set PostgreSQL localhost connection-settings in /var/lib/pgsql/data/pg_hba.conf from ident to trust:

# IPv4 local connections:
host    all             all             127.0.0.1/32            trust
# IPv6 local connections:
host    all             all             ::1/128                 trust

Restart PostgreSQL

2. Create an PostgreSQL user named odoo:

sudo -u postgres createuser -d -r -S -P odoo

If you set a password, it must be placed in /etc/odoo/odoo-server.conf

3. Use npm to install nodejs "less"

npm install -g less

npm install -g less-plugin-clean-css

4. Download reportlab fonts from http://www.reportlab.com/ftp/fonts/pfbfer.zip

uncompress the zip-file to /usr/lib64/python/reportlab/fonts

5. Start odoo-server:

systemctl start odoo.service

6. Enter the odoo site:

http://your-server:8069

