How to setup Odoo 9 (OpenERP) on a CentOS 7 VPS

Odoo (or OpenERP) is one of the best ERP software available. Here is a detailed article on how to setup Odoo 9 on a CentOS 7 VPS server.

1. Log in to your server as root

2. Update your server's software and kernel by running
yum update

3. Install the EPEL repository and wkhtmltopdf
yum install epel-release
yum install fontconfig libpng libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi

4. Install PostgreSQL database and enable it to start on booting
yum install postgresql-server
postgresql-setup initdb
systemctl start postgresql
systemctl enable postgresql

5. Setup a yum repository for Odoo
nano /etc/yum.repos.d/odoo.repo

and add the following:

[odoo-nightly]
name=Odoo Nightly repository
baseurl=http://nightly.odoo.com/9.0/nightly/rpm/
enabled=1
gpgcheck=1
gpgkey=https://nightly.odoo.com/odoo.key

6. Setup Odoo 9 and enable it to start on booting
yum install odoo
systemctl start odoo
systemctl enable odoo

7. Set an Admin Password
nano /etc/odoo/openerp-server.conf

and uncomment the following:

admin_passwd = YourStrongPassword

8. Restart Odoo. You can then accessing Odoo from http://your.ip.address:8069

systemctl restart odoo

Was this answer helpful?

Also Read

What is the path to Perl?

One of the first things you must do when configuring a script, is set the correct path to the...

Varnish No-Cache Directive

The Varnish NoCache feature allows you to view your website without having to deal with...

What does File Permissions "chmod" mean?

To chmod a file means to set certain permissions. By default, all files uploaded to the server...

What is the path to SendMail?

Some programs such as the ones, which send email will need to know where the Sendmail program...

How am I supposed to install a script?

Usually 99% of the scripts that we have tried before have complete instructions and a special...