Odoo Help


issue while installing following the instructions for packaged installers - "RPM

on 11/22/15, 6:39 AM 1,491 views


it seems the instructions (https://www.odoo.com/documentation/9.0/setup/install.html#packaged-installers) are not valid in a lot of cases:

the instructions read:

$ sudo yum install -y epel-release

$ sudo yum install -y postgresql-server

$ sudo postgresql-setup initdb

$ sudo systemctl enable postgresql

$ sudo systemctl start postgresql

$ sudo yum-config-manager --add-repo=https://nightly.odoo.com/9.0/nightly/rpm/odoo.repo

$ sudo yum install -y odoo

$ sudo systemctl enable odoo

$ sudo systemctl start odoo

On a fresh, minimal and clean Centos 6.7 install, this results in:

1. ok

2. ok

3. sudo: postgresql-setup: command not found

--> the script does not seem to come with the postgres install

find /* | grep postgresql-setup --> no results

so, what are the steps to resolve this and continue the installation?

P.S. the above instructions will get you the old progresql server (8.4)

but even following alternative instructions to install an up to date Pastgresql 9.3 or 9.4, there is no script "postgresql-setup" available

Can you give me an alternative way of installing on CentOS 5.5?

Santiago EV
on 9/22/16, 4:35 PM
Enrique Alvarado
On 11/5/16, 6:14 PM

So can anything be done to install it on cent os5.5?

On 11/24/15, 5:17 PM

Update :

apparently Odoo 9 (and 8?) is not supported on CentOS 6 anymore, so I had to restart and install a CentOS 7 server to make use of Odoo 9

The standard installation instructions work for Odoo 9 on CentOS 7

So it wont definitely install on centos-release-5-5.el5.centos? Im trying to install it on a web server and Im not sure how much say I have in upgrading the server to centos v7. I get these errors:

[root@mediatemple server odoo]# sudo postgresql-setup initdb

sudo: postgresql-setup: command not found

[root@mediatemple odoo]# find /* | grep postgresql-setup

find: WARNING: Hard link count is wrong for /sys/devices/virtual/misc: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.

Santiago EV
on 9/20/16, 6:00 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: 11/22/15, 6:39 AM
Seen: 1491 times
Last updated: 11/5/16, 6:14 PM