Saturday, July 20, 2019

install odoo 9 on ubuntu

ODOO

install

 

In order to install odoo 9 on ubuntu you have to open your terminal and write the following commands one by one 
  •  sudo apt-get update  // in order to update your system
  •  sudo apt-get upgrade // in order to upgrade your system's packages 
  • sudo apt-get install python-dateutil python-docutils python-feedparser 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 poppler-utils python-pip python-pyPdf python-passlib python-decorator  // in order to install all python dependencies for odoo
  • sudo apt-get install gcc python-dev mc bzr python-setuptools python-markupsafe python-reportlab-accel python-zsi python-yaml python-argparse python-openssl python-egenix-mxdatetime python-usb python-serial python-jinja2 python-unittest2 python-mock python-docutils lptools make python-pydot python-psutil python-paramiko poppler-utils python-pdftools antiword //in order to install all supporting packages for Odoo
  • sudo apt-get install -y npm & sudo ln -s /usr/bin/nodejs /usr/bin/node & sudo npm install -g less less-plugin-clean-css // in order to install all web dependencies for odoo
  • sudo apt-get install python-software-properties & sudo apt-get update & sudo apt-get install postgresql // in order to install postgresql
  • sudo su postgres 
  • cd 
  • createuser -s odoo
  • createuser -s your_system_name 
  • exit // by writing this 5 commands we will create two users for the database by names " odoo and your system name"
To run the server open your terminal and go to your server folder path and the write 
  • ./odoo.py  // this will run the server with the default addons , then you have to open your browser and write "localhost:8069" to the database creating window as bellow
 
installation completed successfully :)
 
Now we gonna install the GUI for the database "Pgadmin3" by writing the following command
  • sudo apt-get install pgadmin3
To login the dadabase with user odoo we can use the command
  • sudo -u odoo psql  
and if we forgot the password for this user , we can change it by the command  
  • ALTER USER odoo PASSWORD "your_new_password" 

No comments:

Post a Comment

Odoo Invoice Qr code issues

There are two main issues must of us facing with the QR code in Odoo invoice & these issues are 1/ QR code displayed as broken image w...