2021-05-12 14:32:11
Ubuntu下DEB方式安裝ODOO 8.0
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
相關文章