Tags

, ,


  • install Odoo 8
  • sudo apt-get update
  • sudo adduser –system –home=/opt/odoo –group odoo
  • sudo su – odoo -s /bin/bash
  • exit
  • sudo apt-get install postgresql
  • sudo su – postgres
  • createuser –createdb –username postgres –no-createrole –no-superuser –pwprompt odoo
  • Enter password for new role: ********
  • Enter it again: ********
  • exit
  • sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi python-geoip python-decorator python-pypdf
  • sudo apt-get install python-werkzeug python-xlwt python-yaml wkhtmltopdf
  • sudo apt-get install python-pip
  • sudo pip install passlib
  • sudo apt-get install python-passlib
  • sudo apt-get install git
  • sudo pip install requests
  • sudo su – odoo -s /bin/bash
  • exit
  • wget https://nightly.odoo.com/8.0/nightly/deb/odoo_8.0.latest.tar.gz (https://nightly.odoo.com/8.0/nightly/deb/)
  • sudo tar –xvzf odoo_8.0.latest.tar.gz
  • sudo su – odoo -s /bin/bash
  • /opt/odoo/openerp-server

Update wkhtmltopdf

  • STEP 1 Download wkhtmltopdf version from wkhtmltopdf.org depend on your system arch(32 or 64 bit)
  • STEP 2 Install the package using command
    • sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
  • STEP 3 Copy wkhtmltoimage to /usr/bin location from /usr/local/bin by using below command
    • sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
  • STEP 4 Copy wkhtmltopdf to /usr/bin location from /usr/local/bin by using below command
    • sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
Advertisements