odoo在Ubuntu最简单最快速安装方式是deb方式,基本无需再去改数据库配置文件,全自动化了,odoo中文网推荐新手采用此方法
1 安装数据库:sudo apt-get install postgresql
2.建立数据库帐号及密码:
sudo su postgres
createuser openerp
Shall the new role be a superuser? (y/n) y
psql template1
alter role openerp with password ‘postgres’;
3.安装所有python所需要的库:
sudo apt-get install python-dateutil python-feedparser python-gdata python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi python-pyPdf python-requests python-passlib python-decorator
4.在Ubuntu的更新来源/etc/apt/sources.list中增加一行:
稳定版 8.0: deb http://nightly.odoo.com/8.0/nightly/deb/ ./ (注意空格)
最新版 9.0: deb http://nightly.openerp.com/trunk/nightly/deb/ ./
5.更新来源: sudo apt-get update
如果出现错误:GPG error: http://nightly.odoo.com ./ Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY DEF2A2198183CBB5
解决:sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys DEF2A2198183CBB5
6.升级所有套件: sudo apt-get upgrade
7.安装doo: sudo apt-get install odoo
8.安装完成之后就可以通过浏览器访问了。http://hostname:8069
以上八个步骤,即可安装ODOO成功
在Ubuntu Server 14.04 LTS版上以git方式源码安装Odoo8.0 http://www.linuxidc.com/Linux/2015-12/126177.htm
如何在CentOS 7.x中安装OpenERP(Odoo) http://www.linuxidc.com/Linux/2015-06/118497.htm
Odoo环境下Ubuntu服务器性能优化–参数调整 http://www.linuxidc.com/Linux/2016-03/129058.htm
更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2
本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-03/129059.htm