Install Odoo 13 in Ubuntu 18.04 LTS
Easy steps to install Odoo in Ubuntu
Want to install Odoo in Ubuntu 18.04? this article help you to install in just few easy steps.
1. Update and Upgrade APT
Update APT package list and upgrade package to latest version.
sudo apt-get update && sudo apt-get upgrade
2. Install Prerequisite Dependencies
Install required packages to build Odoo dependencies like git, pip3 and other.
sudo apt install git python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less
3. Install PostgreSQL and pgAdmin3
Odoo use PostgreSQL database so let's install PostgreSQL.
sudo apt-get install postgresql -y
If you want GUI for PostgreSQL you can install pgAdmin3. (You can skip this)
sudo apt-get install pgadmin3
4. Configure PostgreSQL
When the installations of the required software are done, you must create a PostgreSQL user. Odoo will use this user to connect to PostgreSQL.
The default superuser for PostgreSQL is called postgres. You may need to login as this user first.
jigar@droggol:~$ sudo su postgres password: XXXXXXXXXX
Now create PostgreSQL user jigar using the following command:
postgres@droggol:/$ createuser jigar Shall the new role be a superuser? (y/n) y
Make this new user a superuser. jigar is the new user created in PostgreSQL for Odoo. This user is the owner of all the tables created by Odoo.
Now check the list of tables created in PostgreSQL using following command:
You can find the table template1, run the following command to use this table:
postgres@droggol:/$ psql template1
To apply access rights to the role jigar for the database which will be created from Odoo, use the following command:
template1=# alter role jigar with password 'postgres'; ALTER ROLE
5. Configure pgAdmin3
(Skip this step if you have not installed pgAdmin3 in previous step)
Goto File > Add Server. It open dialog to enter credentials.
Enter following details in dialog:
Username: jigar (as per above postgres config)
Password: postgres (as per above postgres config)
jigar@droggol:~$ cd /home/jigar/odoo jigar@droggol:~/odoo$ git clone https://www.github.com/odoo/odoo --depth 1 --branch 13.0 --single-branch
7. Install Require Python Packages
After download source, go to source directory. Here you see requirement.txt file which contains python packages. Use pip3 to install Python packages.
cd /13.0 sudo pip3 install -r requirements.txt
8. Start Odoo Server
9. Access Odoo
Go to your favourite web browser to access Odoo. Open URL http://localhost:8069 in browser.
- Parth Gajjar Parth Gajjar
- October 2019
6 things to check before implementing Odoo.6 things to check before implementing Odoo.
Odoo breaks the image of traditional ERP by providing out of the box modularity. Odoo's powerful customization is one of the reasons behind odoo's eno...