Odoo Help


How to install OpenERP on CentOS

on 3/4/13, 9:42 PM 23,428 views

Hi there, I hope someone can offer some instructions for me. I am trying to install OpenERP on our server, which is a VPS running CentOS (5). I see the detailed instructions are for Ubuntu or Debian and should only take 5 minutes but other Linux types take over 30 minutes.

So I have been trying to go through the step by step directions. So far I have enabled Postgres, installed missing dependencies and uploaded the Linux install files to the public_html directory.

The instructions seem to tell me the next step to install is:

tar -xzf openerp-6.1-latest.tar.gz

cd openerp-6.1-*

sudo python setup.py install


I am asking for help because my only experience installing applications on the web server is .php applications where all I had to do was create a database, upload the application files, then point my web browser to the "install.php" file and the rest was pretty easy. This is foreign to me.

Please help!

Thanks, Jenn

Thank you for your reply.

The problem is, when I try to enter those commands, I get an error message:

[root@vps openerp]# su root ./openerp-server

import: unable to open X server `'. ./openerp-server: line 8: syntax error: unexpected end of file

I am not experienced with using the command line method of installation.

Would the binary build be better for me to use?

on 3/5/13, 11:16 AM

Atul Kumar jain

--Atul Kumar jain--
| 5 3 7
Indore, India
--Atul Kumar jain--


Atul Kumar jain
On 5/10/14, 8:34 AM

it's almost same as Ubuntu here you can follow these steps

Install and configure the database server, PostgreSQL

sudo apt-get install postgresql

Then configure the OpenERP user on postgres:

First change to the postgres user so we have the necessary privileges to configure the database.

sudo su - postgres

Now create a new database user. This is so OpenERP has access rights to connect to PostgreSQL and to create and drop databases. Remember what your choice of password is here; you will need it later on:

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp
Enter password for new role:
* Enter it again: *

Finally exit from the postgres user account:


Install the necessary Python libraries for the server

sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata \ python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \ python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \ python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \ python-webdav python-werkzeug python-xlwt python-yaml python-zsi

Download Openerp Server

and extract the file than run the openerp-server

Tony Gu
On 3/4/13, 11:22 PM

The instructions seem to tell me the next step to install is...

Then, what exactly the problem is?

If you want to have peace of mind, you may try these binary builds:


On 3/5/13, 1:58 PM

If you would like to do an automated installation of Openerp v7.0 on centos 6 you can use this script: http://forum.openerp.com/forum/topic36094.html

Thanks! Will this work on centos 5 too?

on 3/5/13, 4:55 PM

Sorry, didn't notice your comment. You must adjunst the epel repo to point to v5, other than that must work with out problems

on 3/7/13, 12:51 AM

Thanks, I didn't see YOUR comment either!. So I have to change the epel repo? So change this line: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm to this: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-5-8.noarch.rpm ? What am I missing?

on 3/12/13, 12:24 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/4/13, 9:42 PM
Seen: 23428 times
Last updated: 3/16/15, 8:10 AM