網路城邦
上一篇 回創作列表 下一篇   字體:
夏肇毅知識運算網-在Ububtu Linux 上安裝 Odoo 免費OpenERP軟體的體驗
2016/05/03 00:09:06瀏覽693|回應0|推薦2

[夏肇毅知識運算網 Mark Hsia's Knowledge Computing Web]

在Ububtu Linux 上安裝 Odoo 免費OpenERP軟體的體驗

Experience of Installing Odoo 8.0 on the Ubuntu Platform

根據Odoo文件及搜索結果來安裝Odoo結果都沒成功.
    I've tested he installation procedures many times by following Odoo document and google search referral, but there is no successful experience.
第一個問題是Ubuntu的版本.
    The first problem I met was Ubuntu version. I've installed Ubuntu 16.04. But its default Python is version 3. Odoo needs version 2.7. Many blogs have their own scripts to cope with this issue. But I decided to go back to Ubuntu 14.04 to make my life easier.
我試過下載deb檔來安裝也不成.
    Then I downloaded the .Deb files from Odoo and install by double clicking the Deb file and clicking the Install button. But still,it was not working.
最後只有回到用"apt-get install"的方法.
    Finally, go back to "apt-get install" and follow some steps in the Odoo installation document with some changes. It works eventually!
 
安裝步驟為:
The steps are:
 
Install postgresql:
sudo apt-get install postgresql-9.3
Install pgadmin3:
sudo apt-get install pgadmin3

Install Odoo on Ububtu 14.04.4
sudo wget -O - https://nightly.odoo.com/odoo.key | sudo  apt-key add -
cd /etc/apt
sudo vi sources.list

Insert "deb http://nightly.odoo.com/8.0/nightly/deb/ ./" into the file sudo apt-get update 
sudo apt-get install odoo

參考資料:
 
In this document, there is a section teaching  us how to install in the Deb style Linux:

Deb

To install Odoo 8.0 on Debian-based distribution, execute the following commands as root:
# wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
# echo "deb http://nightly.odoo.com/8.0/nightly/deb/ ./" >> /etc/apt/sources.list
# apt-get update && apt-get install odoo
This will automatically install all dependencies, install Odoo itself as a daemon and automatically start it.
Danger
to print PDF reports, you must install wkhtmltopdf yourself: the version of wkhtmltopdf available in debian repositories does not support headers and footers so it can not be installed automatically. The recommended version is 0.12.1 and is available on the wkhtmltopdf download page, in the archive section. As there is no official release for Debian Jessie, you can find ours on http://nightly.odoo.com/extra/.

Configuration

The configuration file can be found at /etc/odoo/openerp-server.conf
When the configuration file is edited, Odoo must be restarted using service:
$ sudo service odoo restart
Restarting odoo: ok
( 知識學習隨堂筆記 )
回應 推薦文章 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=markhsia&aid=55427775