How to Install Odoo 13 in Ubuntu ?
Odoo 13 Installation In Ubuntu
●After much anticipation, Odoo released the version 13.
●Odoo 13 roadmap gets you the glimpse of features in the
upcoming Odoo version.
●To install Odoo 13 on Ubuntu 19.04, follow the given steps.
Install Odoo 13
●STEP 1 : To Update apt source list.
●sudo apt-get update
●STEP 2 : Create odoo user and also group.
●sudo adduser -system -home=/opt/odoo -group odoo
●STEP3 : For the smooth running of odoo, Install
PostgreSQL database server and install it on the same
host as Odoo is running.
●sudo apt-get install -y postgresql
●After the installation start use the below commands to start
the postgresql database server.
●sudo service postgresql start
●Then create a database user for odoo
●sudo su – postgres
●createuser --createdb --username postgres --no-createrole –no-
superuser --pwprompt odoo
●exit
●STEP 4 : Install python and depended python packages on
the server.
●sudo apt-get install -y python3-pip
●Install Python Dependencies for Odoo 13.
●To switch in to the Odoo user and then install the
dependency packages.
pip3
install Babel decorator docutils ebaysdk feedparser gevent greenlet
html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib
Pillow psutil psycogreen psycopg2 pydot pyparsing PyPDF2 pyserial
python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab
requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt
xlrd polib
●STEP 5 : Odoo web dependencies
●sudo apt-get install -y npm
●sudo ln -s /usr/bin/nodejs /usr/bin/node
●sudo npm install -g less less-plugin-clean-css
●sudo apt-get install -y node-less
●sudo python3 -m pip install libsass
●STEP 6 : Install odoo 13 alfa version from
nightly.odoo.com
●Switch to odoo user
●sudo su - odoo -s /bin/bash
●Download Odoo 13 latest zip file and finally unzip the file.
wget
https://nightly.odoo.com/master/nightly/src/odoo_13.0alpha1.late
st.zip
unzip odoo_13.0alpha1.latest.zip
●And then rename the directory name to Odoo. Also copy
Odoo file in the setup directory to main Odoo directory and
rename it to Odoo-bin.
●STEP 7 : Create a odoo configuration file.
● sudo vim /etc/odoo-server.conf
●Copy the below content in configuration file.
[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = False
logfile = /var/log/odoo/odoo-server.log
addons_path = /opt/odoo/odoo/addons
●Change permission and also the user ownership of
configuration file as bellow
●sudo chown odoo: /etc/odoo-server.conf
●sudo chmod 640 /etc/odoo-server.conf
●STEP 8 : Create odoo log file
●sudo mkdir /var/log/odoo
●sudo chown odoo:root /var/log/odoo
●STEP 9 : You can copy and paste the script to this file.
●sudo vim /etc/init.d/odoo-server
●Then change ownership and permission
●sudo chmod 755 /etc/init.d/odoo-server
●sudo chown root: /etc/init.d/odoo-server
●STEP 10 : Test the server running as service
●To start the odoo server
● sudo /etc/init.d/odoo-server start
●Stop the odoo server
●sudo /etc/init.d/odoo-server stop
●View the odoo log files
●tailf /var/log/odoo/odoo-server.log
●Now, if you want to add this service to begin on boot up run
the bellow command
●update-rc.d odoo-server defaults
●STEP 11 : Run odoo locally
●sudo su - odoo -s /bin/bash
●python3 /opt/odoo/odoo-bin
●Then go to web browser to access odoo12
●http://localhost:8069 or http://0.0.0.0:8069
●STEP 12 : WKHTMLTOPDF
●To print PDF reports need to install right version of
wkhtmltopdf.
●sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-
1~bionic_amd64.deb
●sudo apt install ./wkhtmltox_0.12.1.3-1~bionic_amd64.deb
●sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
●sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
Thankyou
Email: info@technaureus.com | Skype: technaureus | Tel: +917902290343 |www.technaureus.com

How to install Odoo 13 in Ubuntu ?

  • 1.
    How to InstallOdoo 13 in Ubuntu ?
  • 2.
    Odoo 13 InstallationIn Ubuntu ●After much anticipation, Odoo released the version 13. ●Odoo 13 roadmap gets you the glimpse of features in the upcoming Odoo version. ●To install Odoo 13 on Ubuntu 19.04, follow the given steps.
  • 3.
    Install Odoo 13 ●STEP1 : To Update apt source list. ●sudo apt-get update ●STEP 2 : Create odoo user and also group. ●sudo adduser -system -home=/opt/odoo -group odoo
  • 4.
    ●STEP3 : Forthe smooth running of odoo, Install PostgreSQL database server and install it on the same host as Odoo is running. ●sudo apt-get install -y postgresql ●After the installation start use the below commands to start the postgresql database server. ●sudo service postgresql start
  • 5.
    ●Then create adatabase user for odoo ●sudo su – postgres ●createuser --createdb --username postgres --no-createrole –no- superuser --pwprompt odoo ●exit
  • 6.
    ●STEP 4 :Install python and depended python packages on the server. ●sudo apt-get install -y python3-pip ●Install Python Dependencies for Odoo 13. ●To switch in to the Odoo user and then install the dependency packages.
  • 7.
    pip3 install Babel decoratordocutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen psycopg2 pydot pyparsing PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd polib
  • 8.
    ●STEP 5 :Odoo web dependencies ●sudo apt-get install -y npm ●sudo ln -s /usr/bin/nodejs /usr/bin/node ●sudo npm install -g less less-plugin-clean-css ●sudo apt-get install -y node-less ●sudo python3 -m pip install libsass
  • 9.
    ●STEP 6 :Install odoo 13 alfa version from nightly.odoo.com ●Switch to odoo user ●sudo su - odoo -s /bin/bash
  • 10.
    ●Download Odoo 13latest zip file and finally unzip the file. wget https://nightly.odoo.com/master/nightly/src/odoo_13.0alpha1.late st.zip unzip odoo_13.0alpha1.latest.zip ●And then rename the directory name to Odoo. Also copy Odoo file in the setup directory to main Odoo directory and rename it to Odoo-bin.
  • 11.
    ●STEP 7 :Create a odoo configuration file. ● sudo vim /etc/odoo-server.conf ●Copy the below content in configuration file.
  • 12.
    [options] ; This isthe password that allows database operations: ; admin_passwd = admin db_host = False db_port = False db_user = odoo db_password = False logfile = /var/log/odoo/odoo-server.log addons_path = /opt/odoo/odoo/addons
  • 13.
    ●Change permission andalso the user ownership of configuration file as bellow ●sudo chown odoo: /etc/odoo-server.conf ●sudo chmod 640 /etc/odoo-server.conf
  • 14.
    ●STEP 8 :Create odoo log file ●sudo mkdir /var/log/odoo ●sudo chown odoo:root /var/log/odoo ●STEP 9 : You can copy and paste the script to this file. ●sudo vim /etc/init.d/odoo-server
  • 15.
    ●Then change ownershipand permission ●sudo chmod 755 /etc/init.d/odoo-server ●sudo chown root: /etc/init.d/odoo-server ●STEP 10 : Test the server running as service ●To start the odoo server ● sudo /etc/init.d/odoo-server start
  • 16.
    ●Stop the odooserver ●sudo /etc/init.d/odoo-server stop ●View the odoo log files ●tailf /var/log/odoo/odoo-server.log ●Now, if you want to add this service to begin on boot up run the bellow command ●update-rc.d odoo-server defaults
  • 17.
    ●STEP 11 :Run odoo locally ●sudo su - odoo -s /bin/bash ●python3 /opt/odoo/odoo-bin ●Then go to web browser to access odoo12 ●http://localhost:8069 or http://0.0.0.0:8069
  • 18.
    ●STEP 12 :WKHTMLTOPDF ●To print PDF reports need to install right version of wkhtmltopdf. ●sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3- 1~bionic_amd64.deb ●sudo apt install ./wkhtmltox_0.12.1.3-1~bionic_amd64.deb ●sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage ●sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
  • 19.
    Thankyou Email: [email protected] |Skype: technaureus | Tel: +917902290343 |www.technaureus.com