this howto is about installing Odoo 10, a CRM and ERP suite.
Install postgresql, babel, python and dependencies
yum install postgresql-server babel python-docutils python-ldap python-yaml libxslt-python nodejs-less pychart python-feedparser python-jinja2 python-mako python-openid python-passlib python-psycopg2 python-reportlab python-vobject python-werkzeug python-xlwt
systemctl enable --now postgresql
You may use phppgadmin or command line to create a role with password, database and rights on the database:
su - postgres
CREATE ROLE odoo WITH LOGIN password 'SECRET';
CREATE DATABASE odoo ENCODING 'UTF8' OWNER odoo;
Add network service for odoo with TCP Port 8069 on green interface:
config set fw_odoo service status enabled TCPPort 8069 access green
Download and install
rpm --import https://nightly.odoo.com/odoo.key
rpm -i odoo_10.0.latest.noarch.rpm
Edit /etc/odoo/odoo.conf and enter Odoo postgresql db user credentials:
; This is the password that allows database operations:
;admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = odoo
db_password = SECRET
addons_path = /usr/lib/python2.7/site-packages/odoo/addons
I needed to install a specific version of psutil because I had following error in /var/log/messages, but maybe just because my system is a heavy penetrated test system, thanks to @dnutan...
Normally you do not have to do this:
Sep 11 18:57:21 server odoo: ImportError: version conflict: '/usr/lib64/python2.7/site-packages/psutil/_psutil_linux.so' C extension module was built for another version of psutil (different than 2.2.1)
If you really have this kind of error just install psutil 2.2.1 via pip:
pip install psutil==2.2.1
Enabling service and login
systemctl enable odoo
systemctl start odoo
Browse to http://YOURNETHSERVER:8069
This screen is only shown, if you have no database, so odoo provides creating one.
Uncheck demo data when you want to have an empty odoo. I checked it, because it's better for evaluating.
Enter creds for the admin user and click "Create Database"...
If you don't see this screen, the login is admin/admin, thanks again to @dnutan
Welcome to paradise!
I am excitedly awaiting your feedback!