How To Install Odoo on Debian 9 Stretch

Install Odoo on Debian 9 Stretch

In this tutorial, we will show you how to install and configuration of Odoo on your Debian 9. 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 Gitlab on an Ubuntu Debian 9 (Stretch) server.

Install Odoo on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing the PostgreSQL server.

Install the Postgres package from the Debian’s default repositories:

After the installation is complete, make sure to enable the PostgreSQL server to start automatically upon server reboot with:

Step 3. Install Odoo on Debian 9 Stretch.

In the first step, add the Odoo repository to the server. To do this, run the following commands:

Next, install Odoo using the apt-get package manager:

After the installation completes, you can check the status of the Odoo service:

Then, edit Odoo’s configuration file and set the master admin password:

Uncomment the ‘admin_passwd’ line, and set a password as shown below:

Restart the Odoo instance for the changes to take effect:

Step 4. Accessing Odoo.

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

Install Odoo on Debian 9 Stretch

Congratulations! You have successfully installed Odoo. Thanks for using this tutorial for installing Odoo on Debian 9 (Stretch) 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!