from the install instructions
https://www.odoo.com/documentation/8...p/install.html
for RPM systems ( cent and RHEL )
i take it you installed " epel " repository
Quote:
Warning
with RHEL-based distributions (RHEL, CenOS, Scientific Linux), EPEL must be added to the distributions repositories for all of Odoos dependencies to be available. For CenOS:
$ sudo yum install -y epel-release
For other RHEL-based distribution, see the EPEL documentation.
$ 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/8.0/nightly/rpm/odoo.repo
$ sudo yum install -y odoo
$ sudo systemctl enable odoo
$ sudo systemctl start odoo
|
cent dose NOT use "sudo" by default
if you want to use it and understand the security risks you can set it up
but it is NOT set up by default
by default cent uses "su" and "su -"
for installing the EPEL repo see the cent wiki
http://wiki.centos.org/AdditionalResources/Repositories
as to python
Warning:
you CAN NOT !!! replace python with a different version !!!
the default installed version HAS TO BE THE SYSTEM DEFAULT !!!
it can not be changed
you will break yum and the package manager if you do
BUT
you can install 2.7 side by side with 2.6
then point odoo to THAT (2.7) version of python
python 2.7 is in SCL
http://wiki.centos.org/AdditionalRes...positories/SCL
Code:
su -
yum install centos-release-SCL
then search for "python"
Code:
su -
yum search python
---- then install it
yum install python27
you will need to point odoo to this one