Skip to Content
Menu
This question has been flagged

Hi,

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



Avatar
Discard

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

Best Answer

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

Avatar
Discard
Author Best Answer

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


Avatar
Discard

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.

Related Posts Replies Views Activity
1
Oct 24
528
2
Dec 22
4960
0
May 22
1631
4
Aug 20
19229
0
Dec 16
2415