字體:小 中 大 | |
|
|
2016/05/03 00:09:06瀏覽700|回應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:
DebTo 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/.
ConfigurationThe 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 |
|
( 知識學習|隨堂筆記 ) |