1、更新系统源数据
apt-get update
2、安装python pip
apt-get install python-pip
3、安装odoo需要的第三方python库
passlib==1.6.5 Werkzeug==0.11.11
4、安装
apt-get install libxml2-dev libxslt1-dev python-dev-get install libxml2-dev libxslt1-dev python-dev
5、 接着安装 lxml==3.5.0 decorator==4.0.10 python-dateutil==2.5.3 pytz==2016.7 Babel==2.3.4
安装lxml如果报错,可以尝试安装apt-get install libpq-dev
6、安装postgresql
- Create the file /etc/apt/sources.list.d/pgdg.list, and add a line for the repositorydeb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
- Import the repository signing key, and update the package listswget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF

本文详细介绍了如何在Ubuntu 14.04上源码安装Odoo 10,包括更新系统源、安装Python和pip、配置PostgreSQL数据库、安装必要的Python库,以及解决遇到的问题如添加文泉驿字体、 wkhtmltopdf的安装等。最后,创建数据库用户并启动Odoo,完成安装过程。
最低0.47元/天 解锁文章
1747

被折叠的 条评论
为什么被折叠?



