更新新系统
先更新系统1
yum update
然后,添加EPEL库1
yum install -y epel-release
安装postgresql
1 | yum install postgresql-server fontconfig libpng libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi wkhtmltopdf yum-utils |
安装完成,初始化数据库1
postgresql-setup initdb
开启系统服务1
systemctl enable postgresql
1 | systemctl start postgresql |
安装odoo10
yum update && yum install odoo
安装完成后,开启服务1
2systemctl enable odoo
systemctl start odoo