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
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
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
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.
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
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
:~$ 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 -
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
Also, you can check the status of the Odoo service to verify that it is correctly installed and running.
:~$ sudo systemctl status odoo
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.
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:
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.
Finally, you will see the main screen.
So, enjoy it.
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.