简体   繁体   中英

Odoo11 install on CentoOS7

I just bought new VPS server installed CentOS7 and tried to install Odoo11 on my server.

So I researched some articles and tried following.

// Install requirement packages
[root@odoo ~]# yum update -y 
[root@odoo ~]# yum install epel-release -y 
[root@odoo ~]# yum install fontconfig libpng libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi wkhtmltopdf yum-utils -y 

// Install PostgreSQL
[root@odoo ~]# yum install postgresql-server -y 
[root@odoo ~]# postgresql-setup initdb
[root@odoo ~]# systemctl enable postgresql
[root@odoo ~]# systemctl start postgresql

// Install Odoo
[root@odoo ~]# yum-config-manager --add-repo=https://nightly.odoo.com/11.0/nightly/rpm/odoo.repo 
[root@odoo ~]# yum install odoo -y 

After run last command, I get error.

...

Error: Package: odoo-11.0.post20171110-1.noarch (odoo-nightly) Requires: python3-psutil Error: Package: odoo-11.0.post20171110-1.noarch (odoo-nightly) Requires: python3-requests Error: Package: odoo-11.0.post20171110-1.noarch (odoo-nightly) Requires: python3-greenlet

...

How can I fix this?

This was due to python3 dependency missing problem though I installed python3 successfully on CentOS.

Finally, I restarted server and it solved the problem. I'm not sure exactly why restart was required.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM