GithubHelp home page GithubHelp logo

odoo's Introduction

~# ODOO Install odoo

setup basic VPS with ubuntu

~# apt-get update && apt-get upgrade -y

Install nodejs

~# curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

~# sudo apt-get install -y nodejs

~# apt-get update && apt-get upgrade -y

~# wget -O - https://nightly.odoo.com/odoo.key | apt-key add -

~# echo "deb http://nightly.odoo.com/9.0/nightly/deb/ ./" >> /etc/apt/sources.list

~# apt-get update && apt-get upgrade -y

~# apt-get install odoo -y

config runing port 80 & 443

~# vim /etc/rc.local

add 2 line bellow at the end of rc.local

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8070

then save

Configure Apache Web Server with Odoo

~# apt-get update && apt-get upgrade -y

~# sudo apt-get install apache2 -y

After installing apache on your machine, you need to enable some modes by executing below commands.

~# sudo a2enmod proxy proxy_http

do following the tutorial http://www.surekhatech.com/blog/configure-apache-web-server-with-odoo

Enable odoo data filter

~# cd /etc/odoo/ && vim openerp-server.conf

Find replace 2 line below

dbfilter = ^%h$

list_db = False

then save

Download & Settup wkhtmltopdf

Remove existing installation if settup before & error

~# sudo apt-get remove --purge wkhtmltopdf

~# sudo apt-get autoremove --purge wkhtmltopdf -y

Download wkhtmltopdf patched with qt using below command

sudo wget -P Downloads https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb

or other sources store here:

sudo wget -P Downloads http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb

replace "trusty" with your OS name (Your VPS Name) and if 64 bit only then keep "amd64" like that, otherwise change it to "i386" and down load the deb file.

After that execute the following commands,

cd ~/Downloads

~# sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

Now, check wkhtmltopdf version with below command,

wkhtmltopdf -V

odoo's People

Contributors

w360s avatar

Watchers

James Cloos avatar Sunny Patel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.