How To Install Odoo on Ubuntu 20.04 LTS

Install Odoo on Ubuntu 20.04

In this tutorial, we will show you how to install Odoo on Ubuntu 20.04 LTS. For those of you who didn’t know, Odoo is one of the most popular and most powerful Open Source ERP business software based on the Python programming language. It is a web-based fully-featured application and comes with Open Source CRM, Point of Sales, Human Resource Management, Point of Sales, Billing and Accounting, Event Management, Email Marketing, Order Tracking etc. This application is helpful to maintain ERP in any business.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step installation Odoo open-source ERP on a Ubuntu 20.04 (Focal Fossa) LTS. You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian based distribution like Linux Mint.

Install Odoo on Ubuntu 20.04 LTS Focal Fossa

Step 1. First, make sure that all your system packages are up-to-date by running these following apt commands in the terminal.

Step 2. Installing PostgreSQL.

Install the PostgreSQL package using the apt command:

By default, the PostgreSQL service is started automatically after the installation. You can confirm if it is running with the command:

PostgreSQL access graphical interface, you need to install pgAdmin:

Next, create a PostgreSQL database user for Odoo:

Then, you might need to execute the following command to assign superuser rights to a new user:

Finally, the user is created as well as assigned superuser rights. Also, one more command you have to execute and exit it:

Step 3. Installing Odoo on Ubuntu 20.04.

First, Download Odoo 13 source code from Github:

Once downloaded, You have to go to that directory. Here you see the requirement.txt file. Python dependencies listed in the requirements.txt file. You have to execute the below command to install depended on Python modules using pip3:

Step 4. Install wkhtmltopdf.

Now we download and install the Wkhtmltopdf package:

Step 5. Start Odoo 13 Server.

You have to give the following access right to execute:

Finally, you have to execute the odoo-bin command to start Odoo 13 in your local machine:

Step 6. Accessing Odoo.

Odoo will be available on HTTP port 8069 by default. Open your favourite browser and navigate to http://your-domain.com:8069 or http://server-ip-address:8069.

Install Odoo on Ubuntu 20.04

Congratulations! You have successfully installed Odoo. Thanks for using this tutorial for installing Odoo 14 Open Source ERP on Ubuntu 20.04 Focal Fossa system. For additional help or useful information, we recommend you to check the official Odoo website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!