There are many ways to install Odoo, or not install it at all, depending on the intended use case. These texts attempt to explain most of the input options.
Step 1: Update the system & Install the Extra Package (EPEL)in your system
Step 2: Install Python 3.5 packages and Odoo dependencies
Execute the following command to install Python 3.5 –
Step 3 : Create Odoo user
Step 4 : Install and configure PostgreSQL
Initialize your database, start & enable postgresql services:
Next, you need to create a PostgreSQL user who uses the same name as the user you are creating already for Odoo:
Step 5 : Install Wkhtmltopdf
Step 6 : Install and configure Odoo 12
Clone the Odoo from the GitHub repository, enable and create a new virtual environment :
activate the virtual environment:
Run the following command to install all the required Python modules you can deactivate the virtual environment:
Create a new directory and change the owner to odoo with the following commands Next step is to create a configuration file for the Odoo:
paste the following lines in the configuration file:
Please do not forget to change the master_password with a new strong password.
Step 7: Create A Systemd Unit File
In the next step, we will create a service unit file so we can run Odoo as a service.
Open your text editor :
and paste the configuration below:
You need to reload the daemon so he can take the new unit that we created in systemd.
Step 8: Test The Installation
Now when you have Odoo running on your server it is time to open your favorite browser and navigate to http://<your_server_IP_address>:8069
No responses yet