I've tested he installation procedures many times by following Odoo document and google search referral, but there is no successful experience.
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.
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.
Finally, go back to "apt-get install" follow some steps in the Odoo installation document with some changes. It works eventually!
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.
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.
Finally, go back to "apt-get install" 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
沒有留言:
張貼留言