13 C
Texas
angeloma
Senior Writer and partner

How to install Odoo on Debian 10?

Nowadays, companies need more and more technology to manage their processes. In fact, it is practically unthinkable a company that has an ERP capability to help with the administration of it. In this sense, several open source alternatives to proprietary solutions are emerging. The advantage of this is the license and the possibility of a community support. And it can be easily installed on a Linux server. Among them is Odoo. This popular software is vital for many companies in the world. So, in this post, you will learn how to install Odoo on Debian 10 Buster.

Odoo is an integrated ERP (Enterprise Resources Planning) application. That is to say, it works by installable modules that make the application have many functionalities. It currently has two versions, one of them is the community that is free and completely open source and another version Enterprise for professional corporate support. This post focuses on the community version.

On the other hand, the application is very powerful, with it you will manage the company contacs. In addition to orders, invoicing, warehouse management and projects.

So let’s get to work.

Install Odoo on Debian 10

Install PostgreSQL on Debian 10

- Advertisement -

While MySQL / MariaDB are great relational database management systems, Odoo prefers to use PostgreSQL. So, the first step is to install it. So open a terminal session or connect to your server:

:~$ sudo apt install postgresql
1.- Install postgreSQL on Debian 10
1.- Install postgreSQL on Debian 10

As you can see, I have used sudo that has recently been compromised but we already have a solution. If you do not have sudo enabled you can do it with our post.

How to enable sudo on Debian 10?

Then, after entering the password, the installation process will begin.

Also, it is convenient to check the status of PostgreSQL to verify that everything is going well:

~$ sudo systemctl status postgresql
2.- PostgreSQL is properly running
2.- PostgreSQL is properly running

As you can see, everything is fine.

Install Odoo on Debian 10

Odoo offers a dedicated repository for quick and easy installation. But before adding the repository, you must install the package gpg.

:~$ sudo apt install gpg

Then, if we can add the GPG key to the repository. This ensures that the packages are signed and secure.

:~$ wget -O - https://nightly.odoo.com/odoo.key | sudo apt-key add -
3.- Add the GPG key for the odoo repository
3.- Add the GPG key for the odoo repository

After that, add the repository. In this step, we need to be the root user.

:~$ su
:~# echo "deb http://nightly.odoo.com/13.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
:~# exit

Now, we can install Odoo by running the following commands:

:~$ sudo apt update
:~$ sudo apt install odoo
4.- Install Odoo on Debian 10
4.- Install Odoo on Debian 10

Also, you can check the status of the Odoo service to verify that it is correctly installed and running.

:~$ sudo systemctl status odoo
5.- Odoo status on Debian 10
5.- Odoo status on Debian 10

However, before we can use the web interface, we must configure our adminsitrative key. This is achieved by editing a line in a configuration file:

:~$ sudo nano /etc/odoo/odoo.conf

Just replace the value in the admin_passwd field with your password.

6.- set the admin password
6.- set the admin password

Finally, restart the service:

:~$ sudo systemctl restart odoo

Now, we can use the web interface to complete the installation.

The Odoo web interface

Now we can access the Odoo web interface. To do this, open your web browser and go to http://your-server:8069. You will see the following:

7.- Installing Odoo on Debian 10 using the web interface
7.- Installing Odoo on Debian 10 using the web interface

In this interface, all fields must be filled in with your corresponding data. Then, press the Create Database button.

Then, you can install some modules. Choose what you want.

8.- The Odoo apps
8.- The Odoo apps

Finally, you will see the main screen.

9.- Odoo on Debian 10
9.- Odoo on Debian 10

So, enjoy it.

Conclusion

Odoo is a leading application in your area. It is perhaps the most used in many medium sized companies. And it is perhaps very necessary in any company that we are. On the other hand, its installation in Debian 10 is simple and it will depend on us to make the most of it.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article